BUILD.gn 384 Bytes
import("//llvm/utils/unittest/unittest.gni")

unittest("libclangTests") {
  configs += [ "//llvm/utils/gn/build:clang_code" ]
  deps = [ "//clang/tools/libclang" ]
  sources = [
    # Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
    "LibclangTest.cpp",
  ]
  if (host_os == "mac") {
    ldflags = [ "-Wl,-rpath," + rebase_path("$root_out_dir/lib") ]
  }
}