1 cc_library_static { 2 name: "libLLVMMipsCodeGen", 3 defaults: [ 4 "llvm-lib-defaults", 5 "llvm-mips-defaults", 6 ], 7 srcs: ["*.cpp"], 8 } 9 10 cc_defaults { 11 name: "llvm-mips-defaults", 12 generated_headers: ["llvm-gen-mips"], 13 static_libs: ["llvm-mips-headers"], 14 } 15 16 cc_library_static { 17 name: "llvm-mips-headers", 18 vendor_available: true, 19 host_supported: true, 20 target: { 21 windows: { 22 enabled: true, 23 }, 24 }, 25 export_include_dirs: ["."], 26 } 27 28 llvm_tblgen { 29 name: "llvm-gen-mips", 30 in: "Mips.td", 31 outs: [ 32 "MipsGenRegisterInfo.inc", 33 "MipsGenInstrInfo.inc", 34 "MipsGenCodeEmitter.inc", 35 "MipsGenMCCodeEmitter.inc", 36 "MipsGenMCPseudoLowering.inc", 37 "MipsGenAsmWriter.inc", 38 "MipsGenAsmMatcher.inc", 39 "MipsGenDAGISel.inc", 40 "MipsGenFastISel.inc", 41 "MipsGenCallingConv.inc", 42 "MipsGenSubtargetInfo.inc", 43 "MipsGenDisassemblerTables.inc", 44 ], 45 } 46 47 subdirs = ["*"] 48