blob: 01836aed2a754c668c8b61dc954b71a288216236 [file] [log] [blame]
Alan Stokes17fd36a2021-09-06 17:22:37 +01001package {
2 default_applicable_licenses: ["Android-Apache-2.0"],
3}
4
5rust_library {
6 name: "libcompos_common",
7 crate_name: "compos_common",
Nikita Ioffeda1b2732023-09-04 13:46:56 +01008 defaults: ["avf_build_flags_rust"],
Alan Stokes17fd36a2021-09-06 17:22:37 +01009 srcs: ["lib.rs"],
Alan Stokes6472ccd2022-08-31 13:41:28 +010010 edition: "2021",
Alan Stokes17fd36a2021-09-06 17:22:37 +010011 rustlibs: [
12 "android.system.virtualizationservice-rust",
13 "compos_aidl_interface-rust",
14 "libanyhow",
Alan Stokes0e82b502022-08-08 14:44:48 +010015 "libbinder_rs",
Cole Faust237ee3e2023-03-01 11:58:01 -080016 "libglob",
Alan Stokes17fd36a2021-09-06 17:22:37 +010017 "liblog_rust",
Alan Stokesc3f2ac22022-06-23 12:19:46 +010018 "libnested_virt",
Alan Stokes46a1dff2021-12-14 10:56:05 +000019 "libnum_traits",
Alan Stokes17aed5c2021-10-20 14:25:57 +010020 "librustutils",
Andrew Walbrand0ef4002022-05-16 16:14:10 +000021 "libvmclient",
Andrew Walbran855a6f62024-03-08 16:35:45 +000022 "libplatformproperties_rust",
Alan Stokes17fd36a2021-09-06 17:22:37 +010023 ],
Alan Stokes46a1dff2021-12-14 10:56:05 +000024 proc_macros: ["libnum_derive"],
Alan Stokes17fd36a2021-09-06 17:22:37 +010025 apex_available: [
26 "com.android.compos",
27 ],
28}