summaryrefslogtreecommitdiffstats
path: root/llvm/utils/gn/secondary/clang/runtimes.gni
blob: 44c291e1b7b8c915045713082f4bd916b7b274b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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"
}
OpenPOWER on IntegriCloud