llvm/llvm/utils/gn/secondary/llvm/lib/Target/PowerPC/Disassembler/BUILD.gn

import("//llvm/utils/TableGen/tablegen.gni")

tablegen("PPCGenDisassemblerTables") {
  visibility = [ ":Disassembler" ]
  args = [ "-gen-disassembler" ]
  td_file = "../PPC.td"
}

static_library("Disassembler") {
  output_name = "LLVMPowerPCDisassembler"
  deps = [
    ":PPCGenDisassemblerTables",
    "//llvm/lib/MC/MCDisassembler",
    "//llvm/lib/Support",
    "//llvm/lib/Target/PowerPC/MCTargetDesc",
    "//llvm/lib/Target/PowerPC/TargetInfo",
  ]
  include_dirs = [ ".." ]
  sources = [ "PPCDisassembler.cpp" ]
}