blob: 1e136183380d42674025f0c2b691ed424a4bacb9 [file] [log] [blame]
Elliott Hughes0a692f12021-04-01 17:06:45 -07001// This file is generated by cargo2android.py --device --run --dependencies --patch=patches/Android.bp.patch.
2// Do not modify this file as changes will be overridden on upgrade.
Joel Galensonb0a3f992020-07-07 13:29:39 -07003
Bob Badourcaaf0b52021-02-12 15:22:16 -08004
Bob Badourcaaf0b52021-02-12 15:22:16 -08005
Joel Galensonb0a3f992020-07-07 13:29:39 -07006rust_library {
7 name: "librand",
8 host_supported: true,
9 crate_name: "rand",
10 srcs: ["src/lib.rs"],
11 edition: "2018",
12 features: [
13 "alloc",
14 "default",
15 "getrandom",
Joel Galensonb0a3f992020-07-07 13:29:39 -070016 "libc",
Haibo Huang8f9af982020-12-22 18:16:37 -080017 "rand_chacha",
18 "rand_hc",
Joel Galensonb0a3f992020-07-07 13:29:39 -070019 "std",
Haibo Huang8f9af982020-12-22 18:16:37 -080020 "std_rng",
Joel Galensonb0a3f992020-07-07 13:29:39 -070021 ],
22 rustlibs: [
Joel Galensonb0a3f992020-07-07 13:29:39 -070023 "liblibc",
24 "librand_chacha",
25 "librand_core",
26 ],
27}
Chih-Hung Hsiehbb9a3342020-07-12 14:44:53 -070028
29// dependent_library ["feature_list"]
Haibo Huanga013ea22021-01-13 18:19:30 -080030// cfg-if-1.0.0
Elliott Hughes0a692f12021-04-01 17:06:45 -070031// getrandom-0.2.2 "std"
32// libc-0.2.93
Haibo Huang8f9af982020-12-22 18:16:37 -080033// ppv-lite86-0.2.10 "simd,std"
34// rand_chacha-0.3.0 "std"
Elliott Hughes0a692f12021-04-01 17:06:45 -070035// rand_core-0.6.2 "alloc,getrandom,std"
36// rand_hc-0.3.0