summaryrefslogtreecommitdiffstats
path: root/minui/Android.mk
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-02-12 18:42:11 +0100
committerAndroid Git Automerger <android-git-automerger@android.com>2015-02-12 18:42:11 +0100
commitf8dd04e1a5f94e7accf65a5375114ac7fa73f828 (patch)
treed89e9626ae07a96f110987fc4a2dad431ae02e91 /minui/Android.mk
parentam 5db3f978: Merge "Fix build when TARGET_USERIMAGES_USE_EXT4 is not defined" (diff)
parentMerge "Fix Droid and animation color in recovery mode" (diff)
downloadandroid_bootable_recovery-f8dd04e1a5f94e7accf65a5375114ac7fa73f828.tar
android_bootable_recovery-f8dd04e1a5f94e7accf65a5375114ac7fa73f828.tar.gz
android_bootable_recovery-f8dd04e1a5f94e7accf65a5375114ac7fa73f828.tar.bz2
android_bootable_recovery-f8dd04e1a5f94e7accf65a5375114ac7fa73f828.tar.lz
android_bootable_recovery-f8dd04e1a5f94e7accf65a5375114ac7fa73f828.tar.xz
android_bootable_recovery-f8dd04e1a5f94e7accf65a5375114ac7fa73f828.tar.zst
android_bootable_recovery-f8dd04e1a5f94e7accf65a5375114ac7fa73f828.zip
Diffstat (limited to 'minui/Android.mk')
-rw-r--r--minui/Android.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/minui/Android.mk b/minui/Android.mk
index aee2a34ab..ddee165f9 100644
--- a/minui/Android.mk
+++ b/minui/Android.mk
@@ -16,6 +16,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)),ABGR_8888)
+ LOCAL_CFLAGS += -DRECOVERY_ABGR
+endif
ifeq ($(subst ",,$(TARGET_RECOVERY_PIXEL_FORMAT)),RGBX_8888)
LOCAL_CFLAGS += -DRECOVERY_RGBX
endif