[InstCombine] Signed saturation patterns
[llvm-complete.git] / utils / gn / secondary / clang / lib / Driver / BUILD.gn
bloba70c69fc1b8cd65ed640eee5fac819f717b02df5
1 static_library("Driver") {
2   output_name = "clangDriver"
3   configs += [ "//llvm/utils/gn/build:clang_code" ]
4   include_dirs = [ "." ]
5   deps = [
6     "//clang/include/clang/Config",
8     # Driver doesn't depend on StaticAnalyzer and the other way round, but
9     # as of clang r311958 Driver does depend on StaticAnalyzer/Checkers's
10     # tablegen'd Checkers.inc.  The CMake build runs all clang tablegen steps
11     # before all lib compilations via the clang-tablegen-targets target; the
12     # GN build has this dependency instead.
13     # FIXME: Move Checkers.td somewhere else to clean up this layering mess.
14     # See the review thread of r311958 for details.
15     "//clang/include/clang/StaticAnalyzer/Checkers",
16     "//clang/lib/Basic",
17     "//llvm/include/llvm/Config:llvm-config",
18     "//llvm/lib/BinaryFormat",
19     "//llvm/lib/Option",
20     "//llvm/lib/Support",
21   ]
22   public_deps = [
23     # public_dep because public header Options.h includes generated Options.inc.
24     "//clang/include/clang/Driver:Options",
25   ]
26   if (host_os == "win") {
27     # MSVCToolChain.cpp uses version.dll.
28     libs = [ "version.lib" ]
29   }
30   sources = [
31     "Action.cpp",
32     "Compilation.cpp",
33     "DarwinSDKInfo.cpp",
34     "Distro.cpp",
35     "Driver.cpp",
36     "DriverOptions.cpp",
37     "Job.cpp",
38     "Multilib.cpp",
39     "Phases.cpp",
40     "SanitizerArgs.cpp",
41     "Tool.cpp",
42     "ToolChain.cpp",
43     "ToolChains/AMDGPU.cpp",
44     "ToolChains/AVR.cpp",
45     "ToolChains/Ananas.cpp",
46     "ToolChains/Arch/AArch64.cpp",
47     "ToolChains/Arch/ARM.cpp",
48     "ToolChains/Arch/Mips.cpp",
49     "ToolChains/Arch/PPC.cpp",
50     "ToolChains/Arch/RISCV.cpp",
51     "ToolChains/Arch/Sparc.cpp",
52     "ToolChains/Arch/SystemZ.cpp",
53     "ToolChains/Arch/X86.cpp",
54     "ToolChains/BareMetal.cpp",
55     "ToolChains/Clang.cpp",
56     "ToolChains/CloudABI.cpp",
57     "ToolChains/CommonArgs.cpp",
58     "ToolChains/Contiki.cpp",
59     "ToolChains/CrossWindows.cpp",
60     "ToolChains/Cuda.cpp",
61     "ToolChains/Darwin.cpp",
62     "ToolChains/DragonFly.cpp",
63     "ToolChains/FreeBSD.cpp",
64     "ToolChains/Fuchsia.cpp",
65     "ToolChains/Gnu.cpp",
66     "ToolChains/HIP.cpp",
67     "ToolChains/Haiku.cpp",
68     "ToolChains/Hexagon.cpp",
69     "ToolChains/Hurd.cpp",
70     "ToolChains/InterfaceStubs.cpp",
71     "ToolChains/Linux.cpp",
72     "ToolChains/MSP430.cpp",
73     "ToolChains/MSVC.cpp",
74     "ToolChains/MinGW.cpp",
75     "ToolChains/Minix.cpp",
76     "ToolChains/MipsLinux.cpp",
77     "ToolChains/Myriad.cpp",
78     "ToolChains/NaCl.cpp",
79     "ToolChains/NetBSD.cpp",
80     "ToolChains/OpenBSD.cpp",
81     "ToolChains/PPCLinux.cpp",
82     "ToolChains/PS4CPU.cpp",
83     "ToolChains/RISCVToolchain.cpp",
84     "ToolChains/Solaris.cpp",
85     "ToolChains/TCE.cpp",
86     "ToolChains/WebAssembly.cpp",
87     "ToolChains/XCore.cpp",
88     "Types.cpp",
89     "XRayArgs.cpp",
90   ]