[coff] Don't try to write the obj if the assembler has errors (#123007)
[llvm-project.git] / llvm / utils / gn / secondary / clang-tools-extra / unittests / clang-tidy / BUILD.gn
bloba10b1f066d6c195ada156556141d709dbe408355
1 import("//third-party/unittest/unittest.gni")
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/misc",
11     "//clang-tools-extra/clang-tidy/modernize",
12     "//clang-tools-extra/clang-tidy/objc",
13     "//clang-tools-extra/clang-tidy/readability",
14     "//clang-tools-extra/clang-tidy/utils",
15     "//clang/lib/AST",
16     "//clang/lib/ASTMatchers",
17     "//clang/lib/Basic",
18     "//clang/lib/Frontend",
19     "//clang/lib/Lex",
20     "//clang/lib/Serialization",
21     "//clang/lib/Testing",
22     "//clang/lib/Tooling",
23     "//clang/lib/Tooling/Core",
24     "//clang/lib/Tooling/Transformer",
25     "//llvm/lib/Support",
26     "//llvm/lib/Testing/Annotations",
27     "//llvm/lib/Testing/Support",
28   ]
29   include_dirs = [
30     "//clang-tools-extra/clang-tidy",
31     "//clang-tools-extra/include-cleaner/include",
32   ]
33   sources = [
34     "AddConstTest.cpp",
35     "ClangTidyDiagnosticConsumerTest.cpp",
36     "ClangTidyOptionsTest.cpp",
37     "DeclRefExprUtilsTest.cpp",
38     "GlobListTest.cpp",
39     "GoogleModuleTest.cpp",
40     "IncludeCleanerTest.cpp",
41     "IncludeInserterTest.cpp",
42     "LLVMModuleTest.cpp",
43     "ModernizeModuleTest.cpp",
44     "NamespaceAliaserTest.cpp",
45     "ObjCModuleTest.cpp",
46     "OptionsProviderTest.cpp",
47     "OverlappingReplacementsTest.cpp",
48     "ReadabilityModuleTest.cpp",
49     "TransformerClangTidyCheckTest.cpp",
50     "UsingInserterTest.cpp",
51   ]