Merge "Disable ResourceProcessorBusyBox in kythe builds" into main am: 72ae33f6fa
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3207856 Change-Id: I1df1b4f8b20aaff909a4838a7fd3c6d1d5cbd764 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -166,7 +166,11 @@ func propagateRROEnforcementMutator(ctx android.TopDownMutatorContext) {
|
||||
func (a *aapt) useResourceProcessorBusyBox(ctx android.BaseModuleContext) bool {
|
||||
return BoolDefault(a.aaptProperties.Use_resource_processor, ctx.Config().UseResourceProcessorByDefault()) &&
|
||||
// TODO(b/331641946): remove this when ResourceProcessorBusyBox supports generating shared libraries.
|
||||
!slices.Contains(a.aaptProperties.Aaptflags, "--shared-lib")
|
||||
!slices.Contains(a.aaptProperties.Aaptflags, "--shared-lib") &&
|
||||
// Use the legacy resource processor in kythe builds.
|
||||
// The legacy resource processor creates an R.srcjar, which kythe can use for generating crossrefs.
|
||||
// TODO(b/354854007): Re-enable BusyBox in kythe builds
|
||||
!ctx.Config().EmitXrefRules()
|
||||
}
|
||||
|
||||
func (a *aapt) filterProduct() string {
|
||||
|
Reference in New Issue
Block a user