sdm845-common: Add protobuf vendorcompat lib

Our blobs are compiled against libprotobuf-full-cpp.so, but
starting in R, Android is using a versioned naming approach,
e.g. libprotobuf-cpp-full-3.9.1.so.

See https://r.android.com/1109518

The entry in public.libraries.txt is needed to allow the
linker to find and use the lib outside the VNDK.

See https://source.android.com/devices/tech/config/namespaces_libraries

[wight554: added libprotobuf-cpp-lite as well]

Signed-off-by: Volodymyr Zhdanov <wight554@gmail.com>
Change-Id: I28222c89e1e07017867088492a726ee9d45d8e6f
This commit is contained in:
ix5 2020-04-29 21:08:37 +02:00 committed by Bruno Martins
parent a192fe5a3c
commit 67695f4dec
2 changed files with 7 additions and 0 deletions

View File

@ -29,3 +29,5 @@ libarcsoft_supernight.so
libmisegment_front_845.so
libalCFR.so
libbeauty.so
libprotobuf-cpp-full.so
libprotobuf-cpp-lite.so

View File

@ -245,6 +245,11 @@ PRODUCT_PACKAGES += \
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/power/configs/powerhint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/powerhint.xml
# Protobuf
PRODUCT_PACKAGES += \
libprotobuf-cpp-full-vendorcompat \
libprotobuf-cpp-lite-vendorcompat
# QTI
PRODUCT_PACKAGES += \
libqti_vndfwk_detect.vendor