Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 989d83ce authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Native bridge modules are not translated second archs"

parents 49a25cbc 628db6fa
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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
		}
	}