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