llvm-for-llvmta/utils/gn/secondary/lld/COFF/BUILD.gn

49 lines
1.0 KiB
Plaintext
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
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 = [
"CallGraphSort.cpp",
"Chunks.cpp",
"DLL.cpp",
"DebugTypes.cpp",
"Driver.cpp",
"DriverUtils.cpp",
"ICF.cpp",
"InputFiles.cpp",
"LLDMapFile.cpp",
"LTO.cpp",
"MapFile.cpp",
"MarkLive.cpp",
"MinGW.cpp",
"PDB.cpp",
"SymbolTable.cpp",
"Symbols.cpp",
"Writer.cpp",
]
}