Matthew Maurer | b41c4c1 | 2020-06-10 12:55:00 -0700 | [diff] [blame] | 1 | // This file is generated by cargo2android.py --run --dependencies --host-first-multilib. |
| 2 | |
Bob Badour | ee71df7 | 2021-02-12 21:03:07 -0800 | [diff] [blame] | 3 | package { |
| 4 | default_applicable_licenses: [ |
| 5 | "external_rust_crates_proc-macro-error_license", |
| 6 | ], |
| 7 | } |
| 8 | |
| 9 | // Added automatically by a large-scale-change that took the approach of |
| 10 | // 'apply every license found to every target'. While this makes sure we respect |
| 11 | // every license restriction, it may not be entirely correct. |
| 12 | // |
| 13 | // e.g. GPL in an MIT project might only apply to the contrib/ directory. |
| 14 | // |
| 15 | // Please consider splitting the single license below into multiple licenses, |
| 16 | // taking care not to lose any license_kind information, and overriding the |
| 17 | // default license using the 'licenses: [...]' property on targets as needed. |
| 18 | // |
| 19 | // For unused files, consider creating a 'fileGroup' with "//visibility:private" |
| 20 | // to attach the license to, and including a comment whether the files may be |
| 21 | // used in the current project. |
| 22 | // |
| 23 | // large-scale-change included anything that looked like it might be a license |
| 24 | // text as a license_text. e.g. LICENSE, NOTICE, COPYING etc. |
| 25 | // |
| 26 | // Please consider removing redundant or irrelevant files from 'license_text:'. |
| 27 | // See: http://go/android-license-faq |
| 28 | license { |
| 29 | name: "external_rust_crates_proc-macro-error_license", |
| 30 | visibility: [":__subpackages__"], |
| 31 | license_kinds: [ |
| 32 | "SPDX-license-identifier-Apache-2.0", |
| 33 | "SPDX-license-identifier-MIT", |
| 34 | ], |
| 35 | license_text: [ |
| 36 | "LICENSE-APACHE", |
| 37 | "LICENSE-MIT", |
| 38 | ], |
| 39 | } |
| 40 | |
Matthew Maurer | b41c4c1 | 2020-06-10 12:55:00 -0700 | [diff] [blame] | 41 | rust_library_host { |
| 42 | name: "libproc_macro_error", |
| 43 | crate_name: "proc_macro_error", |
| 44 | srcs: ["src/lib.rs"], |
| 45 | edition: "2018", |
Haibo Huang | eef7c23 | 2020-09-29 11:19:51 -0700 | [diff] [blame] | 46 | features: [ |
| 47 | "default", |
| 48 | "syn", |
| 49 | "syn-error", |
| 50 | ], |
Matthew Maurer | b41c4c1 | 2020-06-10 12:55:00 -0700 | [diff] [blame] | 51 | flags: [ |
| 52 | "--cfg skip_ui_tests", |
| 53 | ], |
| 54 | rustlibs: [ |
| 55 | "libproc_macro2", |
| 56 | "libquote", |
| 57 | "libsyn", |
| 58 | ], |
| 59 | proc_macros: [ |
| 60 | "libproc_macro_error_attr", |
| 61 | ], |
| 62 | compile_multilib: "first", |
| 63 | } |
| 64 | |
| 65 | // dependent_library ["feature_list"] |
Haibo Huang | eef7c23 | 2020-09-29 11:19:51 -0700 | [diff] [blame] | 66 | // proc-macro-error-attr-1.0.4 |
| 67 | // proc-macro2-1.0.23 "default,proc-macro" |
Matthew Maurer | b41c4c1 | 2020-06-10 12:55:00 -0700 | [diff] [blame] | 68 | // quote-1.0.7 "default,proc-macro" |
Haibo Huang | eef7c23 | 2020-09-29 11:19:51 -0700 | [diff] [blame] | 69 | // syn-1.0.42 "clone-impls,default,derive,parsing,printing,proc-macro,quote,visit" |
Matthew Maurer | b41c4c1 | 2020-06-10 12:55:00 -0700 | [diff] [blame] | 70 | // unicode-xid-0.2.1 "default" |
| 71 | // version_check-0.9.2 |