llvm-for-llvmta/utils/gn/secondary/llvm/lib/ToolDrivers/llvm-lib/BUILD.gn

20 lines
406 B
Plaintext

import("//llvm/utils/TableGen/tablegen.gni")
tablegen("Options") {
visibility = [ ":LibDriver" ]
args = [ "-gen-opt-parser-defs" ]
}
static_library("LibDriver") {
output_name = "LLVMLibDriver"
deps = [
":Options",
"//llvm/lib/BinaryFormat",
"//llvm/lib/Bitcode/Reader",
"//llvm/lib/Object",
"//llvm/lib/Option",
"//llvm/lib/Support",
]
sources = [ "LibDriver.cpp" ]
}