config: make libhealthd.lineage opt-in

Currently broken. Whoever will use it has to fix it.

Change-Id: I029ccf650e1cf4dc1080f7bd8c7000f2955b2a1e
This commit is contained in:
codeworkx
2018-01-06 11:59:30 +01:00
committed by Michael Bestas
parent 1dea800811
commit 9f22e53878
2 changed files with 7 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
# Charger # Charger
ifneq ($(WITH_LINEAGE_CHARGER),false) ifeq ($(WITH_LINEAGE_CHARGER),true)
BOARD_HAL_STATIC_LIBRARIES := libhealthd.lineage BOARD_HAL_STATIC_LIBRARIES := libhealthd.lineage
endif endif

View File

@@ -171,10 +171,13 @@ PRODUCT_PACKAGES += \
wget \ wget \
zip zip
# Custom off-mode charger # Charger
ifneq ($(WITH_LINEAGE_CHARGER),false) PRODUCT_PACKAGES += \
charger_res_images
# Custom off-mode charger
ifeq ($(WITH_LINEAGE_CHARGER),true)
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
charger_res_images \
lineage_charger_res_images \ lineage_charger_res_images \
font_log.png \ font_log.png \
libhealthd.lineage libhealthd.lineage