Skip to content
Permalink
Browse files

gn build: (manually) merge r371787

llvm-svn: 371847
  • Loading branch information...
nico committed Sep 13, 2019
1 parent 266f634 commit b6f4a7a107ee44859bdd2b09e72d64dd0726cf95
@@ -84,6 +84,7 @@ target(libclang_target_type, "libclang") {
"CXTranslationUnit.h",
"CXType.cpp",
"CXType.h",
"FatalErrorHandler.cpp",
"Index_Internal.h",
"Indexing.cpp",
]
@@ -31,7 +31,10 @@ group("unittests") {
# to failures, mostly in libclang.VirtualFileOverlay_*.
# FIXME: Also, the executable can't find libclang.dll since that's
# in a different directory.
deps += [ "libclang:libclangTests" ]
deps += [
"libclang:libclangTests",
"libclang/CrashTests:libclangCrashTests",
]
}
testonly = true
}
@@ -0,0 +1,14 @@
import("//llvm/utils/unittest/unittest.gni")

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

0 comments on commit b6f4a7a

Please sign in to comment.
You can’t perform that action at this time.