gn build: Merge r372706
[llvm-complete.git] / utils / gn / secondary / llvm / lib / Target / PowerPC / Disassembler / BUILD.gn
blob3b5febf9d8e6c011084ac93599475234bb56a6df
1 import("//llvm/utils/TableGen/tablegen.gni")
3 tablegen("PPCGenDisassemblerTables") {
4   visibility = [ ":Disassembler" ]
5   args = [ "-gen-disassembler" ]
6   td_file = "../PPC.td"
9 static_library("Disassembler") {
10   output_name = "LLVMPowerPCDisassembler"
11   deps = [
12     ":PPCGenDisassemblerTables",
13     "//llvm/lib/MC/MCDisassembler",
14     "//llvm/lib/Support",
15     "//llvm/lib/Target/PowerPC/MCTargetDesc",
16     "//llvm/lib/Target/PowerPC/TargetInfo",
17   ]
18   include_dirs = [ ".." ]
19   sources = [
20     "PPCDisassembler.cpp",
21   ]