summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorSteve Kondik <steve@cyngn.com>2016-08-07 23:21:29 -0700
committerSteve Kondik <steve@cyngn.com>2016-08-14 14:10:53 -0700
commit75956207503ca4f5023c1d2b587594c517e7e28f (patch)
tree018914747e0ad88ebe3cba5e80c052f7709d4a53 /config
parent48f8df8ddb2eb3b32dbc44dcb50fcfc01bfbc8bd (diff)
downloadvendor_replicant-75956207503ca4f5023c1d2b587594c517e7e28f.zip
vendor_replicant-75956207503ca4f5023c1d2b587594c517e7e28f.tar.gz
vendor_replicant-75956207503ca4f5023c1d2b587594c517e7e28f.tar.bz2
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
Diffstat (limited to 'config')
-rw-r--r--config/BoardConfigCM.mk4
-rw-r--r--config/common.mk10
2 files changed, 14 insertions, 0 deletions
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