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

23 lines
521 B
Plaintext

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" ]
}