blob: 6bfbce73a10a00e4f61cb0bb6e57c70b55f6449a [file] [log] [blame]
package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "external_clang_license"
// to get the below license kinds:
// SPDX-license-identifier-MIT
// SPDX-license-identifier-NCSA
default_applicable_licenses: ["external_clang_license"],
}
cc_binary_host {
name: "clang-tblgen",
defaults: ["llvm-defaults"],
srcs: ["*.cpp"],
static_libs: [
"libLLVMTableGen",
"libLLVMSupport",
],
cflags: [
"-Wno-implicit-fallthrough",
// NeonEmitter.cpp has several -Wimplicit-fallthrough.
],
tidy_checks: [
"-google-runtime-member-string-references",
],
target: {
windows: {
host_ldlibs: [
"-limagehlp",
"-lpsapi",
"-lversion",
],
},
},
}