1 import("//llvm/utils/TableGen/tablegen.gni")
3 tablegen("RISCVGenDisassemblerTables") {
4 visibility = [ ":Disassembler" ]
5 args = [ "-gen-disassembler" ]
6 td_file = "../RISCV.td"
9 static_library("Disassembler") {
10 output_name = "LLVMRISCVDisassembler"
12 ":RISCVGenDisassemblerTables",
13 "//llvm/lib/MC/MCDisassembler",
15 "//llvm/lib/Target/RISCV/MCTargetDesc",
16 "//llvm/lib/Target/RISCV/Utils",
18 include_dirs = [ ".." ]
20 "RISCVDisassembler.cpp",