Index: build/toolchain/android/BUILD.gn |
diff --git a/build/toolchain/android/BUILD.gn b/build/toolchain/android/BUILD.gn |
index d21ed275020bd72b8fd085aae3520bb159a905f1..3ce33630e6a8004cfa8b4de19e69e446801865ce 100644 |
--- a/build/toolchain/android/BUILD.gn |
+++ b/build/toolchain/android/BUILD.gn |
@@ -103,3 +103,27 @@ android_gcc_toolchain("mipsel") { |
tool_prefix = "$mips_android_toolchain_root/bin/mipsel-linux-android-" |
toolchain_cpu_arch = "mipsel" |
} |
+ |
+android_gcc_toolchain("x64") { |
+ android_ndk_sysroot = "$android_ndk_root/$x86_64_android_sysroot_subdir" |
+ android_ndk_lib_dir = "usr/lib" |
+ |
+ tool_prefix = "$x86_64_android_toolchain_root/bin/x86_64-linux-android-" |
+ toolchain_cpu_arch = "x86_64" |
+} |
+ |
+android_gcc_toolchain("arm64") { |
+ android_ndk_sysroot = "$android_ndk_root/$arm64_android_sysroot_subdir" |
+ android_ndk_lib_dir = "usr/lib" |
+ |
+ tool_prefix = "$arm64_android_toolchain_root/bin/arm-linux-androideabi-" |
+ toolchain_cpu_arch = "aarch64" |
+} |
+ |
+android_gcc_toolchain("mips64el") { |
+ android_ndk_sysroot = "$android_ndk_root/$mips64_android_sysroot_subdir" |
+ android_ndk_lib_dir = "usr/lib" |
+ |
+ tool_prefix = "$mips64_android_toolchain_root/bin/mipsel-linux-android-" |
+ toolchain_cpu_arch = "mipsel64el" |
+} |