summaryrefslogtreecommitdiff
path: root/protobuf_vendorcompat/Android.bp
diff options
context:
space:
mode:
Diffstat (limited to 'protobuf_vendorcompat/Android.bp')
-rw-r--r--protobuf_vendorcompat/Android.bp24
1 files changed, 24 insertions, 0 deletions
diff --git a/protobuf_vendorcompat/Android.bp b/protobuf_vendorcompat/Android.bp
index f9564189..47e70033 100644
--- a/protobuf_vendorcompat/Android.bp
+++ b/protobuf_vendorcompat/Android.bp
@@ -32,3 +32,27 @@ cc_prebuilt_library_shared {
"libz",
],
}
+
+// Workaround for Qualcomm prebuilts used by partners.
+cc_prebuilt_library_shared {
+ name: "libprotobuf-cpp-lite-3.9.1-vendorcompat",
+ stem: "libprotobuf-cpp-lite-3.9.1",
+ vendor: true,
+ target: {
+ android_arm64: {
+ srcs: ["arm64/libprotobuf-cpp-lite-3.9.1.so"],
+ },
+ android_arm: {
+ srcs: ["arm/libprotobuf-cpp-lite-3.9.1.so"],
+ },
+ },
+
+ shared_libs: [
+ "libc++",
+ "libc",
+ "libdl",
+ "liblog",
+ "libm",
+ "libz",
+ ],
+}