android_packages_modules_Vi.../compos/Android.bp

92 lines
1.9 KiB
Plaintext
Raw Normal View History

package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
rust_binary {
name: "pvm_exec",
srcs: ["src/pvm_exec.rs"],
rustlibs: [
"compos_aidl_interface-rust",
"libanyhow",
"libbinder_rpc_unstable_bindgen",
"libbinder_rs",
"libclap",
"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: [
"compos_aidl_interface-rust",
"libandroid_logger",
"libanyhow",
"libbinder_rpc_unstable_bindgen",
"libbinder_rs",
"libclap",
"liblog_rust",
"libminijail_rust",
],
prefer_rlib: true,
shared_libs: [
"libbinder_rpc_unstable",
],
apex_available: [
"com.android.compos",
],
}
rust_binary {
name: "compsvc_worker",
srcs: ["src/compsvc_worker.rs"],
rustlibs: [
"libandroid_logger",
"libanyhow",
"libclap",
"liblog_rust",
"libminijail_rust",
"libnix",
],
prefer_rlib: true,
apex_available: [
"com.android.compos",
],
}
rust_binary {
name: "compos_key_main",
srcs: ["src/compos_key_main.rs"],
edition: "2018",
rustlibs: [
"compos_aidl_interface-rust",
"android.system.keystore2-V1-rust",
"android.hardware.security.keymint-V1-rust",
"libandroid_logger",
"libanyhow",
"libbinder_rs",
"libbinder_rpc_unstable_bindgen",
"libclap",
"liblog_rust",
"libminijail_rust",
"libring",
"libscopeguard",
],
prefer_rlib: true,
shared_libs: [
"libbinder_rpc_unstable",
],
apex_available: ["com.android.compos"],
}