raphael: Make shim for com.qti.node.watermark.so
Signed-off-by: Kujou Yuko <i@779.moe> Change-Id: I47fea33432692a7a76d71db91676cb3a58ac19c7
This commit is contained in:
@@ -579,6 +579,10 @@ PRODUCT_PACKAGES += \
|
||||
PRODUCT_COPY_FILES += \
|
||||
$(LOCAL_PATH)/configs/sensors/hals.conf:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/hals.conf
|
||||
|
||||
# Shim
|
||||
PRODUCT_PACKAGES += \
|
||||
libwatermark_shim
|
||||
|
||||
# Task Profiles
|
||||
PRODUCT_COPY_FILES += \
|
||||
system/core/libprocessgroup/profiles/task_profiles.json:$(TARGET_COPY_OUT_VENDOR)/etc/task_profiles.json \
|
||||
|
||||
@@ -60,6 +60,9 @@ function blob_fixup() {
|
||||
"${PATCHELF}" --remove-needed "libmegface.so" "${2}"
|
||||
"${PATCHELF}" --add-needed "libshim_megvii.so" "${2}"
|
||||
;;
|
||||
vendor/lib64/camera/components/com.qti.node.watermark.so)
|
||||
"${PATCHELF}" --add-needed "libwatermark_shim.so" "${2}"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
|
||||
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() {}
|
||||
Reference in New Issue
Block a user