sm7250-common: Make shim for com.mi.node.watermark.so
Signed-off-by: Kujou Yuko <i@779.moe> Change-Id: I47fea33432692a7a76d71db91676cb3a58ac19c7
This commit is contained in:
parent
6268953703
commit
79ad3d7105
@ -59,6 +59,13 @@ if [ -z "${SRC}" ]; then
|
||||
fi
|
||||
|
||||
if [ -z "${ONLY_TARGET}" ]; then
|
||||
function blob_fixup() {
|
||||
case "${1}" in
|
||||
vendor/lib64/camera/components/com.mi.node.watermark.so)
|
||||
"${PATCHELF}" --add-needed "libwatermark_shim.so" "${2}"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
# Initialize the helper for common device
|
||||
setup_vendor "${DEVICE_COMMON}" "${VENDOR}" "${ANDROID_ROOT}" true "${CLEAN_VENDOR}"
|
||||
|
||||
|
11
libshim/Android.bp
Normal file
11
libshim/Android.bp
Normal file
@ -0,0 +1,11 @@
|
||||
//
|
||||
// Copyright (C) 2021 The LineageOS Project
|
||||
//
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
cc_library_shared {
|
||||
name: "libwatermark_shim",
|
||||
srcs: ["libwatermark_shim.c"],
|
||||
vendor: true,
|
||||
}
|
1
libshim/libwatermark_shim.c
Normal file
1
libshim/libwatermark_shim.c
Normal file
@ -0,0 +1 @@
|
||||
void _ZN4piex19GetPreviewImageDataEPNS_15StreamInterfaceEPNS_16PreviewImageDataE() {}
|
Loading…
Reference in New Issue
Block a user