sm6150-common: Shim widevine with libcrypto_shim

The following change
e202e51cb0
removed symbols that our libs require.

Change-Id: I1325c34ecec3d339dd68c665010ecb36fa2e6a29
This commit is contained in:
Michael Bestas 2024-09-11 00:04:13 +03:00 committed by basamaryan
parent dda2d19b56
commit 08a9919d53
No known key found for this signature in database
GPG Key ID: 210D5384FB2A5885

View File

@ -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,
)