Merge "Native bridge modules are not translated second archs" am: 989d83ce1d

am: 1d7bb4fb21

Change-Id: Ibd70ff04a1016b0569be623da1e2e83961c1f71a
This commit is contained in:
dimitry 2019-05-22 21:19:09 -07:00 committed by android-build-merger
commit 962029a8c6

View file

@ -1505,10 +1505,10 @@ func hasArmAbi(arch Arch) bool {
return false
}
// hasArmArch returns true if targets has at least arm Android arch
// hasArmArch returns true if targets has at least non-native_bridge arm Android arch
func hasArmAndroidArch(targets []Target) bool {
for _, target := range targets {
if target.Os == Android && target.Arch.ArchType == Arm {
if target.Os == Android && target.Arch.ArchType == Arm && target.NativeBridge == NativeBridgeDisabled {
return true
}
}