gn build: Merge r355777

llvm-svn: 355857
This commit is contained in:
Nico Weber 2019-03-11 19:30:13 +00:00
parent 5a0d0065be
commit 51f84f6bae
5 changed files with 19 additions and 2 deletions

View File

@ -34,7 +34,6 @@ static_library("Basic") {
"FixedPoint.cpp",
"IdentifierTable.cpp",
"LangOptions.cpp",
"MemoryBufferCache.cpp",
"Module.cpp",
"ObjCRuntime.cpp",
"OpenMPKinds.cpp",

View File

@ -23,6 +23,7 @@ static_library("Serialization") {
"ASTWriterStmt.cpp",
"GeneratePCH.cpp",
"GlobalModuleIndex.cpp",
"InMemoryModuleCache.cpp",
"Module.cpp",
"ModuleFileExtension.cpp",
"ModuleManager.cpp",

View File

@ -15,6 +15,7 @@ group("unittests") {
"Rename:ClangRenameTests",
"Rewrite:RewriteTests",
"Sema:SemaTests",
"Serialization:SerializationTests",
"Tooling:ToolingTests",
]
if (clang_enable_static_analyzer) {

View File

@ -12,7 +12,6 @@ unittest("BasicTests") {
"DiagnosticTest.cpp",
"FileManagerTest.cpp",
"FixedPointTest.cpp",
"MemoryBufferCacheTest.cpp",
"SourceManagerTest.cpp",
]
}

View File

@ -0,0 +1,17 @@
import("//llvm/utils/unittest/unittest.gni")
unittest("SerializationTests") {
configs += [ "//llvm/utils/gn/build:clang_code" ]
deps = [
"//clang/lib/AST",
"//clang/lib/Basic",
"//clang/lib/Lex",
"//clang/lib/Sema",
"//clang/lib/Serialization",
"//llvm/lib/Bitcode/Reader",
"//llvm/lib/Support",
]
sources = [
"InMemoryModuleCacheTest.cpp",
]
}