blob: 89661d4ad0d7d8493f8d01048bbf6732d6a0436b [file] [log] [blame]
Matthew Maurer54ad9962020-06-10 12:50:38 -07001// This file is generated by cargo2android.py --run --device --dependencies.
2
Bob Badourdb5a2d82021-02-12 16:39:20 -08003package {
4 default_applicable_licenses: ["external_rust_crates_structopt_license"],
5}
6
7// Added automatically by a large-scale-change that took the approach of
8// 'apply every license found to every target'. While this makes sure we respect
9// every license restriction, it may not be entirely correct.
10//
11// e.g. GPL in an MIT project might only apply to the contrib/ directory.
12//
13// Please consider splitting the single license below into multiple licenses,
14// taking care not to lose any license_kind information, and overriding the
15// default license using the 'licenses: [...]' property on targets as needed.
16//
17// For unused files, consider creating a 'fileGroup' with "//visibility:private"
18// to attach the license to, and including a comment whether the files may be
19// used in the current project.
20//
21// large-scale-change included anything that looked like it might be a license
22// text as a license_text. e.g. LICENSE, NOTICE, COPYING etc.
23//
24// Please consider removing redundant or irrelevant files from 'license_text:'.
25// See: http://go/android-license-faq
26license {
27 name: "external_rust_crates_structopt_license",
28 visibility: [":__subpackages__"],
29 license_kinds: [
30 "SPDX-license-identifier-Apache-2.0",
31 "SPDX-license-identifier-MIT",
32 ],
33 license_text: [
34 "LICENSE-APACHE",
35 "LICENSE-MIT",
36 ],
37}
38
Matthew Maurer54ad9962020-06-10 12:50:38 -070039rust_library {
40 name: "libstructopt",
41 host_supported: true,
42 crate_name: "structopt",
43 srcs: ["src/lib.rs"],
44 edition: "2018",
Chih-Hung Hsiehbe338a12020-10-26 13:16:51 -070045 features: ["default"],
Matthew Maurer54ad9962020-06-10 12:50:38 -070046 rustlibs: [
47 "libclap",
48 "liblazy_static",
49 ],
Chih-Hung Hsiehbe338a12020-10-26 13:16:51 -070050 proc_macros: ["libstructopt_derive"],
Matthew Maurer54ad9962020-06-10 12:50:38 -070051}
52
53// dependent_library ["feature_list"]
54// ansi_term-0.11.0
55// atty-0.2.14
56// bitflags-1.2.1 "default"
Haibo Huange7bfadf2020-09-23 21:23:42 -070057// clap-2.33.3 "ansi_term,atty,color,default,strsim,suggestions,vec_map"
Matthew Maurer54ad9962020-06-10 12:50:38 -070058// heck-0.3.1
59// lazy_static-1.4.0
Chih-Hung Hsiehbe338a12020-10-26 13:16:51 -070060// libc-0.2.80
Haibo Huange7bfadf2020-09-23 21:23:42 -070061// proc-macro-error-1.0.4 "default,syn,syn-error"
62// proc-macro-error-attr-1.0.4
Chih-Hung Hsiehbe338a12020-10-26 13:16:51 -070063// proc-macro2-1.0.24 "default,proc-macro"
Matthew Maurer54ad9962020-06-10 12:50:38 -070064// quote-1.0.7 "default,proc-macro"
65// strsim-0.8.0
Haibo Huang1fc28252020-11-30 18:19:43 -080066// structopt-derive-0.4.14
67// syn-1.0.53 "clone-impls,default,derive,full,parsing,printing,proc-macro,quote,visit"
Matthew Maurer54ad9962020-06-10 12:50:38 -070068// textwrap-0.11.0
Haibo Huang1fc28252020-11-30 18:19:43 -080069// unicode-segmentation-1.7.1
Matthew Maurer54ad9962020-06-10 12:50:38 -070070// unicode-width-0.1.8 "default"
71// unicode-xid-0.2.1 "default"
72// vec_map-0.8.2
73// version_check-0.9.2