Index: build/config/sysroot.gni |
diff --git a/build/config/sysroot.gni b/build/config/sysroot.gni |
index 77032f7d4fa3aec5117c77d6685336ff483223b0..a9b250c701a21b77bdb1ffa95caa5fc35394a4cf 100644 |
--- a/build/config/sysroot.gni |
+++ b/build/config/sysroot.gni |
@@ -22,6 +22,12 @@ if (current_toolchain == default_toolchain && target_sysroot != "") { |
sysroot = rebase_path("$android_ndk_root/$arm_android_sysroot_subdir") |
} else if (cpu_arch == "mipsel") { |
sysroot = rebase_path("$android_ndk_root/$mips_android_sysroot_subdir") |
+ } else if (cpu_arch == "x64") { |
+ sysroot = rebase_path("$android_ndk_root/$x86_64_android_sysroot_subdir") |
+ } else if (cpu_arch == "arm64") { |
+ sysroot = rebase_path("$android_ndk_root/$arm64_android_sysroot_subdir") |
+ } else if (cpu_arch == "mips64") { |
+ sysroot = rebase_path("$android_ndk_root/$mips64_android_sysroot_subdir") |
} else { |
sysroot = "" |
} |