vendor: Add back vendor BoardConfig
- Accidentally removed in one of previous commits
Change-Id: I8441473e75939561815cbfa3ff2a3a2f1693d6ff
Signed-off-by: Jackeagle <jackeagle102@gmail.com>
diff --git a/charger/Android.mk b/charger/Android.mk
index 4934cd6..78a3dcd 100644
--- a/charger/Android.mk
+++ b/charger/Android.mk
@@ -15,8 +15,8 @@
endif
include $(CLEAR_VARS)
-LOCAL_SRC_FILES := healthd_board_cm.cpp
-LOCAL_MODULE := libhealthd.cm
+LOCAL_SRC_FILES := healthd_board_bliss.cpp
+LOCAL_MODULE := libhealthd.bliss
LOCAL_CFLAGS := -Werror
LOCAL_C_INCLUDES := \
system/core/healthd/include \
@@ -48,7 +48,7 @@
define _add-charger-image
include $$(CLEAR_VARS)
-LOCAL_MODULE := vendor_cm_charger_$(notdir $(1))
+LOCAL_MODULE := vendor_bliss_charger_$(notdir $(1))
LOCAL_MODULE_STEM := $(notdir $(1))
_img_modules += $$(LOCAL_MODULE)
LOCAL_SRC_FILES := $1
@@ -64,7 +64,7 @@
$(eval $(call _add-charger-image,$(_img))))
include $(CLEAR_VARS)
-LOCAL_MODULE := cm_charger_res_images
+LOCAL_MODULE := bliss_charger_res_images
LOCAL_MODULE_TAGS := optional
LOCAL_REQUIRED_MODULES := $(_img_modules)
LOCAL_OVERRIDES_PACKAGES := charger_res_images
diff --git a/charger/healthd_board_cm.cpp b/charger/healthd_board_bliss.cpp
similarity index 100%
rename from charger/healthd_board_cm.cpp
rename to charger/healthd_board_bliss.cpp
diff --git a/config/BoardConfigBliss.mk b/config/BoardConfigBliss.mk
new file mode 100644
index 0000000..7ed2c7b
--- /dev/null
+++ b/config/BoardConfigBliss.mk
@@ -0,0 +1,4 @@
+# Charger
+ifneq ($(WITH_BLISS_CHARGER),false)
+ BOARD_HAL_STATIC_LIBRARIES := libhealthd.bliss
+endif