You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
60 lines
1.6 KiB
60 lines
1.6 KiB
// This file is generated by cargo2android.py --run --dependencies --add_workspace --host-first-multilib.
|
|
|
|
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",
|
|
srcs: ["src/main.rs"],
|
|
edition: "2018",
|
|
rustlibs: [
|
|
"libclap",
|
|
"libcodespan_reporting",
|
|
"libcxxbridge_cmd",
|
|
"libproc_macro2",
|
|
"libquote",
|
|
"libsyn",
|
|
],
|
|
compile_multilib: "first",
|
|
}
|
|
|
|
rust_library_host {
|
|
name: "libcxxbridge_cmd",
|
|
crate_name: "cxxbridge_cmd",
|
|
srcs: ["src/lib.rs"],
|
|
edition: "2018",
|
|
rustlibs: [
|
|
"libclap",
|
|
"libcodespan_reporting",
|
|
"libproc_macro2",
|
|
"libquote",
|
|
"libsyn",
|
|
],
|
|
compile_multilib: "first",
|
|
}
|
|
|
|
// dependent_library ["feature_list"]
|
|
// ansi_term-0.11.0
|
|
// atty-0.2.14
|
|
// bitflags-1.2.1 "default"
|
|
// clap-2.33.3 "ansi_term,atty,color,default,strsim,suggestions,vec_map"
|
|
// codespan-reporting-0.9.5
|
|
// libc-0.2.80
|
|
// proc-macro2-1.0.24 "span-locations"
|
|
// quote-1.0.7
|
|
// strsim-0.8.0
|
|
// syn-1.0.50 "clone-impls,full,parsing,printing,quote"
|
|
// termcolor-1.1.2
|
|
// textwrap-0.11.0
|
|
// unicode-width-0.1.8 "default"
|
|
// unicode-xid-0.2.1 "default"
|
|
// vec_map-0.8.2
|