package { // See: http://go/android-license-faq // A large-scale-change added 'default_applicable_licenses' to import // all of the 'license_kinds' from "external_llvm_license" // to get the below license kinds: // SPDX-license-identifier-NCSA default_applicable_licenses: ["external_llvm_license"], } cc_binary_host { name: "llvm-tblgen", defaults: ["llvm-defaults-no-generated-headers"], srcs: ["*.cpp"], static_libs: [ "libLLVMSupport", "libLLVMTableGen", ], clang_cflags: [ "-Wno-user-defined-warnings", ], target: { windows: { enabled: false, }, // llvm-defaults turns off host builds by default, turn it back on for // modules that are used to build llvm-tblgen host: { enabled: true, }, }, }