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:
+6
-1
@@ -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\
|
||||
|
||||
Reference in New Issue
Block a user