[API] Change libvm_payload to shared lib

Test: MicrodroidTests
Bug: 243512047
Bug: 250854486
Change-Id: I20d0613d2118c43d891d1fbb60ee8ab070cbb8e0
This commit is contained in:
Alice Wang 2022-10-07 11:39:50 +00:00
parent 3b80c9b14b
commit 609299c917
3 changed files with 3 additions and 3 deletions

View File

@ -26,9 +26,9 @@ cc_binary {
static_libs: [
"libcompos_key",
"libvm_payload",
],
shared_libs: [
"libvm_payload",
"libbinder_ndk",
],
}

View File

@ -2,7 +2,7 @@ package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
rust_ffi_static {
rust_ffi_shared {
name: "libvm_payload",
crate_name: "vm_payload",
srcs: ["src/*.rs"],

View File

@ -37,12 +37,12 @@ cc_library_shared {
"libbinder_ndk",
"libbinder_rpc_unstable",
"MicrodroidTestNativeLibSub",
"libvm_payload",
],
static_libs: [
"libfsverity_digests_proto_cc",
"liblog",
"libprotobuf-cpp-lite-ndk",
"libvm_payload",
],
}