forked from OSchip/llvm-project
Revert "[gn build] Port 03f43b3aca36"
This reverts commit45b6364e8d
,03f43b3aca
was reverted inaf39151f3c
.
This commit is contained in:
parent
42bb5cc502
commit
c886e2be1e
|
@ -1,36 +0,0 @@
|
|||
import("//llvm/utils/TableGen/tablegen.gni")
|
||||
|
||||
tablegen("Options") {
|
||||
visibility = [ ":MachO2" ]
|
||||
args = [ "-gen-opt-parser-defs" ]
|
||||
}
|
||||
|
||||
static_library("MachO2") {
|
||||
output_name = "lldMachO2"
|
||||
configs += [ "//llvm/utils/gn/build:lld_code" ]
|
||||
deps = [
|
||||
":Options",
|
||||
"//lld/Common",
|
||||
"//llvm/lib/BinaryFormat",
|
||||
"//llvm/lib/DebugInfo/DWARF",
|
||||
"//llvm/lib/IR",
|
||||
"//llvm/lib/LTO",
|
||||
"//llvm/lib/MC",
|
||||
"//llvm/lib/Object",
|
||||
"//llvm/lib/Option",
|
||||
"//llvm/lib/Support",
|
||||
"//llvm/lib/Target:TargetsToBuild",
|
||||
]
|
||||
include_dirs = [ "." ]
|
||||
sources = [
|
||||
"Arch/X86_64.cpp",
|
||||
"Driver.cpp",
|
||||
"InputFiles.cpp",
|
||||
"InputSection.cpp",
|
||||
"OutputSegment.cpp",
|
||||
"SymbolTable.cpp",
|
||||
"Symbols.cpp",
|
||||
"Target.cpp",
|
||||
"Writer.cpp",
|
||||
]
|
||||
}
|
|
@ -27,7 +27,6 @@ executable("lld") {
|
|||
deps = [
|
||||
"//lld/COFF",
|
||||
"//lld/ELF",
|
||||
"//lld/MachO:MachO2",
|
||||
"//lld/MinGW",
|
||||
"//lld/lib/Driver",
|
||||
"//lld/wasm",
|
||||
|
|
Loading…
Reference in New Issue