Workaround dupe resource directories am: 129b9ceeb1 am: 2fc1d0f1ea

am: c8fa538ac0

Change-Id: I80de41497623113dd12cf65c41a8148a294109dc
This commit is contained in:
Anton Hansson 2019-02-08 00:14:06 -08:00 committed by android-build-merger
commit 18b30f9a4c

View file

@ -186,6 +186,8 @@ func (a *aapt) buildActions(ctx android.ModuleContext, sdkContext sdkContext, ex
linkFlags, linkDeps, resDirs, overlayDirs, rroDirs := a.aapt2Flags(ctx, sdkContext, manifestPath)
rroDirs = append(rroDirs, staticRRODirs...)
// TODO(b/124035856): stop de-duping when there are no more dupe resource dirs.
rroDirs = android.FirstUniquePaths(rroDirs)
linkFlags = append(linkFlags, libFlags...)
linkDeps = append(linkDeps, libDeps...)