gts3l: Use libcutils-v29.so for libsec-ril.so

Contents from LineageOS/samsung_gts4lv-common, lineage-18.1

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I2e288bd174bda36e99fd9bf3922987eb69593b7b
This commit is contained in:
Deokgyu Yang 2021-05-26 12:34:25 +09:00
parent da2dc83895
commit d4d7275cfd
2 changed files with 4 additions and 0 deletions

View file

@ -380,6 +380,7 @@ PRODUCT_PACKAGES += \
vndk-sp
PRODUCT_COPY_FILES += \
prebuilts/vndk/v29/arm64/arch-arm64-armv8-a/shared/vndk-sp/libcutils.so:$(TARGET_COPY_OUT_SYSTEM_EXT)/lib64/libcutils-v29.so \
prebuilts/vndk/v28/arm64/arch-arm-armv8-a/shared/vndk-core/libprotobuf-cpp-lite.so:$(TARGET_COPY_OUT_VENDOR)/lib/libprotobuf-cpp-lite-v28.so \
prebuilts/vndk/v28/arm64/arch-arm64-armv8-a/shared/vndk-core/libprotobuf-cpp-full.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libprotobuf-cpp-full-v28.so

View file

@ -55,6 +55,9 @@ fi
function blob_fixup() {
case "${1}" in
vendor/lib64/libsec-ril.so)
sed -i "s/libhidltransport.so/libcutils-v29.so\x00\x00\x00/" "${2}"
;;
vendor/lib/libwvhidl.so)
"${PATCHELF}" --replace-needed "libprotobuf-cpp-lite.so" "libprotobuf-cpp-lite-v28.so" "${2}"
;;