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.
38 lines
926 B
38 lines
926 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_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",
|
|
],
|
|
},
|
|
},
|
|
}
|