[lit] Improve lit.Run class
[llvm-complete.git] / utils / gn / secondary / llvm / lib / Target / RISCV / AsmParser / BUILD.gn
blobef28b23aca3bb832a02c80610168c26f602cbe4e
1 import("//llvm/utils/TableGen/tablegen.gni")
3 tablegen("RISCVGenAsmMatcher") {
4   visibility = [ ":AsmParser" ]
5   args = [ "-gen-asm-matcher" ]
6   td_file = "../RISCV.td"
9 static_library("AsmParser") {
10   output_name = "LLVMRISCVAsmParser"
11   deps = [
12     ":RISCVGenAsmMatcher",
13     "//llvm/lib/MC",
14     "//llvm/lib/MC/MCParser",
15     "//llvm/lib/Support",
16     "//llvm/lib/Target/RISCV:RISCVGenCompressInstEmitter",
17     "//llvm/lib/Target/RISCV/MCTargetDesc",
18     "//llvm/lib/Target/RISCV/Utils",
19   ]
20   include_dirs = [ ".." ]
21   sources = [
22     "RISCVAsmParser.cpp",
23   ]