[lit] Improve lit.Run class
[llvm-complete.git] / utils / gn / secondary / clang / lib / Basic / BUILD.gn
blobfccfe852f671ab0cd09777d784f69539425044b6
1 static_library("Basic") {
2   output_name = "clangBasic"
3   configs += [ "//llvm/utils/gn/build:clang_code" ]
4   public_deps = [
5     # public_dep because public header Version.h includes generated Version.inc.
6     "//clang/include/clang/Basic:AttrList",
7     "//clang/include/clang/Basic:AttrSubMatchRulesList",
8     "//clang/include/clang/Basic:DiagnosticGroups",
9     "//clang/include/clang/Basic:diags_tablegen",
10     "//clang/include/clang/Basic:version",
11   ]
12   deps = [
13     "//clang/include/clang/Basic:AttrHasAttributeImpl",
14     "//clang/include/clang/Basic:arm_fp16",
15     "//clang/include/clang/Basic:arm_neon",
16     "//clang/include/clang/Config",
17     "//llvm/include/llvm/Config:llvm-config",
18     "//llvm/lib/IR",
19     "//llvm/lib/MC",
20     "//llvm/lib/Support",
21   ]
22   include_dirs = [ "." ]
23   sources = [
24     "Attributes.cpp",
25     "Builtins.cpp",
26     "CharInfo.cpp",
27     "CodeGenOptions.cpp",
28     "Cuda.cpp",
29     "Diagnostic.cpp",
30     "DiagnosticIDs.cpp",
31     "DiagnosticOptions.cpp",
32     "FileManager.cpp",
33     "FileSystemStatCache.cpp",
34     "FixedPoint.cpp",
35     "IdentifierTable.cpp",
36     "LangOptions.cpp",
37     "LangStandards.cpp",
38     "Module.cpp",
39     "ObjCRuntime.cpp",
40     "OpenMPKinds.cpp",
41     "OperatorPrecedence.cpp",
42     "SanitizerBlacklist.cpp",
43     "SanitizerSpecialCaseList.cpp",
44     "Sanitizers.cpp",
45     "SourceLocation.cpp",
46     "SourceManager.cpp",
47     "Stack.cpp",
48     "TargetInfo.cpp",
49     "Targets.cpp",
50     "Targets/AArch64.cpp",
51     "Targets/AMDGPU.cpp",
52     "Targets/ARC.cpp",
53     "Targets/ARM.cpp",
54     "Targets/AVR.cpp",
55     "Targets/BPF.cpp",
56     "Targets/Hexagon.cpp",
57     "Targets/Lanai.cpp",
58     "Targets/Le64.cpp",
59     "Targets/MSP430.cpp",
60     "Targets/Mips.cpp",
61     "Targets/NVPTX.cpp",
62     "Targets/OSTargets.cpp",
63     "Targets/PNaCl.cpp",
64     "Targets/PPC.cpp",
65     "Targets/RISCV.cpp",
66     "Targets/SPIR.cpp",
67     "Targets/Sparc.cpp",
68     "Targets/SystemZ.cpp",
69     "Targets/TCE.cpp",
70     "Targets/WebAssembly.cpp",
71     "Targets/X86.cpp",
72     "Targets/XCore.cpp",
73     "TokenKinds.cpp",
75     # FIXME: This should be in its own target that passes -DHAVE_SVN_VERSION_INC
76     # and that also depends on a target generating SVNVersion.inc.
77     "Version.cpp",
78     "Warnings.cpp",
79     "XRayInstr.cpp",
80     "XRayLists.cpp",
81   ]