compat: Provide libprotobuf-cpp vendorcompat prebuilts from v29 VNDK

Android moved to a versioned approach in R and vendorcompat libs were
still possible to build, but not anymore with the Android U release.

Change-Id: Ibe06bf8d22ab0ce24ac5d5d9f3394b8593ee46cb
This commit is contained in:
Bruno Martins 2023-10-24 12:07:53 +01:00
parent 25a12c76a8
commit 770258c025
5 changed files with 42 additions and 0 deletions

View file

@ -422,3 +422,41 @@ cc_library_shared {
compile_multilib: "64",
vendor: true,
}
cc_prebuilt_library_shared {
name: "libprotobuf-cpp-full-vendorcompat",
stem: "libprotobuf-cpp-full",
vendor: true,
strip: {
none: true,
},
target: {
android_arm: {
srcs: ["vndk/v29/arm/libprotobuf-cpp-full.so"],
},
android_arm64: {
srcs: ["vndk/v29/arm64/libprotobuf-cpp-full.so"],
},
},
compile_multilib: "both",
check_elf_files: false,
}
cc_prebuilt_library_shared {
name: "libprotobuf-cpp-lite-vendorcompat",
stem: "libprotobuf-cpp-lite",
vendor: true,
strip: {
none: true,
},
target: {
android_arm: {
srcs: ["vndk/v29/arm/libprotobuf-cpp-lite.so"],
},
android_arm64: {
srcs: ["vndk/v29/arm64/libprotobuf-cpp-lite.so"],
},
},
compile_multilib: "both",
check_elf_files: false,
}

View file

@ -0,0 +1 @@
../../../../../../prebuilts/vndk/v29/arm64/arch-arm-armv8-a/shared/vndk-core/libprotobuf-cpp-full.so

View file

@ -0,0 +1 @@
../../../../../../prebuilts/vndk/v29/arm64/arch-arm-armv8-a/shared/vndk-core/libprotobuf-cpp-lite.so

View file

@ -0,0 +1 @@
../../../../../../prebuilts/vndk/v29/arm64/arch-arm64-armv8-a/shared/vndk-core/libprotobuf-cpp-full.so

View file

@ -0,0 +1 @@
../../../../../../prebuilts/vndk/v29/arm64/arch-arm64-armv8-a/shared/vndk-core/libprotobuf-cpp-lite.so