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