Merge "Support 64-bit arm_on_x86_64"
This commit is contained in:
@@ -1587,10 +1587,12 @@ func hasArmAbi(arch Arch) bool {
|
|||||||
return PrefixInList(arch.Abi, "arm")
|
return PrefixInList(arch.Abi, "arm")
|
||||||
}
|
}
|
||||||
|
|
||||||
// hasArmArch returns true if targets has at least non-native_bridge arm Android arch
|
// hasArmAndroidArch returns true if targets has at least
|
||||||
|
// one arm Android arch (possibly native bridged)
|
||||||
func hasArmAndroidArch(targets []Target) bool {
|
func hasArmAndroidArch(targets []Target) bool {
|
||||||
for _, target := range targets {
|
for _, target := range targets {
|
||||||
if target.Os == Android && target.Arch.ArchType == Arm {
|
if target.Os == Android &&
|
||||||
|
(target.Arch.ArchType == Arm || target.Arch.ArchType == Arm64) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user