[lit] Improve lit.Run class
[llvm-complete.git] / utils / gn / secondary / llvm / lib / LTO / BUILD.gn
blobf24270f834d50d2df5393ee3ac5cf98534474748
1 static_library("LTO") {
2   output_name = "LLVMLTO"
3   deps = [
4     "//llvm/include/llvm/Config:config",
5     "//llvm/lib/Analysis",
6     "//llvm/lib/Bitcode/Reader",
7     "//llvm/lib/Bitcode/Writer",
8     "//llvm/lib/CodeGen",
9     "//llvm/lib/IR",
10     "//llvm/lib/Linker",
11     "//llvm/lib/MC",
12     "//llvm/lib/Object",
13     "//llvm/lib/Passes",
14     "//llvm/lib/Support",
15     "//llvm/lib/Target",
16     "//llvm/lib/Transforms/AggressiveInstCombine",
17     "//llvm/lib/Transforms/IPO",
18     "//llvm/lib/Transforms/InstCombine",
19     "//llvm/lib/Transforms/ObjCARC",
20     "//llvm/lib/Transforms/Scalar",
21     "//llvm/lib/Transforms/Utils",
22   ]
23   sources = [
24     "Caching.cpp",
25     "LTO.cpp",
26     "LTOBackend.cpp",
27     "LTOCodeGenerator.cpp",
28     "LTOModule.cpp",
29     "SummaryBasedOptimizations.cpp",
30     "ThinLTOCodeGenerator.cpp",
31     "UpdateCompilerUsed.cpp",
32   ]