Spacewar: Change the soname of fingerprint.default for overriding targets

* This was our last overriding target so we can unset
   BUILD_BROKEN_DUP_RULES.

Change-Id: I1ceec716fda252232798c89f4c629ef6c0ccabcc
This commit is contained in:
Davide Garberi
2020-07-14 00:32:54 +02:00
committed by Kujou Yuko
parent 11370814ab
commit c64fa6438f
3 changed files with 4 additions and 2 deletions

View File

@@ -41,7 +41,6 @@ TARGET_BOOTLOADER_BOARD_NAME := lahaina
TARGET_NO_BOOTLOADER := true
# Build
BUILD_BROKEN_DUP_RULES := true
BUILD_BROKEN_ELF_PREBUILT_PRODUCT_COPY_FILES := true
# Kernel

View File

@@ -58,6 +58,9 @@ function blob_fixup() {
system_ext/lib/libwfdnative.so | system_ext/lib64/libwfdnative.so)
"${PATCHELF}" --remove-needed "android.hidl.base@1.0.so" "${2}"
;;
vendor/lib64/hw/fingerprint.lahaina.so)
"${PATCHELF}" --set-soname "fingerprint.lahaina.so" "${2}"
;;
vendor/lib64/libgf_hal.so)
sed -i "s|ro.boot.flash.locked|ro.bootloader.locked|g" "${2}"
;;

View File

@@ -735,7 +735,7 @@ vendor/lib64/vendor.qti.esepowermanager@1.1.so
vendor/bin/hw/android.hardware.biometrics.fingerprint@2.3-service
vendor/etc/init/android.hardware.biometrics.fingerprint@2.3-service.rc
vendor/etc/vintf/manifest/android.hardware.biometrics.fingerprint@2.3-service.xml
vendor/lib64/hw/fingerprint.default.so
vendor/lib64/hw/fingerprint.default.so:vendor/lib64/hw/fingerprint.lahaina.so
vendor/lib64/libgf_hal.so
vendor/lib64/libvendor.goodix.hardware.biometrics.fingerprint@2.1.so