blob: be8388fca0823172bca587e86f395c4a2c8bcf5d [file] [log] [blame]
Alice Wang0b9e1102023-02-02 09:57:06 +00001package {
2 default_applicable_licenses: ["Android-Apache-2.0"],
3}
4
5rust_defaults {
6 name: "libdiced_open_dice_defaults",
7 crate_name: "diced_open_dice",
8 srcs: ["src/lib.rs"],
9 static_libs: [
10 "libopen_dice_cbor",
11 ],
12 vendor_available: true,
13 apex_available: [
14 "//apex_available:platform",
15 "com.android.virt",
16 ],
17}
18
19rust_library_rlib {
20 name: "libdiced_open_dice_nostd",
21 defaults: ["libdiced_open_dice_defaults"],
22 rustlibs: [
23 "libopen_dice_cbor_bindgen_nostd",
24 ],
25}
26
27rust_library_rlib {
28 name: "libdiced_open_dice",
29 defaults: ["libdiced_open_dice_defaults"],
30 rustlibs: [
31 "libopen_dice_cbor_bindgen",
32 ],
33 features: [
34 "std",
35 ],
36}