Enable CHARGER_ENABLE_SUSPEND to allow suspend
am: e3083dec0f
Change-Id: I58f35c426ccd6030664743c3f49adbc5af7102b2
This commit is contained in:
commit
4897bb57e4
1 changed files with 4 additions and 1 deletions
|
|
@ -19,6 +19,10 @@ LOCAL_STATIC_LIBRARIES := libutils
|
||||||
include $(BUILD_STATIC_LIBRARY)
|
include $(BUILD_STATIC_LIBRARY)
|
||||||
|
|
||||||
include $(CLEAR_VARS)
|
include $(CLEAR_VARS)
|
||||||
|
ifeq ($(strip $(BOARD_CHARGER_ENABLE_SUSPEND)),true)
|
||||||
|
LOCAL_CFLAGS += -DCHARGER_ENABLE_SUSPEND
|
||||||
|
LOCAL_SHARED_LIBRARIES += libsuspend
|
||||||
|
endif
|
||||||
LOCAL_SRC_FILES := \
|
LOCAL_SRC_FILES := \
|
||||||
healthd_mode_android.cpp \
|
healthd_mode_android.cpp \
|
||||||
healthd_mode_charger.cpp \
|
healthd_mode_charger.cpp \
|
||||||
|
|
@ -76,7 +80,6 @@ endif
|
||||||
ifneq ($(BOARD_PERIODIC_CHORES_INTERVAL_SLOW),)
|
ifneq ($(BOARD_PERIODIC_CHORES_INTERVAL_SLOW),)
|
||||||
LOCAL_CFLAGS += -DBOARD_PERIODIC_CHORES_INTERVAL_SLOW=$(BOARD_PERIODIC_CHORES_INTERVAL_SLOW)
|
LOCAL_CFLAGS += -DBOARD_PERIODIC_CHORES_INTERVAL_SLOW=$(BOARD_PERIODIC_CHORES_INTERVAL_SLOW)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
LOCAL_C_INCLUDES := bootable/recovery
|
LOCAL_C_INCLUDES := bootable/recovery
|
||||||
|
|
||||||
LOCAL_STATIC_LIBRARIES := \
|
LOCAL_STATIC_LIBRARIES := \
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue