blob: f9afd6ba9090436e06ec30488aa396fa6ac9b84c [file] [log] [blame]
The Android Open Source Projectc24a8e62009-03-03 19:28:42 -08001LOCAL_PATH := $(call my-dir)
2include $(CLEAR_VARS)
3
4LOCAL_SRC_FILES := graphics.c events.c resources.c
5
6LOCAL_C_INCLUDES +=\
7 external/libpng\
8 external/zlib
Dees_Troy51a0e822012-09-05 15:24:24 -04009LOCAL_STATIC_LIBRARY := libpng
The Android Open Source Projectc24a8e62009-03-03 19:28:42 -080010LOCAL_MODULE := libminui
11
Michael Ward9d1bcdf2011-06-22 14:30:34 -070012ifeq ($(TARGET_RECOVERY_PIXEL_FORMAT),"RGBX_8888")
13 LOCAL_CFLAGS += -DRECOVERY_RGBX
14endif
15ifeq ($(TARGET_RECOVERY_PIXEL_FORMAT),"BGRA_8888")
16 LOCAL_CFLAGS += -DRECOVERY_BGRA
Doug Zongkerbe3e6f12011-01-13 16:43:44 -080017endif
18
The Android Open Source Projectc24a8e62009-03-03 19:28:42 -080019include $(BUILD_STATIC_LIBRARY)