• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1package {
2    // See: http://go/android-license-faq
3    // A large-scale-change added 'default_applicable_licenses' to import
4    // all of the 'license_kinds' from "external_clang_license"
5    // to get the below license kinds:
6    //   SPDX-license-identifier-MIT
7    //   SPDX-license-identifier-NCSA
8    default_applicable_licenses: ["external_clang_license"],
9}
10
11cc_binary_host {
12    name: "clang-tblgen",
13    defaults: ["llvm-defaults"],
14    srcs: ["*.cpp"],
15
16    static_libs: [
17        "libLLVMTableGen",
18        "libLLVMSupport",
19    ],
20
21    cflags: [
22        "-Wno-implicit-fallthrough",
23        // NeonEmitter.cpp has several -Wimplicit-fallthrough.
24    ],
25    tidy_checks: [
26        "-google-runtime-member-string-references",
27    ],
28    target: {
29        windows: {
30            host_ldlibs: [
31                "-limagehlp",
32                "-lpsapi",
33                "-lversion",
34            ],
35        },
36    },
37}
38