BUILD.gn
1018 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
import("//llvm/utils/TableGen/tablegen.gni")
tablegen("Options") {
visibility = [ ":COFF" ]
args = [ "-gen-opt-parser-defs" ]
}
static_library("COFF") {
output_name = "lldCOFF"
configs += [ "//llvm/utils/gn/build:lld_code" ]
deps = [
":Options",
"//lld/Common",
"//llvm/lib/BinaryFormat",
"//llvm/lib/DebugInfo/CodeView",
"//llvm/lib/DebugInfo/MSF",
"//llvm/lib/DebugInfo/PDB",
"//llvm/lib/DebugInfo/Symbolize",
"//llvm/lib/IR",
"//llvm/lib/LTO",
"//llvm/lib/MC",
"//llvm/lib/Object",
"//llvm/lib/Option",
"//llvm/lib/Support",
"//llvm/lib/Target:TargetsToBuild",
"//llvm/lib/ToolDrivers/llvm-lib:LibDriver",
"//llvm/lib/WindowsManifest",
]
sources = [
"Chunks.cpp",
"DLL.cpp",
"DebugTypes.cpp",
"Driver.cpp",
"DriverUtils.cpp",
"ICF.cpp",
"InputFiles.cpp",
"LTO.cpp",
"MapFile.cpp",
"MarkLive.cpp",
"MinGW.cpp",
"PDB.cpp",
"SymbolTable.cpp",
"Symbols.cpp",
"Writer.cpp",
]
}