Signed-off-by: David Wronek <david@mainlining.org> Change-Id: I2946525a478c907a2bab56c4636446e0f78295f0
41 lines
949 B
Python
Executable File
41 lines
949 B
Python
Executable File
#!/usr/bin/env -S PYTHONPATH=../../../tools/extract-utils python3
|
|
#
|
|
# SPDX-FileCopyrightText: 2025 The LineageOS Project
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
from extract_utils.file import File
|
|
from extract_utils.fixups_blob import (
|
|
blob_fixup,
|
|
blob_fixups_user_type,
|
|
)
|
|
from extract_utils.fixups_lib import (
|
|
lib_fixup_remove,
|
|
lib_fixups,
|
|
lib_fixups_user_type,
|
|
)
|
|
from extract_utils.main import (
|
|
ExtractUtils,
|
|
ExtractUtilsModule,
|
|
)
|
|
|
|
namespace_imports = [
|
|
'device/samsung/sm8650-common',
|
|
'hardware/qcom-caf/sm8650',
|
|
'hardware/qcom-caf/wlan',
|
|
'hardware/samsung',
|
|
'vendor/qcom/opensource/commonsys/display',
|
|
'vendor/qcom/opensource/commonsys-intf/display',
|
|
'vendor/qcom/opensource/dataservices',
|
|
]
|
|
|
|
module = ExtractUtilsModule(
|
|
'sm8650-common',
|
|
'samsung',
|
|
namespace_imports=namespace_imports,
|
|
)
|
|
|
|
if __name__ == '__main__':
|
|
utils = ExtractUtils.device(module)
|
|
utils.run()
|