blob: 9fdeaf85cb196eb31b6ec60806158f849638ad76 [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",
Nikita Ioffeda1b2732023-09-04 13:46:56 +01008 defaults: ["avf_build_flags_rust"],
Andrew Walbrand0ef4002022-05-16 16:14:10 +00009 srcs: ["src/lib.rs"],
10 edition: "2021",
11 rustlibs: [
Alan Stokes2bead0d2022-09-05 16:58:34 +010012 "android.system.virtualizationcommon-rust",
Andrew Walbrand0ef4002022-05-16 16:14:10 +000013 "android.system.virtualizationservice-rust",
Andrew Walbran1072cc02022-05-23 14:47:58 +000014 "libbinder_rs",
David Brazdil46446062022-10-25 13:18:18 +010015 "libcommand_fds",
Andrew Walbrand0ef4002022-05-16 16:14:10 +000016 "liblog_rust",
David Brazdil46446062022-10-25 13:18:18 +010017 "libnix",
Andrew Walbran7eb5ca42022-08-08 15:33:34 +000018 "librpcbinder_rs",
David Brazdil46446062022-10-25 13:18:18 +010019 "libshared_child",
Andrew Walbrand0ef4002022-05-16 16:14:10 +000020 "libthiserror",
21 ],
Andrew Walbrand0ef4002022-05-16 16:14:10 +000022 apex_available: [
23 "com.android.compos",
Aidan Wolterbb91a6b2024-07-01 15:42:20 +000024 "com.android.microfuchsia",
Andrew Walbrand0ef4002022-05-16 16:14:10 +000025 "com.android.virt",
26 ],
27}