[gn] add ClangIncludeCleanerTests (#213073)
This commit is contained in:
parent
308cb96d70
commit
bd427e721e
2 changed files with 33 additions and 0 deletions
|
|
@ -0,0 +1,32 @@
|
|||
import("//third-party/unittest/unittest.gni")
|
||||
|
||||
unittest("ClangIncludeCleanerTests") {
|
||||
configs += [ "//llvm/utils/gn/build:clang_code" ]
|
||||
deps = [
|
||||
"//clang-tools-extra/include-cleaner/lib",
|
||||
"//clang/lib/AST",
|
||||
"//clang/lib/Basic",
|
||||
"//clang/lib/Format",
|
||||
"//clang/lib/Frontend",
|
||||
"//clang/lib/Lex",
|
||||
"//clang/lib/Serialization",
|
||||
"//clang/lib/Testing",
|
||||
"//clang/lib/Tooling/Inclusions/Stdlib",
|
||||
"//llvm/lib/Support",
|
||||
"//llvm/lib/Testing/Annotations",
|
||||
"//llvm/lib/Testing/Support",
|
||||
]
|
||||
include_dirs = [
|
||||
"../lib",
|
||||
"../include",
|
||||
]
|
||||
sources = [
|
||||
"AnalysisTest.cpp",
|
||||
"FindHeadersTest.cpp",
|
||||
"IncludeSpellerTest.cpp",
|
||||
"LocateSymbolTest.cpp",
|
||||
"RecordTest.cpp",
|
||||
"TypesTest.cpp",
|
||||
"WalkASTTest.cpp",
|
||||
]
|
||||
}
|
||||
|
|
@ -10,6 +10,7 @@ group("unittests") {
|
|||
"clang-move:ClangMoveTests",
|
||||
"clang-query:ClangQueryTests",
|
||||
"clang-tidy:ClangTidyTests",
|
||||
"//clang-tools-extra/include-cleaner/unittests:ClangIncludeCleanerTests",
|
||||
]
|
||||
testonly = true
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue