sm7325-common: Shim widevine with libcrypto_shim

The following change
e202e51cb0
removed symbols that our libs require.

Change-Id: I1325c34ecec3d339dd68c665010ecb36fa2e6a29
This commit is contained in:
Michael Bestas 2024-09-11 00:04:13 +03:00 committed by Nolen Johnson
parent d97869b1bf
commit 6877ce4086
2 changed files with 6 additions and 1 deletions

View File

@ -176,7 +176,8 @@ PRODUCT_PACKAGES += \
# DRM # DRM
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
android.hardware.drm@1.4.vendor \ android.hardware.drm@1.4.vendor \
android.hardware.drm-service.clearkey android.hardware.drm-service.clearkey \
libcrypto_shim
# fastbootd # fastbootd
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \

View File

@ -80,6 +80,10 @@ function blob_fixup() {
[ "$2" = "" ] && return 0 [ "$2" = "" ] && return 0
sed -ni '/default.*fqname/!p' "${2}" sed -ni '/default.*fqname/!p' "${2}"
;; ;;
vendor/lib64/libwvhidl.so)
[ "$2" = "" ] && return 0
grep -q libcrypto_shim.so "${2}" || "${PATCHELF}" --add-needed "libcrypto_shim.so" "${2}"
;;
*) *)
return 1 return 1
;; ;;