Elliott Hughes | 0a692f1 | 2021-04-01 17:06:45 -0700 | [diff] [blame] | 1 | // 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 Galenson | b0a3f99 | 2020-07-07 13:29:39 -0700 | [diff] [blame] | 3 | |
Bob Badour | caaf0b5 | 2021-02-12 15:22:16 -0800 | [diff] [blame] | 4 | |
Bob Badour | caaf0b5 | 2021-02-12 15:22:16 -0800 | [diff] [blame] | 5 | |
Joel Galenson | b0a3f99 | 2020-07-07 13:29:39 -0700 | [diff] [blame] | 6 | rust_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 Galenson | b0a3f99 | 2020-07-07 13:29:39 -0700 | [diff] [blame] | 16 | "libc", |
Haibo Huang | 8f9af98 | 2020-12-22 18:16:37 -0800 | [diff] [blame] | 17 | "rand_chacha", |
| 18 | "rand_hc", |
Joel Galenson | b0a3f99 | 2020-07-07 13:29:39 -0700 | [diff] [blame] | 19 | "std", |
Haibo Huang | 8f9af98 | 2020-12-22 18:16:37 -0800 | [diff] [blame] | 20 | "std_rng", |
Joel Galenson | b0a3f99 | 2020-07-07 13:29:39 -0700 | [diff] [blame] | 21 | ], |
| 22 | rustlibs: [ |
Joel Galenson | b0a3f99 | 2020-07-07 13:29:39 -0700 | [diff] [blame] | 23 | "liblibc", |
| 24 | "librand_chacha", |
| 25 | "librand_core", |
| 26 | ], |
| 27 | } |
Chih-Hung Hsieh | bb9a334 | 2020-07-12 14:44:53 -0700 | [diff] [blame] | 28 | |
| 29 | // dependent_library ["feature_list"] |
Haibo Huang | a013ea2 | 2021-01-13 18:19:30 -0800 | [diff] [blame] | 30 | // cfg-if-1.0.0 |
Elliott Hughes | 0a692f1 | 2021-04-01 17:06:45 -0700 | [diff] [blame] | 31 | // getrandom-0.2.2 "std" |
| 32 | // libc-0.2.93 |
Haibo Huang | 8f9af98 | 2020-12-22 18:16:37 -0800 | [diff] [blame] | 33 | // ppv-lite86-0.2.10 "simd,std" |
| 34 | // rand_chacha-0.3.0 "std" |
Elliott Hughes | 0a692f1 | 2021-04-01 17:06:45 -0700 | [diff] [blame] | 35 | // rand_core-0.6.2 "alloc,getrandom,std" |
| 36 | // rand_hc-0.3.0 |