Merge "Avoid direct access to Native_bridge_supported property" am: 5ef58a302f
am: 9771209aee
am: 517e3e9673
am: 98a2dd76d5
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1826226 Change-Id: I13fab59e9e1d5b94a0524d54efd47c7299a7b4d0
This commit is contained in:
@@ -631,8 +631,7 @@ func archMutator(bpctx blueprint.BottomUpMutatorContext) {
|
||||
image := base.commonProperties.ImageVariation
|
||||
// Filter NativeBridge targets unless they are explicitly supported.
|
||||
// Skip creating native bridge variants for non-core modules.
|
||||
if os == Android &&
|
||||
!(Bool(base.commonProperties.Native_bridge_supported) && image == CoreVariation) {
|
||||
if os == Android && !(base.IsNativeBridgeSupported() && image == CoreVariation) {
|
||||
|
||||
var targets []Target
|
||||
for _, t := range osTargets {
|
||||
|
Reference in New Issue
Block a user