diff options
author | Doug Zongker <dougz@android.com> | 2012-07-11 22:21:02 +0200 |
---|---|---|
committer | Doug Zongker <dougz@android.com> | 2012-07-11 22:21:02 +0200 |
commit | 9c5efe6bdecfaa37fdc7c552253d2bd53235b117 (patch) | |
tree | 9f8e66758b92fcfd18db572907e7b56c2e5fc7e0 /minui/Android.mk | |
parent | Add mode when open(O_CREAT) is used. (diff) | |
download | android_bootable_recovery-9c5efe6bdecfaa37fdc7c552253d2bd53235b117.tar android_bootable_recovery-9c5efe6bdecfaa37fdc7c552253d2bd53235b117.tar.gz android_bootable_recovery-9c5efe6bdecfaa37fdc7c552253d2bd53235b117.tar.bz2 android_bootable_recovery-9c5efe6bdecfaa37fdc7c552253d2bd53235b117.tar.lz android_bootable_recovery-9c5efe6bdecfaa37fdc7c552253d2bd53235b117.tar.xz android_bootable_recovery-9c5efe6bdecfaa37fdc7c552253d2bd53235b117.tar.zst android_bootable_recovery-9c5efe6bdecfaa37fdc7c552253d2bd53235b117.zip |
Diffstat (limited to 'minui/Android.mk')
-rw-r--r-- | minui/Android.mk | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/minui/Android.mk b/minui/Android.mk index 4c4d7c7b6..285ac62bf 100644 --- a/minui/Android.mk +++ b/minui/Android.mk @@ -9,10 +9,14 @@ LOCAL_C_INCLUDES +=\ LOCAL_MODULE := libminui -ifeq ($(TARGET_RECOVERY_PIXEL_FORMAT),"RGBX_8888") +# This used to compare against values in double-quotes (which are just +# ordinary characters in this context). Strip double-quotes from the +# value so that either will work. + +ifeq ($(subst ",,$(TARGET_RECOVERY_PIXEL_FORMAT)),RGBX_8888) LOCAL_CFLAGS += -DRECOVERY_RGBX endif -ifeq ($(TARGET_RECOVERY_PIXEL_FORMAT),"BGRA_8888") +ifeq ($(subst ",,$(TARGET_RECOVERY_PIXEL_FORMAT)),BGRA_8888) LOCAL_CFLAGS += -DRECOVERY_BGRA endif |