summaryrefslogtreecommitdiffstats
path: root/power/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'power/Android.mk')
-rw-r--r--power/Android.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/power/Android.mk b/power/Android.mk
index 2aaaac8..cf968fc 100644
--- a/power/Android.mk
+++ b/power/Android.mk
@@ -24,6 +24,10 @@ LOCAL_SHARED_LIBRARIES := liblog libcutils
LOCAL_SRC_FILES := power.c
LOCAL_MODULE_TAGS := optional
+ifneq ($(TARGET_TAP_TO_WAKE_NODE),)
+ LOCAL_CFLAGS := -DDT2W_PATH=\"$(TARGET_DT2W_PATH)\"
+endif
+
include $(BUILD_SHARED_LIBRARY)
endif