1*9880d681SAndroid Build Coastguard Workerpackage { 2*9880d681SAndroid Build Coastguard Worker // See: http://go/android-license-faq 3*9880d681SAndroid Build Coastguard Worker // A large-scale-change added 'default_applicable_licenses' to import 4*9880d681SAndroid Build Coastguard Worker // all of the 'license_kinds' from "external_llvm_license" 5*9880d681SAndroid Build Coastguard Worker // to get the below license kinds: 6*9880d681SAndroid Build Coastguard Worker // SPDX-license-identifier-NCSA 7*9880d681SAndroid Build Coastguard Worker default_applicable_licenses: ["external_llvm_license"], 8*9880d681SAndroid Build Coastguard Worker} 9*9880d681SAndroid Build Coastguard Worker 10*9880d681SAndroid Build Coastguard Workercc_library_static { 11*9880d681SAndroid Build Coastguard Worker name: "libLLVMMipsCodeGen", 12*9880d681SAndroid Build Coastguard Worker defaults: [ 13*9880d681SAndroid Build Coastguard Worker "llvm-lib-defaults", 14*9880d681SAndroid Build Coastguard Worker "llvm-mips-defaults", 15*9880d681SAndroid Build Coastguard Worker ], 16*9880d681SAndroid Build Coastguard Worker srcs: ["*.cpp"], 17*9880d681SAndroid Build Coastguard Worker} 18*9880d681SAndroid Build Coastguard Worker 19*9880d681SAndroid Build Coastguard Workercc_defaults { 20*9880d681SAndroid Build Coastguard Worker name: "llvm-mips-defaults", 21*9880d681SAndroid Build Coastguard Worker generated_headers: ["llvm-gen-mips"], 22*9880d681SAndroid Build Coastguard Worker static_libs: ["llvm-mips-headers"], 23*9880d681SAndroid Build Coastguard Worker} 24*9880d681SAndroid Build Coastguard Worker 25*9880d681SAndroid Build Coastguard Workercc_library_static { 26*9880d681SAndroid Build Coastguard Worker name: "llvm-mips-headers", 27*9880d681SAndroid Build Coastguard Worker vendor_available: true, 28*9880d681SAndroid Build Coastguard Worker product_available: true, 29*9880d681SAndroid Build Coastguard Worker host_supported: true, 30*9880d681SAndroid Build Coastguard Worker // TODO(b/153609531): remove when no longer needed. 31*9880d681SAndroid Build Coastguard Worker native_bridge_supported: true, 32*9880d681SAndroid Build Coastguard Worker target: { 33*9880d681SAndroid Build Coastguard Worker windows: { 34*9880d681SAndroid Build Coastguard Worker enabled: true, 35*9880d681SAndroid Build Coastguard Worker }, 36*9880d681SAndroid Build Coastguard Worker }, 37*9880d681SAndroid Build Coastguard Worker export_include_dirs: ["."], 38*9880d681SAndroid Build Coastguard Worker} 39*9880d681SAndroid Build Coastguard Worker 40*9880d681SAndroid Build Coastguard Workerllvm_tblgen { 41*9880d681SAndroid Build Coastguard Worker name: "llvm-gen-mips", 42*9880d681SAndroid Build Coastguard Worker in: "Mips.td", 43*9880d681SAndroid Build Coastguard Worker outs: [ 44*9880d681SAndroid Build Coastguard Worker "MipsGenRegisterInfo.inc", 45*9880d681SAndroid Build Coastguard Worker "MipsGenInstrInfo.inc", 46*9880d681SAndroid Build Coastguard Worker "MipsGenCodeEmitter.inc", 47*9880d681SAndroid Build Coastguard Worker "MipsGenMCCodeEmitter.inc", 48*9880d681SAndroid Build Coastguard Worker "MipsGenMCPseudoLowering.inc", 49*9880d681SAndroid Build Coastguard Worker "MipsGenAsmWriter.inc", 50*9880d681SAndroid Build Coastguard Worker "MipsGenAsmMatcher.inc", 51*9880d681SAndroid Build Coastguard Worker "MipsGenDAGISel.inc", 52*9880d681SAndroid Build Coastguard Worker "MipsGenFastISel.inc", 53*9880d681SAndroid Build Coastguard Worker "MipsGenCallingConv.inc", 54*9880d681SAndroid Build Coastguard Worker "MipsGenSubtargetInfo.inc", 55*9880d681SAndroid Build Coastguard Worker "MipsGenDisassemblerTables.inc", 56*9880d681SAndroid Build Coastguard Worker ], 57*9880d681SAndroid Build Coastguard Worker} 58*9880d681SAndroid Build Coastguard Worker 59*9880d681SAndroid Build Coastguard Workersubdirs = ["*"] 60