1import("//llvm/utils/unittest/unittest.gni") 2 3unittest("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") ] 9 } 10} 11