2021-05-12 19:41:18 +00:00
|
|
|
package {
|
|
|
|
default_applicable_licenses: ["Android-Apache-2.0"],
|
|
|
|
}
|
|
|
|
|
2022-01-18 14:17:00 +00:00
|
|
|
rust_defaults {
|
|
|
|
name: "compsvc_defaults",
|
2021-07-21 10:29:10 +00:00
|
|
|
srcs: ["src/compsvc_main.rs"],
|
2021-02-01 22:19:20 +00:00
|
|
|
rustlibs: [
|
2021-09-09 13:44:13 +00:00
|
|
|
"android.system.virtualmachineservice-rust",
|
2021-08-06 20:00:18 +00:00
|
|
|
"authfs_aidl_interface-rust",
|
2021-02-01 22:19:20 +00:00
|
|
|
"compos_aidl_interface-rust",
|
|
|
|
"libandroid_logger",
|
|
|
|
"libanyhow",
|
2021-06-05 00:14:20 +00:00
|
|
|
"libbinder_rs",
|
2022-07-29 00:33:45 +00:00
|
|
|
"libclap",
|
2021-09-06 16:22:37 +00:00
|
|
|
"libcompos_common",
|
2021-08-13 19:18:02 +00:00
|
|
|
"liblibc",
|
2021-02-01 22:19:20 +00:00
|
|
|
"liblog_rust",
|
|
|
|
"libminijail_rust",
|
2021-09-09 13:44:13 +00:00
|
|
|
"libnix",
|
2021-12-08 16:10:45 +00:00
|
|
|
"libodsign_proto_rust",
|
|
|
|
"libprotobuf",
|
2022-01-04 11:48:38 +00:00
|
|
|
"libregex",
|
2022-08-08 15:33:34 +00:00
|
|
|
"librpcbinder_rs",
|
2022-01-28 16:41:52 +00:00
|
|
|
"librustutils",
|
2021-08-07 00:43:36 +00:00
|
|
|
"libscopeguard",
|
2021-02-01 22:19:20 +00:00
|
|
|
],
|
2021-05-18 19:44:45 +00:00
|
|
|
prefer_rlib: true,
|
2021-06-05 00:14:20 +00:00
|
|
|
shared_libs: [
|
|
|
|
"libbinder_rpc_unstable",
|
2022-01-20 14:12:24 +00:00
|
|
|
"libcrypto",
|
2021-06-05 00:14:20 +00:00
|
|
|
],
|
2022-01-18 14:17:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
rust_binary {
|
|
|
|
name: "compsvc",
|
|
|
|
defaults: ["compsvc_defaults"],
|
2021-05-11 20:45:15 +00:00
|
|
|
apex_available: [
|
|
|
|
"com.android.compos",
|
|
|
|
],
|
2021-02-01 22:19:20 +00:00
|
|
|
}
|