| 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", |
| ], |
| }, |
| }, |
| } |