blob: d6875d12406741373c562f3d241e2bbf933a7a50 [file] [log] [blame]
Alan Stokeseb97d4a2021-08-26 14:24:32 +01001package {
2 default_applicable_licenses: ["Android-Apache-2.0"],
3}
4
5rust_binary {
Alan Stokes16fb8552022-02-10 15:07:27 +00006 name: "compos_verify",
7 srcs: ["verify.rs"],
Alan Stokes17fd36a2021-09-06 17:22:37 +01008 edition: "2018",
Alan Stokeseb97d4a2021-08-26 14:24:32 +01009 rustlibs: [
Alan Stokeseb97d4a2021-08-26 14:24:32 +010010 "compos_aidl_interface-rust",
Alan Stokes17fd36a2021-09-06 17:22:37 +010011 "libandroid_logger",
Alan Stokeseb97d4a2021-08-26 14:24:32 +010012 "libanyhow",
Alan Stokeseb97d4a2021-08-26 14:24:32 +010013 "libbinder_rs",
14 "libclap",
Alan Stokes17fd36a2021-09-06 17:22:37 +010015 "libcompos_common",
Alan Stokes16fb8552022-02-10 15:07:27 +000016 "libcompos_verify_native_rust",
Alan Stokes17fd36a2021-09-06 17:22:37 +010017 "liblog_rust",
Alan Stokeseb97d4a2021-08-26 14:24:32 +010018 ],
19 prefer_rlib: true,
Alan Stokeseb97d4a2021-08-26 14:24:32 +010020 apex_available: [
21 "com.android.compos",
22 ],
23}