Alan Stokes | eb97d4a | 2021-08-26 14:24:32 +0100 | [diff] [blame] | 1 | package { |
| 2 | default_applicable_licenses: ["Android-Apache-2.0"], |
| 3 | } |
| 4 | |
| 5 | rust_binary { |
Alan Stokes | 16fb855 | 2022-02-10 15:07:27 +0000 | [diff] [blame] | 6 | name: "compos_verify", |
| 7 | srcs: ["verify.rs"], |
Alan Stokes | 6472ccd | 2022-08-31 13:41:28 +0100 | [diff] [blame] | 8 | edition: "2021", |
Alan Stokes | eb97d4a | 2021-08-26 14:24:32 +0100 | [diff] [blame] | 9 | rustlibs: [ |
Alan Stokes | eb97d4a | 2021-08-26 14:24:32 +0100 | [diff] [blame] | 10 | "compos_aidl_interface-rust", |
Alan Stokes | 17fd36a | 2021-09-06 17:22:37 +0100 | [diff] [blame] | 11 | "libandroid_logger", |
Alan Stokes | eb97d4a | 2021-08-26 14:24:32 +0100 | [diff] [blame] | 12 | "libanyhow", |
Alan Stokes | eb97d4a | 2021-08-26 14:24:32 +0100 | [diff] [blame] | 13 | "libbinder_rs", |
Jeff Vander Stoep | a8dc271 | 2022-07-29 02:33:45 +0200 | [diff] [blame] | 14 | "libclap", |
Alan Stokes | 17fd36a | 2021-09-06 17:22:37 +0100 | [diff] [blame] | 15 | "libcompos_common", |
Alan Stokes | 16fb855 | 2022-02-10 15:07:27 +0000 | [diff] [blame] | 16 | "libcompos_verify_native_rust", |
Alan Stokes | 17fd36a | 2021-09-06 17:22:37 +0100 | [diff] [blame] | 17 | "liblog_rust", |
Andrew Walbran | d0ef400 | 2022-05-16 16:14:10 +0000 | [diff] [blame] | 18 | "libvmclient", |
Alan Stokes | eb97d4a | 2021-08-26 14:24:32 +0100 | [diff] [blame] | 19 | ], |
| 20 | prefer_rlib: true, |
Alan Stokes | eb97d4a | 2021-08-26 14:24:32 +0100 | [diff] [blame] | 21 | apex_available: [ |
| 22 | "com.android.compos", |
| 23 | ], |
| 24 | } |
Andrew Walbran | da8786d | 2022-12-01 14:54:27 +0000 | [diff] [blame] | 25 | |
| 26 | rust_test { |
| 27 | name: "compos_verify.test", |
| 28 | srcs: ["verify.rs"], |
| 29 | edition: "2021", |
| 30 | rustlibs: [ |
| 31 | "compos_aidl_interface-rust", |
| 32 | "libandroid_logger", |
| 33 | "libanyhow", |
| 34 | "libbinder_rs", |
| 35 | "libclap", |
| 36 | "libcompos_common", |
| 37 | "libcompos_verify_native_rust", |
| 38 | "liblog_rust", |
| 39 | "libvmclient", |
| 40 | ], |
| 41 | prefer_rlib: true, |
| 42 | test_suites: ["general-tests"], |
| 43 | } |