summaryrefslogtreecommitdiffstats
path: root/minui.old/Android.mk
diff options
context:
space:
mode:
authorKra1o5 <kra1o5x@gmail.com>2015-10-14 18:09:54 +0200
committerEthan Yonker <dees_troy@teamw.in>2015-10-14 20:32:03 +0200
commit7756859abe7db5f5ac099adb08822207ec414149 (patch)
tree6d4b8cce0e8a9fddee8c60df26fb4577e0cf1900 /minui.old/Android.mk
parentAdd qcom overlay graphics support to minui (diff)
downloadandroid_bootable_recovery-7756859abe7db5f5ac099adb08822207ec414149.tar
android_bootable_recovery-7756859abe7db5f5ac099adb08822207ec414149.tar.gz
android_bootable_recovery-7756859abe7db5f5ac099adb08822207ec414149.tar.bz2
android_bootable_recovery-7756859abe7db5f5ac099adb08822207ec414149.tar.lz
android_bootable_recovery-7756859abe7db5f5ac099adb08822207ec414149.tar.xz
android_bootable_recovery-7756859abe7db5f5ac099adb08822207ec414149.tar.zst
android_bootable_recovery-7756859abe7db5f5ac099adb08822207ec414149.zip
Diffstat (limited to '')
-rw-r--r--minui.old/Android.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/minui.old/Android.mk b/minui.old/Android.mk
index 7d8e3a7f3..6191448b7 100644
--- a/minui.old/Android.mk
+++ b/minui.old/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