blob: 71cf0f1478bf284cfce92d2b63fd886c171d3f81 [file] [log] [blame]
David Brazdil9a83e612022-09-27 17:38:10 +00001package {
2 default_applicable_licenses: ["Android-Apache-2.0"],
3}
4
5rust_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: [
Alice Wang5aeed332023-02-02 09:42:21 +000014 "libdiced_open_dice_nostd",
David Brazdil65d443d2022-10-13 14:56:39 +010015 "libopen_dice_cbor_bindgen_nostd",
16 "libopen_dice_bcc_bindgen_nostd",
David Brazdil9a83e612022-09-27 17:38:10 +000017 ],
18 whole_static_libs: [
19 "libopen_dice_bcc",
20 "libopen_dice_cbor",
21 "libcrypto_baremetal",
22 ],
23 apex_available: ["com.android.virt"],
24}