summaryrefslogtreecommitdiffstats
path: root/minui/Android.mk
diff options
context:
space:
mode:
authorKra1o5 <kra1o5x@gmail.com>2015-10-14 18:22:42 +0200
committerKra1o5 <kra1o5x@gmail.com>2015-10-14 18:23:23 +0200
commit8499b08b9a16aa0e9e8e90582e8fcfd92b1ae3b1 (patch)
treea6d1850ab7045532fa47c9b6caad257f7dd23143 /minui/Android.mk
parentAdd TW_IGNORE_ABS_MT_TRACKING_ID (diff)
downloadandroid_bootable_recovery-8499b08b9a16aa0e9e8e90582e8fcfd92b1ae3b1.tar
android_bootable_recovery-8499b08b9a16aa0e9e8e90582e8fcfd92b1ae3b1.tar.gz
android_bootable_recovery-8499b08b9a16aa0e9e8e90582e8fcfd92b1ae3b1.tar.bz2
android_bootable_recovery-8499b08b9a16aa0e9e8e90582e8fcfd92b1ae3b1.tar.lz
android_bootable_recovery-8499b08b9a16aa0e9e8e90582e8fcfd92b1ae3b1.tar.xz
android_bootable_recovery-8499b08b9a16aa0e9e8e90582e8fcfd92b1ae3b1.tar.zst
android_bootable_recovery-8499b08b9a16aa0e9e8e90582e8fcfd92b1ae3b1.zip
Diffstat (limited to 'minui/Android.mk')
-rw-r--r--minui/Android.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/minui/Android.mk b/minui/Android.mk
index 7d8e3a7f3..d21f1304a 100644
--- a/minui/Android.mk
+++ b/minui/Android.mk
@@ -41,6 +41,9 @@ LOCAL_MODULE := libminui
# ordinary characters in this context). Strip double-quotes from the
# value so that either will work.
+ifeq ($(subst ",,$(TARGET_RECOVERY_PIXEL_FORMAT)),RGBA_8888)
+ LOCAL_CFLAGS += -DRECOVERY_RGBA
+endif
ifeq ($(subst ",,$(TARGET_RECOVERY_PIXEL_FORMAT)),RGBX_8888)
LOCAL_CFLAGS += -DRECOVERY_RGBX
endif
@@ -107,6 +110,9 @@ LOCAL_SHARED_LIBRARIES := libpng libpixelflinger
# ordinary characters in this context). Strip double-quotes from the
# value so that either will work.
+ifeq ($(subst ",,$(TARGET_RECOVERY_PIXEL_FORMAT)),RGBA_8888)
+ LOCAL_CFLAGS += -DRECOVERY_RGBA
+endif
ifeq ($(subst ",,$(TARGET_RECOVERY_PIXEL_FORMAT)),RGBX_8888)
LOCAL_CFLAGS += -DRECOVERY_RGBX
endif