1 import("//third-party/unittest/unittest.gni")
3 unittest("libclangTests") {
4 configs += [ "//llvm/utils/gn/build:clang_code" ]
5 deps = [ "//clang/tools/libclang" ]
6 sources = [ "LibclangTest.cpp" ]
7 if (host_os == "mac") {
8 ldflags = [ "-Wl,-rpath," + rebase_path("$root_out_dir/lib") ]