llvm/utils/gn/secondary/clang/runtimes.gni
raw| 1 | import("//clang/resource_dir.gni") |
| 2 | import("//llvm/triples.gni") |
| 3 | |
| 4 | declare_args() { |
| 5 | # Use target triple as the name of the runtimes directory. |
| 6 | clang_enable_per_target_runtime_dir = false |
| 7 | } |
| 8 | |
| 9 | if (clang_enable_per_target_runtime_dir) { |
| 10 | runtimes_dir = "$clang_resource_dir/lib/$llvm_target_triple" |
| 11 | } else { |
| 12 | runtimes_dir = "$root_build_dir/lib" |
| 13 | } |