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

gn build: Merge r355777

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

View File

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

View File

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

View File

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

View File

@ -12,7 +12,6 @@ unittest("BasicTests") {
"DiagnosticTest.cpp", "DiagnosticTest.cpp",
"FileManagerTest.cpp", "FileManagerTest.cpp",
"FixedPointTest.cpp", "FixedPointTest.cpp",
"MemoryBufferCacheTest.cpp",
"SourceManagerTest.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",
]
}