android_packages_modules_Vi.../microdroid_manager/Android.bp

76 lines
1.7 KiB
Plaintext

package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
rust_defaults {
name: "microdroid_manager_defaults",
crate_name: "microdroid_manager",
srcs: ["src/main.rs"],
edition: "2021",
prefer_rlib: true,
rustlibs: [
"android.system.virtualizationcommon-rust",
"android.system.virtualizationservice-rust",
"android.system.virtualmachineservice-rust",
"android.system.virtualization.payload-rust",
"libanyhow",
"libapexutil_rust",
"libapkverify",
"libbinder_rs",
"libbyteorder",
"libcap_rust",
"libciborium",
"libdiced_open_dice",
"libdiced_sample_inputs",
"libglob",
"libhex",
"libitertools",
"libkernlog",
"libkeystore2_crypto_rust",
"liblibc",
"liblog_rust",
"libmicrodroid_metadata",
"libmicrodroid_payload_config",
"libnix",
"libonce_cell",
"libopenssl",
"libprotobuf",
"librpcbinder_rs",
"librustutils",
"libscopeguard",
"libserde",
"libserde_cbor",
"libserde_json",
"libthiserror",
"libuuid",
"libvsock",
"librand",
],
init_rc: ["microdroid_manager.rc"],
multilib: {
lib32: {
enabled: false,
},
},
}
rust_binary {
name: "microdroid_manager",
defaults: ["microdroid_manager_defaults"],
bootstrap: true,
}
rust_test {
name: "microdroid_manager_test",
defaults: ["microdroid_manager_defaults"],
test_suites: ["general-tests"],
rustlibs: [
"libtempfile",
],
multilib: {
lib32: {
enabled: false,
},
},
}