Merge "Don't check ABIs in SecondArchIsTranslated"
This commit is contained in:
@@ -948,6 +948,8 @@ func findOverrideValue(overrides []string, name string, errorMsg string) (newVal
|
||||
return "", false
|
||||
}
|
||||
|
||||
// SecondArchIsTranslated returns true if the primary device arch is X86 or X86_64 and the device also has an arch
|
||||
// that is Arm or Arm64.
|
||||
func (c *config) SecondArchIsTranslated() bool {
|
||||
deviceTargets := c.Targets[Android]
|
||||
if len(deviceTargets) < 2 {
|
||||
@@ -956,8 +958,7 @@ func (c *config) SecondArchIsTranslated() bool {
|
||||
|
||||
arch := deviceTargets[0].Arch
|
||||
|
||||
return (arch.ArchType == X86 || arch.ArchType == X86_64) &&
|
||||
(hasArmAbi(arch) || hasArmAndroidArch(deviceTargets))
|
||||
return (arch.ArchType == X86 || arch.ArchType == X86_64) && hasArmAndroidArch(deviceTargets)
|
||||
}
|
||||
|
||||
func (c *config) IntegerOverflowDisabledForPath(path string) bool {
|
||||
|
Reference in New Issue
Block a user