Andrew Walbran | d0ef400 | 2022-05-16 16:14:10 +0000 | [diff] [blame] | 1 | package { |
| 2 | default_applicable_licenses: ["Android-Apache-2.0"], |
| 3 | } |
| 4 | |
| 5 | rust_library { |
| 6 | name: "libvmclient", |
| 7 | crate_name: "vmclient", |
| 8 | srcs: ["src/lib.rs"], |
| 9 | edition: "2021", |
| 10 | rustlibs: [ |
| 11 | "android.system.virtualizationservice-rust", |
Andrew Walbran | 1072cc0 | 2022-05-23 14:47:58 +0000 | [diff] [blame] | 12 | "libbinder_rs", |
Andrew Walbran | d0ef400 | 2022-05-16 16:14:10 +0000 | [diff] [blame] | 13 | "liblog_rust", |
Andrew Walbran | 7eb5ca4 | 2022-08-08 15:33:34 +0000 | [diff] [blame] | 14 | "librpcbinder_rs", |
Andrew Walbran | d0ef400 | 2022-05-16 16:14:10 +0000 | [diff] [blame] | 15 | "libthiserror", |
| 16 | ], |
Andrew Walbran | 1072cc0 | 2022-05-23 14:47:58 +0000 | [diff] [blame] | 17 | shared_libs: [ |
| 18 | "libbinder_rpc_unstable", |
| 19 | ], |
Andrew Walbran | d0ef400 | 2022-05-16 16:14:10 +0000 | [diff] [blame] | 20 | apex_available: [ |
| 21 | "com.android.compos", |
| 22 | "com.android.virt", |
| 23 | ], |
| 24 | } |