| 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", |
| host_cross_supported: false, |
| crate_name: "bindgen_cmd", |
| srcs: ["src/lib.rs"], |
| edition: "2018", |
| features: [ |
| "clap", |
| "runtime", |
| "which", |
| "which-rustfmt", |
| ], |
| rustlibs: [ |
| "libbindgen", |
| "libbindgen_cli", |
| "libclap", |
| "libenv_logger", |
| ], |
| compile_multilib: "first", |
| } |