[ORC] Add std::tuple support to SimplePackedSerialization.
[llvm-project.git] / llvm / utils / gn / secondary / clang-tools-extra / clangd / unittests / BUILD.gn
blob24bade76dc10862670cd6d0c65214e76fbaf2a33
1 import("//clang-tools-extra/clangd/quality/gen_decision_forest.gni")
2 import("//llvm/utils/unittest/unittest.gni")
4 gen_decision_forest("DecisionForestRuntimeTest") {
5   model = "decision_forest_model"
6   filename = "DecisionForestRuntimeTest"
7   cpp_class = "::ns1::ns2::test::Example"
10 unittest("ClangdTests") {
11   configs += [ "//llvm/utils/gn/build:clang_code" ]
12   deps = [
13     ":DecisionForestRuntimeTest",
14     "//clang-tools-extra/clang-tidy",
15     "//clang-tools-extra/clangd",
16     "//clang-tools-extra/clangd:features",
17     "//clang-tools-extra/clangd/refactor/tweaks",
18     "//clang/lib/AST",
19     "//clang/lib/Basic",
20     "//clang/lib/Format",
21     "//clang/lib/Frontend",
22     "//clang/lib/Index",
23     "//clang/lib/Lex",
24     "//clang/lib/Sema",
25     "//clang/lib/Serialization",
26     "//clang/lib/Tooling",
27     "//clang/lib/Tooling/Core",
28     "//clang/lib/Tooling/Inclusions",
29     "//clang/lib/Tooling/Syntax",
30     "//llvm/include/llvm/Config:llvm-config",
31     "//llvm/lib/Support",
32     "//llvm/lib/Testing/Support",
33   ]
34   include_dirs = [
35     ".",
36     "//clang-tools-extra/clangd",
38     # To pick up the generated inc files.
39     "$target_gen_dir/../../clangd/tool",
41     # To pick up the generated DecisionForestRuntimeTest.h file.
42     target_gen_dir,
43   ]
44   sources = [
45     "ASTSignalsTests.cpp",
46     "ASTTests.cpp",
47     "Annotations.cpp",
48     "BackgroundIndexTests.cpp",
49     "CallHierarchyTests.cpp",
50     "CanonicalIncludesTests.cpp",
51     "ClangdLSPServerTests.cpp",
52     "ClangdTests.cpp",
53     "CodeCompleteTests.cpp",
54     "CodeCompletionStringsTests.cpp",
55     "CollectMacrosTests.cpp",
56     "CompileCommandsTests.cpp",
57     "CompilerTests.cpp",
58     "ConfigCompileTests.cpp",
59     "ConfigProviderTests.cpp",
60     "ConfigYAMLTests.cpp",
61     "DecisionForestTests.cpp",
62     "DexTests.cpp",
63     "DiagnosticsTests.cpp",
64     "DraftStoreTests.cpp",
65     "DumpASTTests.cpp",
66     "ExpectedTypeTest.cpp",
67     "FSTests.cpp",
68     "FeatureModulesTests.cpp",
69     "FileDistanceTests.cpp",
70     "FileIndexTests.cpp",
71     "FindSymbolsTests.cpp",
72     "FindTargetTests.cpp",
73     "FormatTests.cpp",
74     "FuzzyMatchTests.cpp",
75     "GlobalCompilationDatabaseTests.cpp",
76     "HeaderSourceSwitchTests.cpp",
77     "HeadersTests.cpp",
78     "HoverTests.cpp",
79     "IncludeCleanerTests.cpp",
80     "IndexActionTests.cpp",
81     "IndexTests.cpp",
82     "InlayHintTests.cpp",
83     "JSONTransportTests.cpp",
84     "LSPBinderTests.cpp",
85     "LSPClient.cpp",
86     "LoggerTests.cpp",
87     "ModulesTests.cpp",
88     "ParsedASTTests.cpp",
89     "PathMappingTests.cpp",
90     "PreambleTests.cpp",
91     "PrintASTTests.cpp",
92     "ProjectAwareIndexTests.cpp",
93     "QualityTests.cpp",
94     "RIFFTests.cpp",
95     "RenameTests.cpp",
96     "SelectionTests.cpp",
97     "SemanticHighlightingTests.cpp",
98     "SemanticSelectionTests.cpp",
99     "SerializationTests.cpp",
100     "SourceCodeTests.cpp",
101     "SymbolCollectorTests.cpp",
102     "SymbolInfoTests.cpp",
103     "SyncAPI.cpp",
104     "TUSchedulerTests.cpp",
105     "TestFS.cpp",
106     "TestIndex.cpp",
107     "TestTU.cpp",
108     "TestWorkspace.cpp",
109     "TidyProviderTests.cpp",
110     "TypeHierarchyTests.cpp",
111     "URITests.cpp",
112     "XRefsTests.cpp",
113     "support/CancellationTests.cpp",
114     "support/ContextTests.cpp",
115     "support/FunctionTests.cpp",
116     "support/MarkupTests.cpp",
117     "support/MemoryTreeTests.cpp",
118     "support/PathTests.cpp",
119     "support/TestTracer.cpp",
120     "support/ThreadingTests.cpp",
121     "support/TraceTests.cpp",
122     "tweaks/AddUsingTests.cpp",
123     "tweaks/AnnotateHighlightingsTests.cpp",
124     "tweaks/DefineInlineTests.cpp",
125     "tweaks/DefineOutlineTests.cpp",
126     "tweaks/DumpASTTests.cpp",
127     "tweaks/DumpRecordLayoutTests.cpp",
128     "tweaks/DumpSymbolTests.cpp",
129     "tweaks/ExpandAutoTypeTests.cpp",
130     "tweaks/ExpandMacroTests.cpp",
131     "tweaks/ExtractFunctionTests.cpp",
132     "tweaks/ExtractVariableTests.cpp",
133     "tweaks/ObjCLocalizeStringLiteralTests.cpp",
134     "tweaks/PopulateSwitchTests.cpp",
135     "tweaks/RawStringLiteralTests.cpp",
136     "tweaks/RemoveUsingNamespaceTests.cpp",
137     "tweaks/ShowSelectionTreeTests.cpp",
138     "tweaks/SwapIfBranchesTests.cpp",
139     "tweaks/TweakTesting.cpp",
140     "tweaks/TweakTests.cpp",
141   ]