The Android Open Source Project | c24a8e6 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 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 | |
Doug Zongker | 9c5efe6 | 2012-07-11 13:21:02 -0700 | [diff] [blame] | 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) |
Michael Ward | 9d1bcdf | 2011-06-22 14:30:34 -0700 | [diff] [blame] | 17 | LOCAL_CFLAGS += -DRECOVERY_RGBX |
| 18 | endif |
Doug Zongker | 9c5efe6 | 2012-07-11 13:21:02 -0700 | [diff] [blame] | 19 | ifeq ($(subst ",,$(TARGET_RECOVERY_PIXEL_FORMAT)),BGRA_8888) |
Michael Ward | 9d1bcdf | 2011-06-22 14:30:34 -0700 | [diff] [blame] | 20 | LOCAL_CFLAGS += -DRECOVERY_BGRA |
Doug Zongker | be3e6f1 | 2011-01-13 16:43:44 -0800 | [diff] [blame] | 21 | endif |
| 22 | |
Doug Zongker | c560a67 | 2012-12-18 16:31:27 -0800 | [diff] [blame] | 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 | |
The Android Open Source Project | c24a8e6 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 29 | include $(BUILD_STATIC_LIBRARY) |