aboutsummaryrefslogtreecommitdiff
path: root/android/bindgen_cmd/Android.bp
blob: 758007bafa79e0d94f2225c90824d95f50f51656 (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
package {
    // See: http://go/android-license-faq
    // A large-scale-change added 'default_applicable_licenses' to import
    // all of the 'license_kinds' from "external_rust_crates_bindgen_license"
    // to get the below license kinds:
    //   SPDX-license-identifier-Apache-2.0
    default_applicable_licenses: ["external_rust_crates_bindgen_license"],
}

rust_library_host {
    name: "libbindgen_cmd",
    crate_name: "bindgen_cmd",
    srcs: ["src/lib.rs"],
    edition: "2018",
    features: [
        "clap",
        "runtime",
        "which",
        "which-rustfmt",
    ],
    rustlibs: [
        "libbindgen",
        "libclap",
        "libenv_logger",
    ],
    compile_multilib: "first",
}