1 import("//llvm/utils/TableGen/tablegen.gni")
3 tablegen("ARMGenAsmWriter") {
4 visibility = [ ":MCTargetDesc" ]
5 args = [ "-gen-asm-writer" ]
9 tablegen("ARMGenInstrInfo") {
10 visibility = [ ":tablegen" ]
11 args = [ "-gen-instr-info" ]
15 tablegen("ARMGenMCCodeEmitter") {
16 visibility = [ ":MCTargetDesc" ]
17 args = [ "-gen-emitter" ]
21 tablegen("ARMGenRegisterInfo") {
22 visibility = [ ":tablegen" ]
23 args = [ "-gen-register-info" ]
27 tablegen("ARMGenSubtargetInfo") {
28 visibility = [ ":tablegen" ]
29 args = [ "-gen-subtarget" ]
33 # This should contain tablegen targets generating .inc files included
34 # by other targets. .inc files only used by .cpp files in this directory
35 # should be in deps on the static_library instead.
43 ":ARMGenRegisterInfo",
44 ":ARMGenSubtargetInfo",
48 static_library("MCTargetDesc") {
49 output_name = "LLVMARMDesc"
55 ":ARMGenMCCodeEmitter",
57 "//llvm/lib/MC/MCDisassembler",
59 "//llvm/lib/Target/ARM/TargetInfo",
60 "//llvm/lib/Target/ARM/Utils",
62 include_dirs = [ ".." ]
65 "ARMELFObjectWriter.cpp",
69 "ARMMCCodeEmitter.cpp",
71 "ARMMCTargetDesc.cpp",
72 "ARMMachORelocationInfo.cpp",
73 "ARMMachObjectWriter.cpp",
74 "ARMTargetStreamer.cpp",
76 "ARMWinCOFFObjectWriter.cpp",
77 "ARMWinCOFFStreamer.cpp",