dopinder: Shim libvendorfont with libcrypto_shim
authorMichael Bestas <mkbestas@gmail.com>
Tue, 10 Sep 2024 21:04:13 +0000 (00:04 +0300)
committerNolen Johnson <johnsonnolen@gmail.com>
Sun, 27 Oct 2024 21:26:36 +0000 (21:26 +0000)
The following change
https://github.com/google/boringssl/commit/e202e51cb0912f36dafbd2e67cf04d6ec82f3180
removed symbols that our libs require.

Change-Id: I1325c34ecec3d339dd68c665010ecb36fa2e6a29

extract-files.sh

index 51183aa4fac28144e5c3c985d20d2dd06cd2b1d7..21d55ab525d91882fecf427c6d6cd9cbd39d173d 100755 (executable)
@@ -8,6 +8,10 @@
 
 function blob_fixup() {
     case "${1}" in
+        system_ext/lib/libvendorfont.so)
+            [ "$2" = "" ] && return 0
+            "${PATCHELF}" --add-needed "libcrypto_shim.so" "${2}"
+            ;;
         vendor/bin/hw/android.hardware.security.keymint-service.amlogic)
             [ "$2" = "" ] && return 0
             "${PATCHELF}" --replace-needed "android.hardware.security.keymint-V1-ndk_platform.so" "android.hardware.security.keymint-V3-ndk.so" "${2}"