mirror of
https://github.com/CTCaer/CTCaer-CWM.git
synced 2024-11-27 03:50:36 +00:00
8310bc1d0c
Change-Id: Id0dbbfb419b5f4723a7f7af3c009612b8903a1b4
33 lines
849 B
Makefile
33 lines
849 B
Makefile
LOCAL_PATH := $(call my-dir)
|
|
include $(CLEAR_VARS)
|
|
|
|
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\
|
|
external/zlib
|
|
|
|
LOCAL_MODULE := libminui
|
|
|
|
# This used to compare against values in double-quotes (which are just
|
|
# ordinary characters in this context). Strip double-quotes from the
|
|
# value so that either will work.
|
|
|
|
ifeq ($(subst ",,$(TARGET_RECOVERY_PIXEL_FORMAT)),RGBX_8888)
|
|
LOCAL_CFLAGS += -DRECOVERY_RGBX
|
|
endif
|
|
ifeq ($(subst ",,$(TARGET_RECOVERY_PIXEL_FORMAT)),BGRA_8888)
|
|
LOCAL_CFLAGS += -DRECOVERY_BGRA
|
|
endif
|
|
|
|
ifneq ($(BOARD_USE_CUSTOM_RECOVERY_FONT),)
|
|
LOCAL_CFLAGS += -DBOARD_USE_CUSTOM_RECOVERY_FONT=$(BOARD_USE_CUSTOM_RECOVERY_FONT)
|
|
endif
|
|
|
|
include $(BUILD_STATIC_LIBRARY)
|