Workaround dupe resource directories am: 129b9ceeb1

am: 2fc1d0f1ea

Change-Id: I805e574de880122032b0fe4b1dc5148d6bf8dfb5
This commit is contained in:
Anton Hansson 2019-02-08 00:10:03 -08:00 committed by android-build-merger
commit c8fa538ac0

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...)