sweet: Enable elfchecks for libgrallocutils

Change-Id: I3719a100caa3535d3f2c27f4d2a0b9f75674d1d7
This commit is contained in:
basamaryan 2024-11-20 03:45:30 -05:00
parent 45b7f50794
commit 8c358a4359
No known key found for this signature in database
GPG Key ID: 210D5384FB2A5885
2 changed files with 3 additions and 6 deletions

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,
)
@ -19,6 +18,7 @@ from extract_utils.main import (
)
namespace_imports = [
'hardware/qcom-caf/sm8150',
'hardware/xiaomi',
'vendor/qcom/opensource/display',
'vendor/xiaomi/sm6150-common',
@ -26,10 +26,8 @@ namespace_imports = [
lib_fixups: lib_fixups_user_type = {
**lib_fixups,
'libgrallocutils': lib_fixup_remove,
}
blob_fixups: blob_fixups_user_type = {
'vendor/etc/init/init.batterysecret.rc': blob_fixup()
.regex_replace(' +seclabel u:r:batterysecret:s0\n', ''),

View File

@ -1,7 +1,6 @@
# These proprietary files are extracted from Redmi Note 10 Pro (codenamed `sweet`) MIUI V14.0.9.0.TKFMIXM, unless pinned
# Current blobs with ELF checks disabled:
# com.qti.chi.override, libmialgoengine depend on libgrallocutils, which is a gnu makefile target
# libalLDC, libalhLDC depend on NDK libnativewindow and build is unable to resolve its symbols
# libarcsoft_hta, libarcsoft_super_night_raw, libhvx_interface, libmialgo_rfs depend on libsdsprpc and build is unable to resolve its symbols
@ -95,7 +94,7 @@ vendor/etc/init/init.batterysecret.rc
# Camera
vendor/lib64/hw/camera.qcom.so
vendor/lib64/hw/com.qti.chi.override.so;DISABLE_CHECKELF
vendor/lib64/hw/com.qti.chi.override.so
vendor/lib64/libFaceGrade.so
vendor/lib64/libPSNPE.so
vendor/lib64/libSNPE.so
@ -133,7 +132,7 @@ vendor/lib64/libmialgo_ie_capture.so
vendor/lib64/libmialgo_rfs.so;DISABLE_CHECKELF
vendor/lib64/libmialgo_sd.so
vendor/lib64/libmialgo_utils.so
vendor/lib64/libmialgoengine.so;DISABLE_CHECKELF
vendor/lib64/libmialgoengine.so
vendor/lib64/libmibokeh_712.so
vendor/lib64/libmpbase.so
vendor/lib64/libmulticam_image_optical_zoom.so