dre: Shim WFD with libgui_shim/libinput_shim
Change-Id: I42bf06bc6b19942303031ef0147dafa6df127fe5
This commit is contained in:
parent
d8c0f9c89c
commit
867f02e976
1 changed files with 5 additions and 0 deletions
|
@ -67,6 +67,10 @@ function blob_fixup() {
|
||||||
[ "$2" = "" ] && return 0
|
[ "$2" = "" ] && return 0
|
||||||
apktool_patch "${2}" "${MY_DIR}/blob-patches/oplus-ims-ext.patch" -r
|
apktool_patch "${2}" "${MY_DIR}/blob-patches/oplus-ims-ext.patch" -r
|
||||||
;;
|
;;
|
||||||
|
system_ext/lib/libwfdmmsrc_system.so)
|
||||||
|
[ "$2" = "" ] && return 0
|
||||||
|
grep -q "libgui_shim.so" "${2}" || "${PATCHELF}" --add-needed "libgui_shim.so" "${2}"
|
||||||
|
;;
|
||||||
system_ext/lib64/libwfdservice.so|system_ext/lib/libwfdservice.so)
|
system_ext/lib64/libwfdservice.so|system_ext/lib/libwfdservice.so)
|
||||||
[ "$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}"
|
||||||
|
@ -74,6 +78,7 @@ function blob_fixup() {
|
||||||
system_ext/lib64/libwfdnative.so)
|
system_ext/lib64/libwfdnative.so)
|
||||||
[ "$2" = "" ] && return 0
|
[ "$2" = "" ] && return 0
|
||||||
sed -i "s/android.hidl.base@1.0.so/libhidlbase.so\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00/" "${2}"
|
sed -i "s/android.hidl.base@1.0.so/libhidlbase.so\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00/" "${2}"
|
||||||
|
grep -q "libinput_shim.so" "${2}" || "${PATCHELF}" --add-needed "libinput_shim.so" "${2}"
|
||||||
;;
|
;;
|
||||||
odm/etc/init/android.hardware.drm@1.3-service.widevine.rc)
|
odm/etc/init/android.hardware.drm@1.3-service.widevine.rc)
|
||||||
[ "$2" = "" ] && return 0
|
[ "$2" = "" ] && return 0
|
||||||
|
|
Loading…
Reference in a new issue