miuicamera-dipper: Fix ELF checks for libcamera_960_mpbase and libjni_jpegutil_xiaomi

Change-Id: I20f41d078e857de7b6610bff778de4bc2918957d
This commit is contained in:
Raya Mahardika committed 2026-10-02 05:24:37 +00:00
1 parent 66cfb5e929
commit c5077cebc5
3 files changed
+4 -2

No files matched your search

+4 -2
View File
@@ -9,7 +9,6 @@ from extract_utils.fixups_blob import (
blob_fixups_user_type,
)
from extract_utils.fixups_lib import (
lib_fixup_remove,
lib_fixups,
lib_fixups_user_type,
)
@@ -24,10 +23,13 @@ namespace_imports = [
lib_fixups: lib_fixups_user_type = {
**lib_fixups,
'libhidltransport': lib_fixup_remove,
}
blob_fixups: blob_fixups_user_type = {
'system/lib64/libcamera_960_mpbase.so': blob_fixup()
.fix_soname(),
'system/lib64/libjni_jpegutil_xiaomi.so': blob_fixup()
.remove_needed('libhidltransport.so'),
'system/priv-app/MiuiCamera/MiuiCamera.apk': blob_fixup()
.apktool_patch('patches'),
} # fmt: skip