From 75956207503ca4f5023c1d2b587594c517e7e28f Mon Sep 17 00:00:00 2001 From: Steve Kondik Date: Sun, 7 Aug 2016 23:21:29 -0700 Subject: cm: Add custom off-mode charging screen * Moving this to open-source from CyanogenOS :) * Thanks to Chao Chen, Ethan Chen, Pat Erley, Scott Mertz, and Keith Mok for various contributions to this. Change-Id: If79f9c279668d14ee0cde62889bb09e7185ef08c --- config/BoardConfigCM.mk | 4 ++++ config/common.mk | 10 ++++++++++ 2 files changed, 14 insertions(+) create mode 100644 config/BoardConfigCM.mk (limited to 'config') diff --git a/config/BoardConfigCM.mk b/config/BoardConfigCM.mk new file mode 100644 index 0000000..a8bf1ad --- /dev/null +++ b/config/BoardConfigCM.mk @@ -0,0 +1,4 @@ +# Charger +ifneq ($(WITH_CM_CHARGER),false) + BOARD_HAL_STATIC_LIBRARIES := libhealthd.cm +endif diff --git a/config/common.mk b/config/common.mk index 2ee23dd..a0e49ca 100644 --- a/config/common.mk +++ b/config/common.mk @@ -186,6 +186,16 @@ PRODUCT_PACKAGES += \ strace \ pigz +# Custom off-mode charger +ifneq ($(WITH_CM_CHARGER),false) +PRODUCT_PACKAGES += \ + charger_res_images \ + cm_charger_res_images \ + font_log.png \ + libhealthd.cm +endif + +# ExFAT support WITH_EXFAT ?= true ifeq ($(WITH_EXFAT),true) TARGET_USES_EXFAT := true -- cgit v1.1