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>
Sun, 1 Nov 2020 02:08:09 +0000 (03:08 +0100)
Change-Id: I22aa2e9f1bd26fe45318e9e04bcc79e6201114a3

common.mk
extract-files.sh

index 3c2286428808133c2a017ce3a8fbbd70c593cb60..6402acf44476cfe2b09b025d4a06c8162bdd471e 100644 (file)
--- a/common.mk
+++ b/common.mk
@@ -278,6 +278,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"