blob: 935757e9aac91dac846b33c93de563f9381f1aeb [file] [log] [blame]
Andrew Walbrand1b91c72020-08-11 17:12:08 +01001// This file is generated by cargo2android.py --run --device --dependencies.
2
Bob Badour2c2227c2021-02-12 21:35:49 -08003package {
4 default_applicable_licenses: ["external_rust_crates_async-trait_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_async-trait_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
Andrew Walbrand1b91c72020-08-11 17:12:08 +010039rust_proc_macro {
40 name: "libasync_trait",
41 crate_name: "async_trait",
42 srcs: ["src/lib.rs"],
43 edition: "2018",
44 rustlibs: [
45 "libproc_macro2",
46 "libquote",
47 "libsyn",
48 ],
49}
50
51// dependent_library ["feature_list"]
Chih-Hung Hsiehf8b73ea2020-10-26 13:16:52 -070052// proc-macro2-1.0.24 "default,proc-macro"
Andrew Walbrand1b91c72020-08-11 17:12:08 +010053// quote-1.0.7 "default,proc-macro"
Haibo Huang7ff84c32020-11-24 20:53:12 -080054// syn-1.0.51 "clone-impls,default,derive,extra-traits,full,parsing,printing,proc-macro,quote,visit,visit-mut"
Andrew Walbrand1b91c72020-08-11 17:12:08 +010055// unicode-xid-0.2.1 "default"