David Brazdil | 9a83e61 | 2022-09-27 17:38:10 +0000 | [diff] [blame^] | 1 | package { |
| 2 | default_applicable_licenses: ["Android-Apache-2.0"], |
| 3 | } |
| 4 | |
| 5 | rust_library_rlib { |
| 6 | name: "libdice_nostd", |
| 7 | crate_name: "dice", |
| 8 | srcs: ["src/lib.rs"], |
| 9 | edition: "2021", |
| 10 | no_stdlibs: true, |
| 11 | prefer_rlib: true, |
| 12 | stdlibs: ["libcore.rust_sysroot"], |
| 13 | rustlibs: [ |
| 14 | "libopen_dice_cbor_bindgen", |
| 15 | "libopen_dice_bcc_bindgen", |
| 16 | ], |
| 17 | whole_static_libs: [ |
| 18 | "libopen_dice_bcc", |
| 19 | "libopen_dice_cbor", |
| 20 | "libcrypto_baremetal", |
| 21 | ], |
| 22 | apex_available: ["com.android.virt"], |
| 23 | } |