llvm-for-llvmta/utils/gn/secondary/lld/lib/Driver/BUILD.gn

23 lines
521 B
Plaintext
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
import("//llvm/utils/TableGen/tablegen.gni")
tablegen("DarwinLdOptions") {
visibility = [ ":Driver" ]
args = [ "-gen-opt-parser-defs" ]
}
static_library("Driver") {
output_name = "lldDriver"
configs += [ "//llvm/utils/gn/build:lld_code" ]
deps = [
":DarwinLdOptions",
"//lld/Common",
"//lld/lib/Core",
"//lld/lib/ReaderWriter",
"//lld/lib/ReaderWriter/MachO",
"//lld/lib/ReaderWriter/YAML",
"//llvm/lib/Option",
"//llvm/lib/Support",
]
sources = [ "DarwinLdDriver.cpp" ]
}