[lit] Improve lit.Run class
[llvm-complete.git] / utils / gn / secondary / llvm / lib / Target / BPF / Disassembler / BUILD.gn
blob1ee3bc70ba75a8abad5cff4a048bd99793642ec7
1 import("//llvm/utils/TableGen/tablegen.gni")
3 tablegen("BPFGenDisassemblerTables") {
4   visibility = [ ":Disassembler" ]
5   args = [ "-gen-disassembler" ]
6   td_file = "../BPF.td"
9 static_library("Disassembler") {
10   output_name = "LLVMBPFDisassembler"
11   deps = [
12     ":BPFGenDisassemblerTables",
13     "//llvm/lib/MC",
14     "//llvm/lib/MC/MCDisassembler",
15     "//llvm/lib/Support",
16     "//llvm/lib/Target/BPF/MCTargetDesc",
17   ]
18   include_dirs = [ ".." ]
19   sources = [
20     "BPFDisassembler.cpp",
21   ]