1// This file is generated by cargo_embargo. 2// Do not modify this file after the first "rust_*" or "genrule" module 3// because the changes will be overridden on upgrade. 4// Content before the first "rust_*" or "genrule" module is preserved. 5 6package { 7 default_applicable_licenses: ["external_rust_crates_bindgen-cli_license"], 8} 9 10// Added automatically by a large-scale-change 11// See: http://go/android-license-faq 12license { 13 name: "external_rust_crates_bindgen-cli_license", 14 visibility: [":__subpackages__"], 15 license_kinds: [ 16 "SPDX-license-identifier-BSD", 17 ], 18 license_text: [ 19 "LICENSE", 20 ], 21} 22 23rust_binary_host { 24 name: "bindgen", 25 crate_name: "bindgen", 26 cargo_env_compat: true, 27 cargo_pkg_version: "0.69.2", 28 crate_root: "main.rs", 29 edition: "2018", 30 features: [ 31 "default", 32 "logging", 33 "runtime", 34 "which-rustfmt", 35 ], 36 rustlibs: [ 37 "libbindgen", 38 "libclap", 39 "libclap_complete", 40 "libenv_logger", 41 "liblog_rust", 42 "libshlex", 43 ], 44 compile_multilib: "first", 45} 46 47rust_library_host { 48 name: "libbindgen_cli", 49 crate_name: "bindgen_cli", 50 srcs: ["options.rs"], 51 edition: "2018", 52 rustlibs: [ 53 "libbindgen", 54 "libclap", 55 "libclap_complete", 56 "libenv_logger", 57 ], 58 compile_multilib: "first", 59} 60