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

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",
    "//llvm/lib/TargetParser",
  ]
  sources = [ "LibDriver.cpp" ]
}