llvm-for-llvmta/utils/gn/secondary/clang/runtimes.gni

14 lines
348 B
Plaintext
Raw Normal View History

2022-04-25 10:02:23 +02:00
import("//clang/resource_dir.gni")
import("//llvm/triples.gni")
declare_args() {
# Use target triple as the name of the runtimes directory.
clang_enable_per_target_runtime_dir = false
}
if (clang_enable_per_target_runtime_dir) {
runtimes_dir = "$clang_resource_dir/$llvm_target_triple/lib"
} else {
runtimes_dir = "$root_build_dir/lib"
}