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