Required deps don't track native bridge architectures
Bug: 342945184 Test: build aosp_cf_x86_64_only_phone and check if out/target/product/vsoc_x86_64_only/system/lib64/arm64 directory doesn't exist. Change-Id: I1638610ac686b369b23390768af1564b3cf38d9b
This commit is contained in:
parent
d02bd377da
commit
8db4415616
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