Andrew Scull | f819594 | 2022-01-13 17:37:52 +0000 | [diff] [blame] | 1 | package { |
| 2 | default_applicable_licenses: ["Android-Apache-2.0"], |
| 3 | } |
| 4 | |
| 5 | rust_binary { |
Andrew Scull | 268b7e7 | 2022-09-27 22:11:36 +0000 | [diff] [blame] | 6 | name: "dice-service.microdroid", |
Andrew Scull | f819594 | 2022-01-13 17:37:52 +0000 | [diff] [blame] | 7 | srcs: ["service.rs"], |
Andrew Scull | 9d60a26 | 2022-01-24 14:31:27 +0000 | [diff] [blame] | 8 | prefer_rlib: true, |
Andrew Scull | f819594 | 2022-01-13 17:37:52 +0000 | [diff] [blame] | 9 | rustlibs: [ |
| 10 | "android.hardware.security.dice-V1-rust", |
Andrew Scull | 268b7e7 | 2022-09-27 22:11:36 +0000 | [diff] [blame] | 11 | "android.security.dice-rust", |
Andrew Scull | f819594 | 2022-01-13 17:37:52 +0000 | [diff] [blame] | 12 | "libandroid_logger", |
| 13 | "libanyhow", |
| 14 | "libbinder_rs", |
| 15 | "libbyteorder", |
Andrew Scull | 268b7e7 | 2022-09-27 22:11:36 +0000 | [diff] [blame] | 16 | "libdiced", |
Andrew Scull | f819594 | 2022-01-13 17:37:52 +0000 | [diff] [blame] | 17 | "libdiced_open_dice_cbor", |
| 18 | "libdiced_sample_inputs", |
Andrew Scull | 268b7e7 | 2022-09-27 22:11:36 +0000 | [diff] [blame] | 19 | "libdiced_utils", |
Andrew Scull | f819594 | 2022-01-13 17:37:52 +0000 | [diff] [blame] | 20 | "liblibc", |
| 21 | "liblog_rust", |
| 22 | "libserde", |
| 23 | ], |
Andrew Scull | 268b7e7 | 2022-09-27 22:11:36 +0000 | [diff] [blame] | 24 | init_rc: ["dice-service.microdroid.rc"], |
Andrew Scull | f819594 | 2022-01-13 17:37:52 +0000 | [diff] [blame] | 25 | bootstrap: true, |
| 26 | } |