1import("//llvm/utils/unittest/unittest.gni") 2 3unittest("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/objc", 11 "//clang-tools-extra/clang-tidy/readability", 12 "//clang-tools-extra/clang-tidy/utils", 13 "//clang/lib/AST", 14 "//clang/lib/ASTMatchers", 15 "//clang/lib/Basic", 16 "//clang/lib/Frontend", 17 "//clang/lib/Lex", 18 "//clang/lib/Serialization", 19 "//clang/lib/Tooling", 20 "//clang/lib/Tooling/Core", 21 "//clang/lib/Tooling/Transformer", 22 "//llvm/lib/Support", 23 ] 24 include_dirs = [ "//clang-tools-extra/clang-tidy" ] 25 sources = [ 26 "AddConstTest.cpp", 27 "ClangTidyDiagnosticConsumerTest.cpp", 28 "ClangTidyOptionsTest.cpp", 29 "GlobListTest.cpp", 30 "GoogleModuleTest.cpp", 31 "IncludeInserterTest.cpp", 32 "LLVMModuleTest.cpp", 33 "NamespaceAliaserTest.cpp", 34 "ObjCModuleTest.cpp", 35 "OptionsProviderTest.cpp", 36 "OverlappingReplacementsTest.cpp", 37 "ReadabilityModuleTest.cpp", 38 "TransformerClangTidyCheckTest.cpp", 39 "UsingInserterTest.cpp", 40 ] 41} 42