You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
859 B
33 lines
859 B
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,
|
|
},
|
|
},
|
|
}
|