aboutsummaryrefslogtreecommitdiff
path: root/msm8996.mk
diff options
context:
space:
mode:
authorix5 <ix5@users.noreply.github.com>2020-04-29 21:08:37 +0200
committerDavide Garberi <dade.garberi@gmail.com>2023-08-12 21:49:15 +0200
commit0a2e38ca6a85947ee53e8e2e9c7f75823fdb6636 (patch)
tree83bee892273d4b05ef68628254e9904c6e4c9a21 /msm8996.mk
parent41ee63f11fb417402a3c70db18381567e175a8cf (diff)
msm8996-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
Diffstat (limited to '')
-rwxr-xr-xmsm8996.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/msm8996.mk b/msm8996.mk
index 3d36c81..e376e64 100755
--- a/msm8996.mk
+++ b/msm8996.mk
@@ -314,6 +314,11 @@ PRODUCT_COPY_FILES += \
system/core/libprocessgroup/profiles/cgroups_28.json:$(TARGET_COPY_OUT_VENDOR)/etc/cgroups.json \
system/core/libprocessgroup/profiles/task_profiles_28.json:$(TARGET_COPY_OUT_VENDOR)/etc/task_profiles.json
+# Protobuf
+PRODUCT_PACKAGES += \
+ libprotobuf-cpp-full-vendorcompat \
+ libprotobuf-cpp-lite-vendorcompat
+
# QCOM
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/qti_whitelist.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/sysconfig/qti_whitelist.xml \