summaryrefslogtreecommitdiffstats
path: root/healthd
diff options
context:
space:
mode:
authorNick Vaccaro <nvaccaro@google.com>2016-11-29 11:28:26 -0800
committerNick Vaccaro <nvaccaro@google.com>2016-11-29 11:28:26 -0800
commit485c647432e2ef8a2ae63691d89cb19c7239d96e (patch)
tree10b45eab9e1c1e260d6852f32799e149b8e246ff /healthd
parentf2fabc992642fc82e41a7e1f111ad8c093ba7732 (diff)
parente3083dec0fc14c125eadf0bdd94bb9c65d2f6d68 (diff)
downloadsystem_core-485c647432e2ef8a2ae63691d89cb19c7239d96e.tar.gz
system_core-485c647432e2ef8a2ae63691d89cb19c7239d96e.tar.bz2
system_core-485c647432e2ef8a2ae63691d89cb19c7239d96e.zip
resolve merge conflicts of e3083de to nyc-mr1-dev-plus-aosp
Change-Id: Iba35210bc2133d79b2ba8ceb63e355507c7c0f03
Diffstat (limited to 'healthd')
-rw-r--r--healthd/Android.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/healthd/Android.mk b/healthd/Android.mk
index 1c130dc1b..b292725b9 100644
--- a/healthd/Android.mk
+++ b/healthd/Android.mk
@@ -21,6 +21,10 @@ LOCAL_STATIC_LIBRARIES := libutils libbase libbinder
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 \