From 4dade89a8f62a57f2eb0e4acdad8f16ca3542ffb Mon Sep 17 00:00:00 2001 From: Michael Bestas Date: Sun, 25 Aug 2024 21:46:46 +0300 Subject: [PATCH] Spacewar: Patch libwfdservice to resolve duplicate dependencies Fixes: error: module "libwfdservice" variant "android_arm_armv8-a_cortex-a76_static": depends on multiple versions of the same aidl_interface: android.media.audio.common.types-V2-cpp-source, android.media.audio.common.types-V3-cpp-source Change-Id: I8086a80fcc238d6b03d16640ee2c4e134129bbab --- extract-files.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/extract-files.py b/extract-files.py index 041a537..34e7f0a 100755 --- a/extract-files.py +++ b/extract-files.py @@ -52,6 +52,8 @@ blob_fixups: blob_fixups_user_type = { .add_needed('libcrypto_shim.so'), ('vendor/lib64/libgf_hal.so'): blob_fixup() .sig_replace('72 6F 2E 62 6F 6F 74 2E 66 6C 61 73 68 2E 6C 6F 63 6B 65 64', '72 6F 2E 62 6F 6F 74 6C 6F 61 64 65 72 2E 6C 6F 63 6B 65 64'), + ('system_ext/lib/libwfdservice.so', 'system_ext/lib64/libwfdservice.so'): blob_fixup() + .replace_needed('android.media.audio.common.types-V2-cpp.so', 'android.media.audio.common.types-V4-cpp.so'), } # fmt: skip module = ExtractUtilsModule(