From 9893fce4cde9d111a92c66c080f4ef1df0840e57 Mon Sep 17 00:00:00 2001 From: Michael Bestas Date: Sun, 25 Aug 2024 21:46:46 +0300 Subject: [PATCH] sm8450-common: 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.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/extract-files.sh b/extract-files.sh index 6fc4c5e..0cfdb35 100755 --- a/extract-files.sh +++ b/extract-files.sh @@ -65,6 +65,9 @@ fi function blob_fixup() { case "${1}" in + system_ext/lib64/libwfdservice.so) + "${PATCHELF_0_17_2}" --replace-needed "android.media.audio.common.types-V2-cpp.so" "android.media.audio.common.types-V3-cpp.so" "${2}" + ;; vendor/bin/hw/android.hardware.security.keymint-service-qti|vendor/lib64/libqtikeymint.so) "${PATCHELF_0_17_2}" --replace-needed "android.hardware.security.keymint-V1-ndk_platform.so" "android.hardware.security.keymint-V1-ndk.so" "${2}" "${PATCHELF_0_17_2}" --replace-needed "android.hardware.security.secureclock-V1-ndk_platform.so" "android.hardware.security.secureclock-V1-ndk.so" "${2}"