From 0cbd6bfff0169f80183b9e762af742ee8e3a85b8 Mon Sep 17 00:00:00 2001 From: Michael Bestas Date: Wed, 11 Sep 2024 00:04:13 +0300 Subject: [PATCH] exynos9610-common: Shim libwvhidl with libcrypto_shim The following change https://github.com/google/boringssl/commit/e202e51cb0912f36dafbd2e67cf04d6ec82f3180 removed symbols that our libs require. [npjohnson]: New Change-ID as previous commit utilized the right one. Change-Id: I7548ba52b52800f666ee21dac55760864888f054 --- common.mk | 1 + extract-files.sh | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/common.mk b/common.mk index 701907a..efb6181 100644 --- a/common.mk +++ b/common.mk @@ -132,6 +132,7 @@ PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \ android.hardware.drm-service.clearkey \ android.hardware.drm@1.3.vendor \ + libcrypto_shim \ libprotobuf-cpp-lite-3.9.1-vendorcompat # FastCharge diff --git a/extract-files.sh b/extract-files.sh index bb7e2c3..90779b8 100755 --- a/extract-files.sh +++ b/extract-files.sh @@ -115,6 +115,10 @@ function blob_fixup() { [ "$2" = "" ] && return 0 sed -i 's|/system/framework|/vendor/framework|' "${2}" ;; + vendor/lib*/libwvhidl.so) + [ "$2" = "" ] && return 0 + grep -q libcrypto_shim.so "${2}" || "${PATCHELF}" --add-needed "libcrypto_shim.so" "${2}" + ;; *) return 1 ;; -- 2.20.1