xref: /aosp_15_r20/external/llvm/lib/IR/Android.bp (revision 9880d6810fe72a1726cb53787c6711e909410d58)
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: "libLLVMCore",
12*9880d681SAndroid Build Coastguard Worker    defaults: [
13*9880d681SAndroid Build Coastguard Worker        "llvm-lib-defaults",
14*9880d681SAndroid Build Coastguard Worker    ],
15*9880d681SAndroid Build Coastguard Worker    generated_headers: ["llvm-gen-core"],
16*9880d681SAndroid Build Coastguard Worker    srcs: ["*.cpp"],
17*9880d681SAndroid Build Coastguard Worker}
18*9880d681SAndroid Build Coastguard Worker
19*9880d681SAndroid Build Coastguard Workerllvm_tblgen {
20*9880d681SAndroid Build Coastguard Worker    name: "llvm-gen-core",
21*9880d681SAndroid Build Coastguard Worker    in: "AttributesCompatFunc.td",
22*9880d681SAndroid Build Coastguard Worker    outs: ["AttributesCompatFunc.inc"],
23*9880d681SAndroid Build Coastguard Worker}
24