summaryrefslogblamecommitdiffstats
path: root/minui/Android.mk
blob: f9afd6ba9090436e06ec30488aa396fa6ac9b84c (plain) (tree)
1
2
3
4
5
6
7
8
9







                                                  
                              

                        




                                                  

     
                               
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)

LOCAL_SRC_FILES := graphics.c events.c resources.c

LOCAL_C_INCLUDES +=\
    external/libpng\
    external/zlib
LOCAL_STATIC_LIBRARY := libpng
LOCAL_MODULE := libminui

ifeq ($(TARGET_RECOVERY_PIXEL_FORMAT),"RGBX_8888")
  LOCAL_CFLAGS += -DRECOVERY_RGBX
endif
ifeq ($(TARGET_RECOVERY_PIXEL_FORMAT),"BGRA_8888")
  LOCAL_CFLAGS += -DRECOVERY_BGRA
endif

include $(BUILD_STATIC_LIBRARY)