commit | 12996a3e30838d1807407dd9141531878caf3ff0 | [log] [tgz] |
---|---|---|
author | ix5 <ix5@users.noreply.github.com> | Wed Apr 29 21:08:37 2020 +0200 |
committer | Tim Zimmermann <tim@linux4.de> | Tue Dec 22 08:23:45 2020 +0100 |
tree | 93d09a1167afcb8bc2279a6b687e71b44878a983 | |
parent | 5703afd9b0557c5d675ceaea9779b40a597d2043 [diff] |
gta4xl-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
diff --git a/config/linker/public.libraries.txt b/config/linker/public.libraries.txt index ac0fb67..9c84846 100644 --- a/config/linker/public.libraries.txt +++ b/config/linker/public.libraries.txt
@@ -2,3 +2,5 @@ libOpenCL.so libOpenCL.so.1 libOpenCL.so.1.1 +libprotobuf-cpp-full.so +libprotobuf-cpp-lite.so
diff --git a/platform/product_packages.mk b/platform/product_packages.mk index ec09f9d..a948647 100644 --- a/platform/product_packages.mk +++ b/platform/product_packages.mk
@@ -121,6 +121,11 @@ PRODUCT_PACKAGES += \ android.hardware.power@1.3-service.samsung-libperfmgr +### PROTOBUF +PRODUCT_PACKAGES += \ + libprotobuf-cpp-full-vendorcompat \ + libprotobuf-cpp-lite-vendorcompat + ### RENDERSCRIPT PRODUCT_PACKAGES += \ android.hardware.renderscript@1.0-impl