summaryrefslogtreecommitdiffstats
path: root/healthd
diff options
context:
space:
mode:
authorTreeHugger Robot <treehugger-gerrit@google.com>2016-10-25 04:16:25 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2016-10-25 04:16:25 +0000
commit085c91bedd2da8a944703f14a6dd1fcd0c74cd73 (patch)
treead4b142ee287c7309b7591973dab84441608c216 /healthd
parentcd542213e81c181350231a44a994a2bd562ae085 (diff)
parente3083dec0fc14c125eadf0bdd94bb9c65d2f6d68 (diff)
downloadsystem_core-085c91bedd2da8a944703f14a6dd1fcd0c74cd73.tar.gz
system_core-085c91bedd2da8a944703f14a6dd1fcd0c74cd73.tar.bz2
system_core-085c91bedd2da8a944703f14a6dd1fcd0c74cd73.zip
Merge "Enable CHARGER_ENABLE_SUSPEND to allow suspend" into cw-f-dev
Diffstat (limited to 'healthd')
-rw-r--r--healthd/Android.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/healthd/Android.mk b/healthd/Android.mk
index 9bff767a1..139096206 100644
--- a/healthd/Android.mk
+++ b/healthd/Android.mk
@@ -19,6 +19,10 @@ LOCAL_STATIC_LIBRARIES := libutils
include $(BUILD_STATIC_LIBRARY)
include $(CLEAR_VARS)
+ifeq ($(strip $(BOARD_CHARGER_ENABLE_SUSPEND)),true)
+LOCAL_CFLAGS += -DCHARGER_ENABLE_SUSPEND
+LOCAL_SHARED_LIBRARIES += libsuspend
+endif
LOCAL_SRC_FILES := \
healthd_mode_android.cpp \
healthd_mode_charger.cpp \
@@ -76,7 +80,6 @@ endif
ifneq ($(BOARD_PERIODIC_CHORES_INTERVAL_SLOW),)
LOCAL_CFLAGS += -DBOARD_PERIODIC_CHORES_INTERVAL_SLOW=$(BOARD_PERIODIC_CHORES_INTERVAL_SLOW)
endif
-
LOCAL_C_INCLUDES := bootable/recovery
LOCAL_STATIC_LIBRARIES := \