reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | import("//llvm/triples.gni") import("//llvm/utils/gn/build/toolchain/compiler.gni") target_flags = [] target_ldflags = [] if (current_os == "android") { target_flags += [ "--target=$llvm_current_triple", "--sysroot=$android_ndk_path/toolchains/llvm/prebuilt/linux-x86_64/sysroot", "-B$android_ndk_path/toolchains/llvm/prebuilt/linux-x86_64", ] target_ldflags += [ "-static-libstdc++" ] } if (current_cpu == "x86") { target_flags = [ "-m32" ] } |