blob: b1e5f89b07b055d9792fbedccc03632d4387bfed [file] [log] [blame]
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
rust_binary {
name: "pvm_exec",
srcs: ["src/pvm_exec.rs"],
rustlibs: [
"android.system.composd-rust",
"compos_aidl_interface-rust",
"libandroid_logger",
"libanyhow",
"libbinder_rpc_unstable_bindgen",
"libbinder_rs",
"libclap",
"libcompos_common",
"liblibc",
"liblog_rust",
"libminijail_rust",
"libnix",
"libscopeguard",
],
prefer_rlib: true,
shared_libs: [
"libbinder_rpc_unstable",
],
apex_available: [
"com.android.compos",
],
}
rust_binary {
name: "compsvc",
srcs: ["src/compsvc_main.rs"],
rustlibs: [
"android.hardware.security.keymint-V1-rust",
"android.system.keystore2-V1-rust",
"android.system.virtualmachineservice-rust",
"authfs_aidl_interface-rust",
"compos_aidl_interface-rust",
"libandroid_logger",
"libanyhow",
"libbinder_common",
"libbinder_rpc_unstable_bindgen",
"libbinder_rs",
"libclap",
"libcompos_common",
"libenv_logger",
"liblibc",
"liblog_rust",
"libminijail_rust",
"libnix",
"libring",
"libscopeguard",
],
prefer_rlib: true,
shared_libs: [
"libbinder_rpc_unstable",
],
apex_available: [
"com.android.compos",
],
}