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 { |
| 6 | name: "android.hardware.security.dice-service.microdroid", |
| 7 | srcs: ["service.rs"], |
| 8 | relative_install_path: "hw", |
| 9 | vendor: true, |
Andrew Scull | 9d60a26 | 2022-01-24 14:31:27 +0000 | [diff] [blame] | 10 | prefer_rlib: true, |
Andrew Scull | f819594 | 2022-01-13 17:37:52 +0000 | [diff] [blame] | 11 | rustlibs: [ |
| 12 | "android.hardware.security.dice-V1-rust", |
| 13 | "libandroid_logger", |
| 14 | "libanyhow", |
| 15 | "libbinder_rs", |
| 16 | "libbyteorder", |
| 17 | "libdiced_open_dice_cbor", |
| 18 | "libdiced_sample_inputs", |
| 19 | "libdiced_vendor", |
| 20 | "liblibc", |
| 21 | "liblog_rust", |
| 22 | "libserde", |
| 23 | ], |
| 24 | init_rc: ["android.hardware.security.dice-service.microdroid.rc"], |
| 25 | vintf_fragments: [ |
| 26 | "android.hardware.security.dice-service.microdroid.xml", |
| 27 | ], |
| 28 | bootstrap: true, |
| 29 | } |