Merge "Required deps don't track native bridge architectures" into main
This commit is contained in:
commit
a03e16f1b9
1 changed files with 6 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue