14 lines
348 B
Plaintext
14 lines
348 B
Plaintext
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"
|
|
}
|