xref: /aosp_15_r20/external/llvm/utils/FileCheck/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_binary_host {
11*9880d681SAndroid Build Coastguard Worker    name: "FileCheck",
12*9880d681SAndroid Build Coastguard Worker    defaults: ["llvm-defaults"],
13*9880d681SAndroid Build Coastguard Worker    srcs: ["FileCheck.cpp"],
14*9880d681SAndroid Build Coastguard Worker    static_libs: ["libLLVMSupport"],
15*9880d681SAndroid Build Coastguard Worker    cflags: [
16*9880d681SAndroid Build Coastguard Worker        "-D__STDC_LIMIT_MACROS",
17*9880d681SAndroid Build Coastguard Worker        "-D__STDC_CONSTANT_MACROS",
18*9880d681SAndroid Build Coastguard Worker    ],
19*9880d681SAndroid Build Coastguard Worker}
20