mirror of
https://github.com/Evolution-X-Devices/device_lenovo_zippo
synced 2026-01-27 14:21:16 +00:00
* _ZN7android8hardware7details17gBnConstructorMapE and _ZN7android8hardware7details17gBsConstructorMapE have been removed on Android 13 Signed-off-by: Lucchetto <lucchetto.tie@live.com>
31 lines
794 B
Bash
Executable File
31 lines
794 B
Bash
Executable File
#!/bin/bash
|
|
#
|
|
# Copyright (C) 2016 The CyanogenMod Project
|
|
# Copyright (C) 2017-2021 The LineageOS Project
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
function blob_fixup() {
|
|
case "${1}" in
|
|
# Use VNDK 32 libhidlbase
|
|
vendor/lib64/libvendor.goodix.hardware.biometrics.fingerprint@2.1.so)
|
|
"${PATCHELF_0_8}" --remove-needed "libhidlbase.so" "${2}"
|
|
sed -i "s/libhidltransport.so/libhidlbase-v32.so\x00/" "${2}"
|
|
;;
|
|
esac
|
|
}
|
|
|
|
# If we're being sourced by the common script that we called,
|
|
# stop right here. No need to go down the rabbit hole.
|
|
if [ "${BASH_SOURCE[0]}" != "${0}" ]; then
|
|
return
|
|
fi
|
|
|
|
set -e
|
|
|
|
export DEVICE=zippo
|
|
export DEVICE_COMMON=sm8150-common
|
|
export VENDOR=lenovo
|
|
|
|
"./../../${VENDOR}/${DEVICE_COMMON}/extract-files.sh" "$@" |