sm8350-common: Shim WFD with libgui_shim/libinput_shim

Change-Id: I42bf06bc6b19942303031ef0147dafa6df127fe5
This commit is contained in:
LuK1337 2024-10-12 17:42:02 +02:00 committed by zaidkhan0997
parent c83a1cc499
commit db953c72a4
Signed by: zaidkhan0997
GPG Key ID: 6C50557AD547C980
2 changed files with 7 additions and 2 deletions

View File

@ -74,9 +74,14 @@ function blob_fixup() {
[ "$2" = "" ] && return 0 [ "$2" = "" ] && return 0
"${PATCHELF}" --replace-needed "android.media.audio.common.types-V2-cpp.so" "android.media.audio.common.types-V3-cpp.so" "${2}" "${PATCHELF}" --replace-needed "android.media.audio.common.types-V2-cpp.so" "android.media.audio.common.types-V3-cpp.so" "${2}"
;; ;;
system_ext/lib64/libwfdmmsrc_system.so)
[ "$2" = "" ] && return 0
grep -q "libgui_shim.so" "${2}" || "${PATCHELF}" --add-needed "libgui_shim.so" "${2}"
;;
system_ext/lib64/libwfdnative.so) system_ext/lib64/libwfdnative.so)
[ "$2" = "" ] && return 0 [ "$2" = "" ] && return 0
"${PATCHELF}" --remove-needed "android.hidl.base@1.0.so" "${2}" "${PATCHELF}" --remove-needed "android.hidl.base@1.0.so" "${2}"
grep -q "libinput_shim.so" "${2}" || "${PATCHELF}" --add-needed "libinput_shim.so" "${2}"
;; ;;
vendor/etc/media_lahaina/video_system_specs.json \ vendor/etc/media_lahaina/video_system_specs.json \
|vendor/etc/media_shima_v1/video_system_specs.json \ |vendor/etc/media_shima_v1/video_system_specs.json \