blob: 1c4022026471b585a9479fd17c3bd46ae9987314 [file] [log] [blame]
// This file is generated by cargo2android.py --run --dependencies --add_workspace --host-first-multilib --no-pkg-vers.
// Do not modify this file as changes will be overridden on upgrade.
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_cxx_license"
// to get the below license kinds:
// SPDX-license-identifier-Apache-2.0
// SPDX-license-identifier-MIT
default_applicable_licenses: ["external_rust_cxx_license"],
}
rust_binary_host {
name: "cxxbridge",
crate_name: "cxxbridge",
cargo_env_compat: true,
srcs: ["src/main.rs"],
edition: "2018",
rustlibs: [
"libclap",
"libcodespan_reporting",
"libproc_macro2",
"libquote",
"libsyn",
],
compile_multilib: "first",
}