2021-05-12 19:41:18 +00:00
|
|
|
package {
|
|
|
|
default_applicable_licenses: ["Android-Apache-2.0"],
|
|
|
|
}
|
|
|
|
|
2021-02-01 22:19:20 +00:00
|
|
|
rust_binary {
|
|
|
|
name: "pvm_exec",
|
|
|
|
srcs: ["src/pvm_exec.rs"],
|
|
|
|
rustlibs: [
|
|
|
|
"compos_aidl_interface-rust",
|
|
|
|
"libanyhow",
|
|
|
|
"libclap",
|
|
|
|
"liblibc",
|
|
|
|
"liblog_rust",
|
|
|
|
"libminijail_rust",
|
|
|
|
"libnix",
|
|
|
|
"libscopeguard",
|
|
|
|
],
|
2021-05-11 20:45:15 +00:00
|
|
|
apex_available: [
|
|
|
|
"com.android.compos",
|
|
|
|
],
|
2021-02-01 22:19:20 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
rust_binary {
|
|
|
|
name: "compsvc",
|
|
|
|
srcs: ["src/compsvc.rs"],
|
|
|
|
rustlibs: [
|
|
|
|
"compos_aidl_interface-rust",
|
|
|
|
"libandroid_logger",
|
|
|
|
"libanyhow",
|
|
|
|
"libclap",
|
|
|
|
"liblog_rust",
|
|
|
|
"libminijail_rust",
|
|
|
|
],
|
2021-05-11 20:45:15 +00:00
|
|
|
apex_available: [
|
|
|
|
"com.android.compos",
|
|
|
|
],
|
2021-02-01 22:19:20 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
rust_binary {
|
|
|
|
name: "compsvc_worker",
|
|
|
|
srcs: ["src/compsvc_worker.rs"],
|
|
|
|
rustlibs: [
|
|
|
|
"libandroid_logger",
|
|
|
|
"libanyhow",
|
|
|
|
"libclap",
|
|
|
|
"liblog_rust",
|
|
|
|
"libminijail_rust",
|
|
|
|
"libnix",
|
|
|
|
"libscopeguard",
|
|
|
|
],
|
2021-05-11 20:45:15 +00:00
|
|
|
apex_available: [
|
|
|
|
"com.android.compos",
|
|
|
|
],
|
2021-02-01 22:19:20 +00:00
|
|
|
}
|