[InstCombine] Signed saturation patterns
[llvm-complete.git] / utils / gn / secondary / clang / unittests / BUILD.gn
blobd1382919b5e293c7e5646a86d42d163423e6f8ea
1 import("//clang/lib/StaticAnalyzer/Frontend/enable.gni")
3 group("unittests") {
4   deps = [
5     "AST:ASTTests",
6     "ASTMatchers:ASTMatchersTests",
7     "ASTMatchers/Dynamic:DynamicASTMatchersTests",
8     "Basic:BasicTests",
9     "CodeGen:ClangCodeGenTests",
10     "CrossTU:CrossTUTests",
11     "Driver:ClangDriverTests",
12     "Format:FormatTests",
13     "Index:IndexTests",
14     "Lex:LexTests",
15     "Rename:ClangRenameTests",
16     "Rewrite:RewriteTests",
17     "Sema:SemaTests",
18     "Serialization:SerializationTests",
19     "Tooling:ToolingTests",
20     "Tooling/Syntax:SyntaxTests",
21   ]
22   if (clang_enable_static_analyzer) {
23     deps += [
24       "Analysis:ClangAnalysisTests",
25       "Frontend:FrontendTests",
26       "StaticAnalyzer:StaticAnalysisTests",
27     ]
28   }
29   if (host_os != "win") {
30     # FIXME: libclang unit tests are disabled on Windows due
31     # to failures, mostly in libclang.VirtualFileOverlay_*.
32     # FIXME: Also, the executable can't find libclang.dll since that's
33     # in a different directory.
34     deps += [
35       "libclang:libclangTests",
36       "libclang/CrashTests:libclangCrashTests",
37     ]
38   }
39   testonly = true