mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-21 19:55:33 -04:00
universal7885: Add blob dependency only when it doesn't exist
Change-Id: I46873a22d11b91a0a7329f075505e53a005f0665 Signed-off-by: SamarV-121 <samarvispute121@pm.me>
This commit is contained in:
parent
36933979a5
commit
00ea8fd0bb
1 changed files with 2 additions and 2 deletions
|
|
@ -23,7 +23,7 @@ source "${HELPER}"
|
|||
function blob_fixup {
|
||||
case "$1" in
|
||||
vendor/lib*/libhifills.so)
|
||||
"$PATCHELF" --add-needed "libunwindstack.so" "$2"
|
||||
grep -q libunwindstack.so "$2" || "$PATCHELF" --add-needed "libunwindstack.so" "$2"
|
||||
;;
|
||||
vendor/lib*/hw/camera.exynos7904.so)
|
||||
"$PATCHELF" --replace-needed "libcamera_client.so" "libcamera_metadata_helper.so" "$2"
|
||||
|
|
@ -34,7 +34,7 @@ function blob_fixup {
|
|||
"$PATCHELF" --remove-needed "libgui.so" "$2"
|
||||
;;
|
||||
vendor/lib*/libsensorlistener.so)
|
||||
"$PATCHELF" --add-needed "libshim_sensorndkbridge.so" "$2"
|
||||
grep -q libshim_sensorndkbridge.so "$2" || "$PATCHELF" --add-needed "libshim_sensorndkbridge.so" "$2"
|
||||
;;
|
||||
vendor/lib*/libwrappergps.so | vendor/lib/hw/audio.primary.exynos7904.so)
|
||||
"$PATCHELF" --replace-needed "libvndsecril-client.so" "libsecril-client.so" "$2"
|
||||
|
|
|
|||
Loading…
Reference in a new issue