llvm/llvm/utils/gn/secondary/clang/unittests/libclang/BUILD.gn

import("//third-party/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") ]
  }
}