kitakami-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 Joel16
parent 3a91c8a703
commit b79f56d1e6
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,5 @@
libqti-perfd-client.so
libadsprpc.so
libOpenCL.so
libprotobuf-cpp-full.so
libprotobuf-cpp-lite.so

View File

@ -261,6 +261,11 @@ PRODUCT_PACKAGES += \
PRODUCT_PACKAGES += \
android.hardware.power@1.2-service-qti
# Protobuf
PRODUCT_PACKAGES += \
libprotobuf-cpp-full-vendorcompat \
libprotobuf-cpp-lite-vendorcompat
# Public Libraries
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/public.libraries.txt:$(TARGET_COPY_OUT_VENDOR)/etc/public.libraries.txt