gn build: Merge r372706
[llvm-complete.git] / utils / gn / secondary / llvm / lib / Target / PowerPC / AsmParser / BUILD.gn
blob28c8945ca0fe1699de35185b47060e9240c42612
1 import("//llvm/utils/TableGen/tablegen.gni")
3 tablegen("PPCGenAsmMatcher") {
4   visibility = [ ":AsmParser" ]
5   args = [ "-gen-asm-matcher" ]
6   td_file = "../PPC.td"
9 static_library("AsmParser") {
10   output_name = "LLVMPowerPCAsmParser"
11   deps = [
12     ":PPCGenAsmMatcher",
13     "//llvm/lib/MC",
14     "//llvm/lib/MC/MCParser",
15     "//llvm/lib/Support",
16     "//llvm/lib/Target/PowerPC/MCTargetDesc",
17     "//llvm/lib/Target/PowerPC/TargetInfo",
18   ]
19   include_dirs = [ ".." ]
20   sources = [
21     "PPCAsmParser.cpp",
22   ]