blob: 72cb5e1ed5897ea1c8c18750e1e1e058c223dbfb [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 Stokes71403772022-06-21 14:56:28 +010017 "liblazy_static",
Alan Stokes17fd36a2021-09-06 17:22:37 +010018 "liblog_rust",
Alan Stokesc3f2ac22022-06-23 12:19:46 +010019 "libnested_virt",
Alan Stokes46a1dff2021-12-14 10:56:05 +000020 "libnum_traits",
Alan Stokes17aed5c2021-10-20 14:25:57 +010021 "librustutils",
Andrew Walbrand0ef4002022-05-16 16:14:10 +000022 "libvmclient",
Andrew Walbran855a6f62024-03-08 16:35:45 +000023 "libplatformproperties_rust",
Alan Stokes17fd36a2021-09-06 17:22:37 +010024 ],
Alan Stokes46a1dff2021-12-14 10:56:05 +000025 proc_macros: ["libnum_derive"],
Alan Stokes17fd36a2021-09-06 17:22:37 +010026 apex_available: [
27 "com.android.compos",
28 ],
29}