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_rust_crates_bindgen_license"
5    // to get the below license kinds:
6    //   SPDX-license-identifier-Apache-2.0
7    default_applicable_licenses: ["external_rust_crates_bindgen_license"],
8}
9
10rust_library_host {
11    name: "libbindgen_cmd",
12    host_cross_supported: false,
13    crate_name: "bindgen_cmd",
14    srcs: ["src/lib.rs"],
15    edition: "2018",
16    features: [
17        "clap",
18        "runtime",
19        "which",
20        "which-rustfmt",
21    ],
22    rustlibs: [
23        "libbindgen",
24        "libbindgen_cli",
25        "libclap",
26        "libenv_logger",
27    ],
28    compile_multilib: "first",
29}
30