1 LOCAL_PATH := $(call my-dir) 2 include $(CLEAR_VARS) 3 4 LOCAL_SRC_FILES := graphics.c events.c resources.c 5 6 LOCAL_C_INCLUDES +=\ 7 external/libpng\ 8 external/zlib 9 10 LOCAL_MODULE := libminui 11 12 # This used to compare against values in double-quotes (which are just 13 # ordinary characters in this context). Strip double-quotes from the 14 # value so that either will work. 15 16 ifeq ($(subst ",,$(TARGET_RECOVERY_PIXEL_FORMAT)),RGBX_8888) 17 LOCAL_CFLAGS += -DRECOVERY_RGBX 18 endif 19 ifeq ($(subst ",,$(TARGET_RECOVERY_PIXEL_FORMAT)),BGRA_8888) 20 LOCAL_CFLAGS += -DRECOVERY_BGRA 21 endif 22 23 ifneq ($(TARGET_RECOVERY_OVERSCAN_PERCENT),) 24 LOCAL_CFLAGS += -DOVERSCAN_PERCENT=$(TARGET_RECOVERY_OVERSCAN_PERCENT) 25 else 26 LOCAL_CFLAGS += -DOVERSCAN_PERCENT=0 27 endif 28 29 include $(BUILD_STATIC_LIBRARY) 30