g12a: Resolve all missing symbols from libui
authorBruno Martins <bgcngm@gmail.com>
Sat, 5 Oct 2024 11:26:00 +0000 (12:26 +0100)
committerNolen Johnson <johnsonnolen@gmail.com>
Thu, 10 Oct 2024 19:55:11 +0000 (15:55 -0400)
Fixes errors detected with ELF checks:
error: Unresolved symbol: _ZN7android19GraphicBufferMapper4lockEPK13native_handlejRKNS_4RectEPPvPiS9_
error: Unresolved symbol: _ZN7android19GraphicBufferMapper6unlockEPK13native_handle

Change-Id: I4b5e44c884cc708c98c903eb2621b8b8607f76c9

extract-files.sh

index e7183b02bb414e030a237896ff30d0a12d576cd8..561230218511a5a04cd9ad7b76b64c26d3582547 100755 (executable)
@@ -76,7 +76,9 @@ function blob_fixup() {
              sed -i '/media 0770 media_rw media_rw/d' "${2}"
              sed -i '/setprop ro.crypto.fuse_sdcard true/d' "${2}"
              ;;
-        vendor/lib/hw/camera.amlogic.so|vendor/lib/hw/hwcomposer.amlogic.so|vendor/lib/libOmxCore.so)
+        vendor/lib/hw/camera.amlogic.so | vendor/lib/hw/hwcomposer.amlogic.so | \
+            vendor/lib/libOmxBase.so | vendor/lib/libOmxCore.so | vendor/lib/libOmxVideo.so | \
+            vendor/lib/libmeson_display_service.so)
             [ "$2" = "" ] && return 0
             grep -q "libui_shim.so" "${2}" || "${PATCHELF}" --add-needed "libui_shim.so" "${2}"
             ;;