| 1 |
import("//third-party/unittest/unittest.gni") |
| 2 |
|
| 3 |
unittest("ClangTidyTests") { |
| 4 |
configs += [ "//llvm/utils/gn/build:clang_code" ] |
| 5 |
deps = [ |
| 6 |
"//clang-tools-extra/clang-tidy", |
| 7 |
"//clang-tools-extra/clang-tidy/android", |
| 8 |
"//clang-tools-extra/clang-tidy/google", |
| 9 |
"//clang-tools-extra/clang-tidy/llvm", |
| 10 |
"//clang-tools-extra/clang-tidy/modernize", |
| 11 |
"//clang-tools-extra/clang-tidy/objc", |
| 12 |
"//clang-tools-extra/clang-tidy/readability", |
| 13 |
"//clang-tools-extra/clang-tidy/utils", |
| 14 |
"//clang/lib/AST", |
| 15 |
"//clang/lib/ASTMatchers", |
| 16 |
"//clang/lib/Basic", |
| 17 |
"//clang/lib/Frontend", |
| 18 |
"//clang/lib/Lex", |
| 19 |
"//clang/lib/Serialization", |
| 20 |
"//clang/lib/Testing", |
| 21 |
"//clang/lib/Tooling", |
| 22 |
"//clang/lib/Tooling/Core", |
| 23 |
"//clang/lib/Tooling/Transformer", |
| 24 |
"//llvm/lib/Support", |
| 25 |
"//llvm/lib/Testing/Annotations", |
| 26 |
"//llvm/lib/Testing/Support", |
| 27 |
] |
| 28 |
include_dirs = [ "//clang-tools-extra/clang-tidy" ] |
| 29 |
sources = [ |
| 30 |
"AddConstTest.cpp", |
| 31 |
"ClangTidyDiagnosticConsumerTest.cpp", |
| 32 |
"ClangTidyOptionsTest.cpp", |
| 33 |
"DeclRefExprUtilsTest.cpp", |
| 34 |
"GlobListTest.cpp", |
| 35 |
"GoogleModuleTest.cpp", |
| 36 |
"IncludeInserterTest.cpp", |
| 37 |
"LLVMModuleTest.cpp", |
| 38 |
"ModernizeModuleTest.cpp", |
| 39 |
"NamespaceAliaserTest.cpp", |
| 40 |
"ObjCModuleTest.cpp", |
| 41 |
"OptionsProviderTest.cpp", |
| 42 |
"OverlappingReplacementsTest.cpp", |
| 43 |
"ReadabilityModuleTest.cpp", |
| 44 |
"TransformerClangTidyCheckTest.cpp", |
| 45 |
"UsingInserterTest.cpp", |
| 46 |
] |
| 47 |
} |