1 import("//llvm/triples.gni")
2 import("//llvm/utils/gn/build/toolchain/compiler.gni")
7 if (current_os == "android") {
9 "--target=$llvm_current_triple",
10 "--sysroot=$android_ndk_path/toolchains/llvm/prebuilt/linux-x86_64/sysroot",
11 "-B$android_ndk_path/toolchains/llvm/prebuilt/linux-x86_64",
13 target_ldflags += [ "-static-libstdc++" ]
16 if (current_cpu == "x86") {
17 target_flags = [ "-m32" ]