summaryrefslogtreecommitdiffstats
path: root/build/moz.configure/init.configure
diff options
context:
space:
mode:
Diffstat (limited to 'build/moz.configure/init.configure')
-rw-r--r--build/moz.configure/init.configure9
1 files changed, 4 insertions, 5 deletions
diff --git a/build/moz.configure/init.configure b/build/moz.configure/init.configure
index 87120573a0..bfb878aebb 100644
--- a/build/moz.configure/init.configure
+++ b/build/moz.configure/init.configure
@@ -739,11 +739,10 @@ def real_target(value, host, shell, project, application):
project = project[0]
if not value:
if project == "mobile/android":
- target_cpu, target_system = (
- ("aarch64", "android")
- if host.cpu == "aarch64"
- else ("arm", "androideabi")
- )
+ target_cpu, target_system = {
+ "aarch64": ("aarch64", "android"),
+ "x86_64": ("x86_64", "android"),
+ }.get(host.cpu, ("arm", "androideabi"))
return split_triplet(f"{target_cpu}-unknown-linux-{target_system}")
if project == "mobile/ios":
return split_triplet("aarch64-apple-ios")