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

20 lines
389 B
Plaintext
Raw Permalink Normal View History

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