gn build: Merge r372706
[llvm-complete.git] / utils / gn / secondary / llvm / lib / Target / WebAssembly / Disassembler / BUILD.gn
blob44e586dbdd79f4fbf1e0e3909a17ba2a7a7c80aa
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"
11   deps = [
12     ":WebAssemblyGenDisassemblerTables",
13     "//llvm/lib/MC",
14     "//llvm/lib/MC/MCDisassembler",
15     "//llvm/lib/Support",
16     "//llvm/lib/Target/WebAssembly/MCTargetDesc",
17     "//llvm/lib/Target/WebAssembly/TargetInfo",
18   ]
19   include_dirs = [ ".." ]
20   sources = [
21     "WebAssemblyDisassembler.cpp",
22   ]