Workaround dupe resource directories am: 129b9ceeb1
am: 2fc1d0f1ea
am: c8fa538ac0
Change-Id: I80de41497623113dd12cf65c41a8148a294109dc
This commit is contained in:
@@ -186,6 +186,8 @@ func (a *aapt) buildActions(ctx android.ModuleContext, sdkContext sdkContext, ex
|
|||||||
linkFlags, linkDeps, resDirs, overlayDirs, rroDirs := a.aapt2Flags(ctx, sdkContext, manifestPath)
|
linkFlags, linkDeps, resDirs, overlayDirs, rroDirs := a.aapt2Flags(ctx, sdkContext, manifestPath)
|
||||||
|
|
||||||
rroDirs = append(rroDirs, staticRRODirs...)
|
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...)
|
linkFlags = append(linkFlags, libFlags...)
|
||||||
linkDeps = append(linkDeps, libDeps...)
|
linkDeps = append(linkDeps, libDeps...)
|
||||||
|
Reference in New Issue
Block a user