BUILD.gn
312 Bytes
import("//llvm/utils/unittest/unittest.gni")
unittest("libclangTests") {
configs += [ "//llvm/utils/gn/build:clang_code" ]
deps = [
"//clang/tools/libclang",
]
sources = [
"LibclangTest.cpp",
]
if (host_os == "mac") {
ldflags = [ "-Wl,-rpath," + rebase_path("$root_out_dir/lib") ]
}
}