sm6225-common: Use libcrypto-v34 for widevine libs

* The symbol `CBS_init` is no longer exported from latest libcrypto
* libcrypto from VNDK 34 is available in hardware/lineage/compat,
  and we had no problem with it on VNDK 33. Let's use it.

Change-Id: I6e9b0857df4650e8d5d63793716fe84da93ab165
This commit is contained in:
Yumi Yukimura 2024-09-05 00:22:11 +08:00 committed by zlewchan
parent 1a85468eff
commit ae810038e5
2 changed files with 4 additions and 0 deletions

View file

@ -136,6 +136,7 @@ PRODUCT_PACKAGES += \
# DRM
PRODUCT_PACKAGES += \
libcrypto-v34 \
android.hardware.drm-service.clearkey
# Fastbootd

View file

@ -105,6 +105,9 @@ function blob_fixup() {
hexdump -ve '1/1 "%.2X"' "${2}" | sed "s/130A0094/1F2003D5/g" | xxd -r -p > "${EXTRACT_TMP_DIR}/${1##*/}"
mv "${EXTRACT_TMP_DIR}/${1##*/}" "${2}"
;;
vendor/lib64/libwvhidl.so)
"${PATCHELF}" --replace-needed "libcrypto.so" "libcrypto-v34.so" "${2}"
;;
*)
return 1
;;