Disable ELF checks for gpsd

Somehow it depends on multiple versions of the same AIDL interface.
Disable ELF checks and remove the older dependency for now.

Change-Id: Id57ab481b248d4c394597cbb8b15d5b839b0f911
This commit is contained in:
Michael Bestas 2025-03-06 22:48:47 +02:00 committed by Michael Bestas
parent 48aed76157
commit cb75ade8db
No known key found for this signature in database
5 changed files with 14 additions and 2 deletions

View file

@ -17,6 +17,7 @@ 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,
)
@ -45,6 +46,7 @@ lib_fixups: lib_fixups_user_type = {
'com.google.edgetpu_app_service-V3-ndk',
'com.google.edgetpu_vendor_service-V2-ndk',
): lib_fixup_vendor_suffix,
'android.hardware.sensors-V2-ndk': lib_fixup_remove,
}
blob_fixups: blob_fixups_user_type = {
@ -74,7 +76,9 @@ module = ExtractUtilsModule(
def fix_vendor_file_list(file_list: FileList):
# flp.default & gps.default have incorrect SONAME
# gpsd depends on android.hardware.sensors-V2-ndk & android.hardware.sensors-V3-ndk
disable_checkelf_file_paths = [
'vendor/bin/hw/gpsd',
'vendor/lib64/hw/flp.default.so',
'vendor/lib64/hw/gps.default.so',
]