blob: 232ebb2bf369180510129c13b219df51ddd3f88d [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
Doug Zongker9c5efe62012-07-11 13:21:02 -070012# 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
16ifeq ($(subst ",,$(TARGET_RECOVERY_PIXEL_FORMAT)),RGBX_8888)
Michael Ward9d1bcdf2011-06-22 14:30:34 -070017 LOCAL_CFLAGS += -DRECOVERY_RGBX
18endif
Doug Zongker9c5efe62012-07-11 13:21:02 -070019ifeq ($(subst ",,$(TARGET_RECOVERY_PIXEL_FORMAT)),BGRA_8888)
Michael Ward9d1bcdf2011-06-22 14:30:34 -070020 LOCAL_CFLAGS += -DRECOVERY_BGRA
Doug Zongkerbe3e6f12011-01-13 16:43:44 -080021endif
22
Doug Zongkerc560a672012-12-18 16:31:27 -080023ifneq ($(TARGET_RECOVERY_OVERSCAN_PERCENT),)
24 LOCAL_CFLAGS += -DOVERSCAN_PERCENT=$(TARGET_RECOVERY_OVERSCAN_PERCENT)
25else
26 LOCAL_CFLAGS += -DOVERSCAN_PERCENT=0
27endif
28
The Android Open Source Projectc24a8e62009-03-03 19:28:42 -080029include $(BUILD_STATIC_LIBRARY)