mirror of
https://github.com/Anything-at-25-00/android_device_tecno_LG8n.git
synced 2024-11-22 13:46:26 -08:00
LG8n: Provide a static lib for power mode extension
Change-Id: I3e2cf17bf1e733838e9e18afdf3f888e814593dc Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
This commit is contained in:
parent
a22472a4e6
commit
ae5f0bfbdb
|
@ -59,7 +59,7 @@ BUILD_BROKEN_VENDOR_PROPERTY_NAMESPACE := true
|
|||
|
||||
# DT2W
|
||||
TARGET_TAP_TO_WAKE_NODE := /proc/gesture_function
|
||||
TARGET_POWERHAL_MODE_EXT := $(DEVICE_PATH)/power/power-mode.cpp
|
||||
TARGET_POWER_LIBPERFMGR_MODE_EXTENSION_LIB := //$(DEVICE_PATH):libperfmgr-ext-xiaomi
|
||||
|
||||
# DTB
|
||||
BOARD_PREBUILT_DTBOIMAGE := $(KERNEL_PATH)/dtbo.img
|
||||
|
|
11
power/Android.bp
Normal file
11
power/Android.bp
Normal file
|
@ -0,0 +1,11 @@
|
|||
cc_library_static {
|
||||
name: "libperfmgr-ext-xiaomi",
|
||||
vendor: true,
|
||||
srcs: [
|
||||
"power-mode.cpp",
|
||||
],
|
||||
shared_libs: [
|
||||
"android.hardware.power-V4-ndk",
|
||||
"libbase",
|
||||
],
|
||||
}
|
Loading…
Reference in a new issue