2009-03-04 03:28:42 +00:00
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
2011-11-17 00:47:53 +00:00
|
|
|
LOCAL_SRC_FILES := events.c resources.c
|
|
|
|
ifneq ($(BOARD_CUSTOM_GRAPHICS),)
|
|
|
|
LOCAL_SRC_FILES += $(BOARD_CUSTOM_GRAPHICS)
|
|
|
|
else
|
|
|
|
LOCAL_SRC_FILES += graphics.c
|
|
|
|
endif
|
2009-03-04 03:28:42 +00:00
|
|
|
|
|
|
|
LOCAL_C_INCLUDES +=\
|
|
|
|
external/libpng\
|
|
|
|
external/zlib
|
|
|
|
|
|
|
|
LOCAL_MODULE := libminui
|
|
|
|
|
2011-06-22 21:30:34 +00:00
|
|
|
ifeq ($(TARGET_RECOVERY_PIXEL_FORMAT),"RGBX_8888")
|
|
|
|
LOCAL_CFLAGS += -DRECOVERY_RGBX
|
|
|
|
endif
|
|
|
|
ifeq ($(TARGET_RECOVERY_PIXEL_FORMAT),"BGRA_8888")
|
|
|
|
LOCAL_CFLAGS += -DRECOVERY_BGRA
|
2011-01-14 00:43:44 +00:00
|
|
|
endif
|
|
|
|
|
2012-01-15 04:15:17 +00:00
|
|
|
ifeq ($(BOARD_XHDPI_RECOVERY),true)
|
|
|
|
LOCAL_CFLAGS += -DBOARD_XHDPI_RECOVERY
|
|
|
|
endif
|
|
|
|
ifeq ($(BOARD_HDPI_RECOVERY),true)
|
|
|
|
LOCAL_CFLAGS += -DBOARD_HDPI_RECOVERY
|
|
|
|
endif
|
|
|
|
ifeq ($(BOARD_MDPI_RECOVERY),true)
|
|
|
|
LOCAL_CFLAGS += -DBOARD_MDPI_RECOVERY
|
|
|
|
endif
|
|
|
|
ifeq ($(BOARD_LDPI_RECOVERY),true)
|
|
|
|
LOCAL_CFLAGS += -DBOARD_LDPI_RECOVERY
|
|
|
|
endif
|
|
|
|
ifeq ($(BOARD_USE_CUSTOM_FONT),true)
|
|
|
|
LOCAL_CFLAGS += -DBOARD_USE_CUSTOM_FONT
|
|
|
|
endif
|
|
|
|
|
2009-03-04 03:28:42 +00:00
|
|
|
include $(BUILD_STATIC_LIBRARY)
|