blob: 4fa5058ae845831df24342795d5ac8f8bb161790 [file] [log] [blame]
Chih-Hung Hsiehdfcb59b2020-07-12 14:43:53 -07001// This file is generated by cargo2android.py --device --run --dependencies.
Joel Galensondd5b8202020-07-07 13:41:04 -07002
Bob Badour5865fd52021-02-12 19:50:16 -08003package {
4 default_applicable_licenses: ["external_rust_crates_rand_chacha_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_rand_chacha_license",
28 visibility: [":__subpackages__"],
29 license_kinds: [
30 "SPDX-license-identifier-Apache-2.0",
31 "SPDX-license-identifier-MIT",
32 ],
33 license_text: [
34 "COPYRIGHT",
35 "LICENSE-APACHE",
36 "LICENSE-MIT",
37 ],
38}
39
Joel Galensondd5b8202020-07-07 13:41:04 -070040rust_library {
41 name: "librand_chacha",
42 host_supported: true,
43 crate_name: "rand_chacha",
44 srcs: ["src/lib.rs"],
45 edition: "2018",
46 features: [
47 "default",
Joel Galensondd5b8202020-07-07 13:41:04 -070048 "std",
49 ],
50 rustlibs: [
51 "libppv_lite86",
52 "librand_core",
53 ],
54}
Chih-Hung Hsiehdfcb59b2020-07-12 14:43:53 -070055
56// dependent_library ["feature_list"]
Haibo Huangff0a4cf2020-12-15 16:12:10 -080057// ppv-lite86-0.2.10 "simd,std"
58// rand_core-0.6.0