blob: 9905be39d1a8da31cd7033e646eac2f0a59da3f3 [file] [log] [blame]
// This file is generated by cargo2android.py --config cargo2android.json.
// Do not modify this file as changes will be overridden on upgrade.
package {
default_applicable_licenses: ["external_rust_crates_structopt_license"],
}
// Added automatically by a large-scale-change that took the approach of
// 'apply every license found to every target'. While this makes sure we respect
// every license restriction, it may not be entirely correct.
//
// e.g. GPL in an MIT project might only apply to the contrib/ directory.
//
// Please consider splitting the single license below into multiple licenses,
// taking care not to lose any license_kind information, and overriding the
// default license using the 'licenses: [...]' property on targets as needed.
//
// For unused files, consider creating a 'fileGroup' with "//visibility:private"
// to attach the license to, and including a comment whether the files may be
// used in the current project.
//
// large-scale-change included anything that looked like it might be a license
// text as a license_text. e.g. LICENSE, NOTICE, COPYING etc.
//
// Please consider removing redundant or irrelevant files from 'license_text:'.
// See: http://go/android-license-faq
license {
name: "external_rust_crates_structopt_license",
visibility: [":__subpackages__"],
license_kinds: [
"SPDX-license-identifier-Apache-2.0",
"SPDX-license-identifier-MIT",
],
license_text: [
"LICENSE-APACHE",
"LICENSE-MIT",
],
}
rust_library {
name: "libstructopt",
host_supported: true,
crate_name: "structopt",
srcs: ["src/lib.rs"],
edition: "2018",
features: ["default"],
rustlibs: [
"libclap",
"liblazy_static",
],
proc_macros: ["libstructopt_derive"],
apex_available: [
"//apex_available:platform",
"com.android.virt",
],
}
// 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"
// heck-0.3.2
// lazy_static-1.4.0
// libc-0.2.94
// proc-macro-error-1.0.4 "default,syn,syn-error"
// proc-macro-error-attr-1.0.4
// proc-macro2-1.0.26 "default,proc-macro"
// quote-1.0.9 "default,proc-macro"
// strsim-0.8.0
// structopt-derive-0.4.14
// syn-1.0.71 "clone-impls,default,derive,full,parsing,printing,proc-macro,quote"
// textwrap-0.11.0
// unicode-segmentation-1.7.1
// unicode-width-0.1.8 "default"
// unicode-xid-0.2.1 "default"
// vec_map-0.8.2
// version_check-0.9.3