Support custom graphics.c.

TWRP does not use this, but is needed for other things that depend
on it like charger.

Change-Id: Ic7d10e8230151bcc4be6cfa222a1e07231e7139f
This commit is contained in:
Koushik Dutta
2011-11-16 16:47:53 -08:00
committed by Dees Troy
parent 4168a07310
commit aac4854b45
+6 -1
View File
@@ -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\