diff --git a/extract-files.py b/extract-files.py index dc4976c..9c409e8 100755 --- a/extract-files.py +++ b/extract-files.py @@ -4,6 +4,10 @@ # SPDX-License-Identifier: Apache-2.0 # +from extract_utils.fixups_blob import ( + blob_fixup, + blob_fixups_user_type, +) from extract_utils.fixups_lib import ( lib_fixup_remove, lib_fixups, @@ -41,9 +45,16 @@ lib_fixups: lib_fixups_user_type = { ): lib_fixup_remove, } + +blob_fixups: blob_fixups_user_type = { + ('vendor/lib64/mediadrm/libwvdrmengine.so', 'vendor/lib64/libwvhidl.so'): blob_fixup() + .add_needed('libcrypto_shim.so'), +} # fmt: skip + module = ExtractUtilsModule( 'sm6150-common', 'xiaomi', + blob_fixups=blob_fixups, lib_fixups=lib_fixups, namespace_imports=namespace_imports, )