Support custom graphics.c.
TWRP does not use this, but is needed for other things that depend
on it like charger.
Change-Id: Ic7d10e8230151bcc4be6cfa222a1e07231e7139f
diff --git a/minui/Android.mk b/minui/Android.mk
index 232ebb2..9bda6dd 100644
--- a/minui/Android.mk
+++ b/minui/Android.mk
@@ -1,7 +1,12 @@
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
-LOCAL_SRC_FILES := graphics.c events.c resources.c
+LOCAL_SRC_FILES := events.c resources.c
+ifneq ($(BOARD_CUSTOM_GRAPHICS),)
+ LOCAL_SRC_FILES += $(BOARD_CUSTOM_GRAPHICS)
+else
+ LOCAL_SRC_FILES += graphics.c
+endif
LOCAL_C_INCLUDES +=\
external/libpng\