Debian Codegraph @

llvm-project/llvm/utils/gn/secondary/clang/unittests/BUILD.gn

raw
1 import("//clang/lib/StaticAnalyzer/Frontend/enable.gni")
2
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 "Frontend:FrontendTests",
14 "Index:IndexTests",
15 "Interpreter:ClangReplInterpreterTests",
16 "Introspection:IntrospectionTests",
17 "Lex:LexTests",
18 "Rename:ClangRenameTests",
19 "Rewrite:RewriteTests",
20 "Sema:SemaTests",
21 "Serialization:SerializationTests",
22 "Support:ClangSupportTests",
23 "Tooling:ToolingTests",
24 "Tooling/Syntax:SyntaxTests",
25 ]
26 if (clang_enable_static_analyzer) {
27 deps += [
28 "Analysis:ClangAnalysisTests",
29 "Analysis/FlowSensitive:ClangAnalysisFlowSensitiveTests",
30 "StaticAnalyzer:StaticAnalysisTests",
31 ]
32 }
33 if (host_os != "win") {
34 deps += [
35 # FIXME: libclang unit tests are disabled on Windows due
36 # to failures, mostly in libclang.VirtualFileOverlay_*.
37 # FIXME: Also, the executable can't find libclang.dll since that's
38 # in a different directory.
39 "libclang:libclangTests",
40 "libclang/CrashTests:libclangCrashTests",
41
42 # Exceptions on Windows are not yet supported.
43 "Interpreter/ExceptionTests:ClangReplInterpreterExceptionTests",
44 ]
45 }
46 testonly = true
47 }