From cd5ff264b83eabbd6748e484e70e1054052288b0 Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Thu, 25 Jul 2024 23:27:45 +0800 Subject: [PATCH] LG8n: Build libprotobuf-cpp-full-3.9.1-vendorcompat Change-Id: I0aac742db9c2b4b3e48ee20158f19405863893c2 Signed-off-by: Shirayuki39 --- extract-files.sh | 4 ++++ proprietary-files.txt | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/extract-files.sh b/extract-files.sh index 7e205c8..23f9775 100755 --- a/extract-files.sh +++ b/extract-files.sh @@ -55,6 +55,10 @@ fi function blob_fixup { case "$1" in + vendor/lib*/libwvhidl.so|\ + vendor/lib*/mediadrm/libwvdrmengine.so) + "${PATCHELF}" --replace-needed "libprotobuf-cpp-lite-3.9.1.so" "libprotobuf-cpp-full-3.9.1.so" "${2}" + ;; vendor/bin/hw/android.hardware.vibrator-service.mediatek) "$PATCHELF" --replace-needed "android.hardware.vibrator-V2-ndk_platform.so" "android.hardware.vibrator-V2-ndk.so" "$2" ;; diff --git a/proprietary-files.txt b/proprietary-files.txt index 3965979..7debd84 100644 --- a/proprietary-files.txt +++ b/proprietary-files.txt @@ -2057,11 +2057,11 @@ vendor/lib64/vendor.mediatek.hardware.mdmonitor@1.0.so vendor/bin/hw/android.hardware.drm@1.4-service.widevine vendor/etc/init/android.hardware.drm@1.4-service.widevine.rc -vendor/etc/vintf/manifest/manifest_android.hardware.drm@1.4-service.widevine.xml -vendor/lib64/mediadrm/libwvdrmengine.so +-vendor/lib64/mediadrm/libwvdrmengine.so;REPLACEDEP=libprotobuf-cpp-full-3.9.1:libprotobuf-cpp-full-3.9.1-vendorcompat vendor/lib64/liboemcrypto.so vendor/lib64/libtlcWidevineModularDrm.so vendor/lib64/liburee_meta_drmkeyinstall.so -vendor/lib64/libwvhidl.so +-vendor/lib64/libwvhidl.so;REPLACEDEP=libprotobuf-cpp-full-3.9.1:libprotobuf-cpp-full-3.9.1-vendorcompat # Fingerprint vendor/bin/hw/android.hardware.biometrics.fingerprint@2.1-service