Merge "Required deps don't track native bridge architectures" into main am: a03e16f1b9
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3105117 Change-Id: I72e6bb88e1a66b604a9ccc59d84a664bcbce0fea Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -1076,6 +1076,12 @@ func addRequiredDeps(ctx BottomUpMutatorContext) {
|
||||
return
|
||||
}
|
||||
|
||||
// ... also don't make a dependency between native bridge arch and non-native bridge
|
||||
// arches. b/342945184
|
||||
if ctx.Target().NativeBridge != target.NativeBridge {
|
||||
return
|
||||
}
|
||||
|
||||
variation := target.Variations()
|
||||
if ctx.OtherModuleFarDependencyVariantExists(variation, depName) {
|
||||
ctx.AddFarVariationDependencies(variation, RequiredDepTag, depName)
|
||||
|
Reference in New Issue
Block a user