power: Add support for tap-to-wake feature control
Co-authored-by: Arian <arian.kulmer@web.de>
Co-authored-by: LuK1337 <priv.luk@gmail.com>
Change-Id: I545902b29f4828c127bc32def6e30b67ce4a3aa7
diff --git a/Android.mk b/Android.mk
index a61b8fa..7445d14 100644
--- a/Android.mk
+++ b/Android.mk
@@ -77,6 +77,10 @@
LOCAL_SRC_FILES += power-msmnile.c
endif
+ifneq ($(TARGET_TAP_TO_WAKE_NODE),)
+ LOCAL_CFLAGS += -DTAP_TO_WAKE_NODE=\"$(TARGET_TAP_TO_WAKE_NODE)\"
+endif
+
ifeq ($(TARGET_USES_INTERACTION_BOOST),true)
LOCAL_CFLAGS += -DINTERACTION_BOOST
endif