1// This file is generated by cargo_embargo. 2// Do not modify this file as changes will be overridden on upgrade. 3 4package { 5 // See: http://go/android-license-faq 6 // A large-scale-change added 'default_applicable_licenses' to import 7 // all of the 'license_kinds' from "external_rust_cxx_license" 8 // to get the below license kinds: 9 // SPDX-license-identifier-Apache-2.0 10 // SPDX-license-identifier-MIT 11 default_applicable_licenses: ["external_rust_cxx_license"], 12} 13 14rust_binary_host { 15 name: "cxxbridge", 16 crate_name: "cxxbridge", 17 cargo_env_compat: true, 18 cargo_pkg_version: "1.0.93", 19 srcs: ["src/main.rs"], 20 edition: "2021", 21 rustlibs: [ 22 "libclap", 23 "libcodespan_reporting", 24 "libproc_macro2", 25 "libquote", 26 "libsyn", 27 ], 28 compile_multilib: "first", 29} 30