aboutsummaryrefslogtreecommitdiff
path: root/utils/TableGen/Android.bp
blob: c42a7a01114dab157f75e299c3323d9df2dd2637 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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",
            ],
        },
    },
}