From aac4854b45afbfb75237bf00caeb1ddf037c8069 Mon Sep 17 00:00:00 2001 From: Koushik Dutta Date: Wed, 16 Nov 2011 16:47:53 -0800 Subject: Support custom graphics.c. TWRP does not use this, but is needed for other things that depend on it like charger. Change-Id: Ic7d10e8230151bcc4be6cfa222a1e07231e7139f --- minui/Android.mk | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/minui/Android.mk b/minui/Android.mk index 232ebb2bf..9bda6dd36 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\ -- cgit v1.2.3