llvm/llvm/utils/gn/secondary/llvm/tools/llvm-gsymutil/BUILD.gn

import("//llvm/utils/TableGen/tablegen.gni")
import("//llvm/utils/gn/build/driver_executable.gni")

tablegen("Opts") {
  visibility = [ ":llvm-gsymutil" ]
  args = [ "-gen-opt-parser-defs" ]
}

driver_executable("llvm-gsymutil") {
  deps = [
    ":Opts",
    "//llvm/lib/DebugInfo/DWARF",
    "//llvm/lib/DebugInfo/GSYM",
    "//llvm/lib/Object",
    "//llvm/lib/Option",
    "//llvm/lib/Support",
    "//llvm/lib/Target",
    "//llvm/lib/Target:TargetsToBuild",
    "//llvm/lib/TargetParser",
  ]
  sources = [ "llvm-gsymutil.cpp" ]
}