forked from OSchip/llvm-project
parent
5a0d0065be
commit
51f84f6bae
|
@ -34,7 +34,6 @@ static_library("Basic") {
|
|||
"FixedPoint.cpp",
|
||||
"IdentifierTable.cpp",
|
||||
"LangOptions.cpp",
|
||||
"MemoryBufferCache.cpp",
|
||||
"Module.cpp",
|
||||
"ObjCRuntime.cpp",
|
||||
"OpenMPKinds.cpp",
|
||||
|
|
|
@ -23,6 +23,7 @@ static_library("Serialization") {
|
|||
"ASTWriterStmt.cpp",
|
||||
"GeneratePCH.cpp",
|
||||
"GlobalModuleIndex.cpp",
|
||||
"InMemoryModuleCache.cpp",
|
||||
"Module.cpp",
|
||||
"ModuleFileExtension.cpp",
|
||||
"ModuleManager.cpp",
|
||||
|
|
|
@ -15,6 +15,7 @@ group("unittests") {
|
|||
"Rename:ClangRenameTests",
|
||||
"Rewrite:RewriteTests",
|
||||
"Sema:SemaTests",
|
||||
"Serialization:SerializationTests",
|
||||
"Tooling:ToolingTests",
|
||||
]
|
||||
if (clang_enable_static_analyzer) {
|
||||
|
|
|
@ -12,7 +12,6 @@ unittest("BasicTests") {
|
|||
"DiagnosticTest.cpp",
|
||||
"FileManagerTest.cpp",
|
||||
"FixedPointTest.cpp",
|
||||
"MemoryBufferCacheTest.cpp",
|
||||
"SourceManagerTest.cpp",
|
||||
]
|
||||
}
|
||||
|
|
|
@ -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",
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue