blob: 213125ef725a9dccec5a4b26b7fc5344698f24bd [file] [log] [blame]
Andrew Walbrand0ef4002022-05-16 16:14:10 +00001package {
2 default_applicable_licenses: ["Android-Apache-2.0"],
3}
4
5rust_library {
6 name: "libvmclient",
7 crate_name: "vmclient",
8 srcs: ["src/lib.rs"],
9 edition: "2021",
10 rustlibs: [
11 "android.system.virtualizationservice-rust",
Andrew Walbran1072cc02022-05-23 14:47:58 +000012 "libbinder_rs",
Andrew Walbrand0ef4002022-05-16 16:14:10 +000013 "liblog_rust",
Andrew Walbran7eb5ca42022-08-08 15:33:34 +000014 "librpcbinder_rs",
Andrew Walbrand0ef4002022-05-16 16:14:10 +000015 "libthiserror",
16 ],
Andrew Walbran1072cc02022-05-23 14:47:58 +000017 shared_libs: [
18 "libbinder_rpc_unstable",
19 ],
Andrew Walbrand0ef4002022-05-16 16:14:10 +000020 apex_available: [
21 "com.android.compos",
22 "com.android.virt",
23 ],
24}