aboutsummaryrefslogtreecommitdiff
path: root/lib/FrontendTool/Android.bp
blob: 0e33bbc84ad8b74e413605aebc95cf4a24106406 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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-NCSA
    default_applicable_licenses: ["external_clang_license"],
}

cc_library_host_static {
    name: "libclangFrontendTool",
    defaults: ["clang-defaults"],
    srcs: ["*.cpp"],

    cflags: [
        "-DCLANG_ENABLE_STATIC_ANALYZER",
        "-DCLANG_ENABLE_REWRITER",
    ],
}