1 import("//llvm/utils/TableGen/tablegen.gni")
3 tablegen("WebAssemblyGenDisassemblerTables") {
4 visibility = [ ":Disassembler" ]
5 args = [ "-gen-disassembler" ]
6 td_file = "../WebAssembly.td"
9 static_library("Disassembler") {
10 output_name = "LLVMWebAssemblyDisassembler"
12 ":WebAssemblyGenDisassemblerTables",
14 "//llvm/lib/MC/MCDisassembler",
16 "//llvm/lib/Target/WebAssembly/MCTargetDesc",
17 "//llvm/lib/Target/WebAssembly/TargetInfo",
19 include_dirs = [ ".." ]
21 "WebAssemblyDisassembler.cpp",