exynos9610: copy vndk29 libprotobuf-cpp-lite and patchelf libwvhidl
authorJan Altensen <info@stricted.net>
Mon, 12 Oct 2020 21:01:55 +0000 (23:01 +0200)
committerJan Altensen <info@stricted.net>
Wed, 23 Dec 2020 21:20:17 +0000 (22:20 +0100)
Change-Id: I22aa2e9f1bd26fe45318e9e04bcc79e6201114a3

common.mk
extract-files.sh

index d78ac1ded60e76d985a95917baf73ad378a1dd1b..6d7ba7e5ec0ec888b99096dc1e7d69d9d4c3990d 100644 (file)
--- a/common.mk
+++ b/common.mk
@@ -279,6 +279,10 @@ PRODUCT_PACKAGES += \
     android.hardware.power@1.0-impl \
     android.hardware.power@1.0-service
 
+# Protobuf
+PRODUCT_COPY_FILES += \
+    prebuilts/vndk/v29/arm64/arch-arm-armv8-a/shared/vndk-core/libprotobuf-cpp-lite.so:$(TARGET_COPY_OUT_VENDOR)/lib/libprotobuf-cpp-lite-v29.so
+
 # Public Libraries
 PRODUCT_COPY_FILES += \
     $(COMMON_PATH)/configs/public.libraries.txt:$(TARGET_COPY_OUT_VENDOR)/etc/public.libraries.txt
index fe0a32e0b32c1afd2b66884fc20853c8ee1cff1a..d37e114b139c65633dea72d1f82aad4cfb086402 100755 (executable)
@@ -134,4 +134,6 @@ patchelf --remove-needed libhwbinder.so $BLOB_ROOT/vendor/lib64/vendor.samsung_s
 patchelf --remove-needed libhwbinder.so $BLOB_ROOT/vendor/lib64/vendor.samsung_slsi.telephony.hardware.radio@1.1.so
 patchelf --remove-needed libhwbinder.so $BLOB_ROOT/vendor/lib64/vendor.samsung_slsi.telephony.hardware.radioExternal@1.0.so
 
+patchelf --replace-needed libprotobuf-cpp-lite.so libprotobuf-cpp-lite-v29.so $BLOB_ROOT/vendor/lib/libwvhidl.so
+
 "${MY_DIR}/setup-makefiles.sh"