summaryrefslogtreecommitdiffstats
path: root/minui/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'minui/Android.mk')
-rw-r--r--minui/Android.mk7
1 files changed, 5 insertions, 2 deletions
diff --git a/minui/Android.mk b/minui/Android.mk
index 7ded5d3d0..4c4d7c7b6 100644
--- a/minui/Android.mk
+++ b/minui/Android.mk
@@ -9,8 +9,11 @@ LOCAL_C_INCLUDES +=\
LOCAL_MODULE := libminui
-ifneq ($(RECOVERY_24_BIT),)
- LOCAL_CFLAGS += -DRECOVERY_24_BIT
+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)