Merge "Enable non final ids for non BusyBox builds" into main

This commit is contained in:
Rico Wind 2024-04-23 04:03:24 +00:00 committed by Gerrit Code Review
commit 8a2427cad2

View file

@ -418,6 +418,9 @@ func (a *aapt) buildActions(ctx android.ModuleContext, opts aaptBuildActionOptio
if a.isLibrary {
linkFlags = append(linkFlags, "--static-lib")
}
if opts.forceNonFinalResourceIDs {
linkFlags = append(linkFlags, "--non-final-ids")
}
linkFlags = append(linkFlags, "--no-static-lib-packages")
if a.isLibrary && a.useResourceProcessorBusyBox(ctx) {