Skip to content
Snippets Groups Projects
Commit 63e10733 authored by Michael Bestas's avatar Michael Bestas Committed by FlowerSea0208
Browse files

sm8350-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
parent 94360ffa
No related branches found
No related tags found
No related merge requests found
......@@ -70,6 +70,10 @@ fi
function blob_fixup() {
case "${1}" in
system_ext/lib64/libwfdservice.so|system_ext/lib/libwfdservice.so)
[ "$2" = "" ] && return 0
"${PATCHELF}" --replace-needed "android.media.audio.common.types-V2-cpp.so" "android.media.audio.common.types-V3-cpp.so" "${2}"
;;
system_ext/lib64/libwfdnative.so)
[ "$2" = "" ] && return 0
"${PATCHELF}" --remove-needed "android.hidl.base@1.0.so" "${2}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment