1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00

gn build: Merge r361148

llvm-svn: 361191
This commit is contained in:
Nico Weber 2019-05-20 19:33:32 +00:00
parent 3e0605be83
commit e8e4bbe863
3 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,13 @@
static_library("Syntax") {
output_name = "clangToolingSyntax"
configs += [ "//llvm/utils/gn/build:clang_code" ]
deps = [
"//clang/lib/Basic",
"//clang/lib/Frontend",
"//clang/lib/Lex",
"//llvm/lib/Support",
]
sources = [
"Tokens.cpp",
]
}

View File

@ -17,6 +17,7 @@ group("unittests") {
"Sema:SemaTests",
"Serialization:SerializationTests",
"Tooling:ToolingTests",
"Tooling/Syntax:TokensTest",
]
if (clang_enable_static_analyzer) {
deps += [

View File

@ -0,0 +1,20 @@
import("//llvm/utils/unittest/unittest.gni")
unittest("TokensTest") {
configs += [ "//llvm/utils/gn/build:clang_code" ]
deps = [
"//clang/lib/AST",
"//clang/lib/Basic",
"//clang/lib/Frontend",
"//clang/lib/Lex",
"//clang/lib/Serialization",
"//clang/lib/Tooling",
"//clang/lib/Tooling/Syntax",
"//llvm/lib/Support",
"//llvm/lib/Target:TargetsToBuild",
"//llvm/lib/Testing/Support",
]
sources = [
"TokensTest.cpp",
]
}