blob: 859533e737c25f953ce1c568339797ad6813c906 [file] [log] [blame]
Andrew Scullf8195942022-01-13 17:37:52 +00001package {
2 default_applicable_licenses: ["Android-Apache-2.0"],
3}
4
5rust_binary {
Andrew Scull268b7e72022-09-27 22:11:36 +00006 name: "dice-service.microdroid",
Andrew Scullf8195942022-01-13 17:37:52 +00007 srcs: ["service.rs"],
Andrew Scull9d60a262022-01-24 14:31:27 +00008 prefer_rlib: true,
Andrew Scullf8195942022-01-13 17:37:52 +00009 rustlibs: [
10 "android.hardware.security.dice-V1-rust",
Andrew Scull268b7e72022-09-27 22:11:36 +000011 "android.security.dice-rust",
Andrew Scullf8195942022-01-13 17:37:52 +000012 "libandroid_logger",
13 "libanyhow",
14 "libbinder_rs",
15 "libbyteorder",
Andrew Scull268b7e72022-09-27 22:11:36 +000016 "libdiced",
Andrew Scullf8195942022-01-13 17:37:52 +000017 "libdiced_open_dice_cbor",
18 "libdiced_sample_inputs",
Andrew Scull268b7e72022-09-27 22:11:36 +000019 "libdiced_utils",
Andrew Scullf8195942022-01-13 17:37:52 +000020 "liblibc",
21 "liblog_rust",
22 "libserde",
23 ],
Andrew Scull268b7e72022-09-27 22:11:36 +000024 init_rc: ["dice-service.microdroid.rc"],
Andrew Scullf8195942022-01-13 17:37:52 +000025 bootstrap: true,
26}