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 crate_name: "bindgen_cmd", 13 srcs: ["src/lib.rs"], 14 edition: "2018", 15 features: [ 16 "clap", 17 "runtime", 18 "which", 19 "which-rustfmt", 20 ], 21 rustlibs: [ 22 "libbindgen", 23 "libclap", 24 "libenv_logger", 25 ], 26 compile_multilib: "first", 27} 28