diff options
author | Steve Kondik <steve@cyngn.com> | 2016-08-07 23:21:29 -0700 |
---|---|---|
committer | Steve Kondik <steve@cyngn.com> | 2016-08-14 14:10:53 -0700 |
commit | 75956207503ca4f5023c1d2b587594c517e7e28f (patch) | |
tree | 018914747e0ad88ebe3cba5e80c052f7709d4a53 /config | |
parent | 48f8df8ddb2eb3b32dbc44dcb50fcfc01bfbc8bd (diff) | |
download | vendor_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.mk | 4 | ||||
-rw-r--r-- | config/common.mk | 10 |
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 |