summaryrefslogtreecommitdiffstats
path: root/minui/Android.mk
diff options
context:
space:
mode:
authorMatt Mower <mowerm@gmail.com>2014-01-20 23:14:25 +0100
committerJason Riordan <jriordan001@gmail.com>2014-02-06 02:20:46 +0100
commit4a5db2d8b4a24c9fa650d2d439bf0f4ff52afef6 (patch)
treeff69a387e053d81cf34ec00aada1ef7ff2723367 /minui/Android.mk
parentFix error message on split backups (diff)
downloadandroid_bootable_recovery-4a5db2d8b4a24c9fa650d2d439bf0f4ff52afef6.tar
android_bootable_recovery-4a5db2d8b4a24c9fa650d2d439bf0f4ff52afef6.tar.gz
android_bootable_recovery-4a5db2d8b4a24c9fa650d2d439bf0f4ff52afef6.tar.bz2
android_bootable_recovery-4a5db2d8b4a24c9fa650d2d439bf0f4ff52afef6.tar.lz
android_bootable_recovery-4a5db2d8b4a24c9fa650d2d439bf0f4ff52afef6.tar.xz
android_bootable_recovery-4a5db2d8b4a24c9fa650d2d439bf0f4ff52afef6.tar.zst
android_bootable_recovery-4a5db2d8b4a24c9fa650d2d439bf0f4ff52afef6.zip
Diffstat (limited to 'minui/Android.mk')
-rw-r--r--minui/Android.mk12
1 files changed, 10 insertions, 2 deletions
diff --git a/minui/Android.mk b/minui/Android.mk
index d8895873e..704e54177 100644
--- a/minui/Android.mk
+++ b/minui/Android.mk
@@ -31,8 +31,16 @@ else
LOCAL_CFLAGS += -DOVERSCAN_PERCENT=0
endif
-ifneq ($(TARGET_RECOVERY_LCD_BACKLIGHT_PATH),)
- LOCAL_CFLAGS += -DRECOVERY_LCD_BACKLIGHT_PATH=$(TARGET_RECOVERY_LCD_BACKLIGHT_PATH)
+ifneq ($(TW_BRIGHTNESS_PATH),)
+ LOCAL_CFLAGS += -DTW_BRIGHTNESS_PATH=\"$(TW_BRIGHTNESS_PATH)\"
+endif
+ifneq ($(TW_MAX_BRIGHTNESS),)
+ LOCAL_CFLAGS += -DTW_MAX_BRIGHTNESS=$(TW_MAX_BRIGHTNESS)
+else
+ LOCAL_CFLAGS += -DTW_MAX_BRIGHTNESS=255
+endif
+ifneq ($(TW_NO_SCREEN_BLANK),)
+ LOCAL_CFLAGS += -DTW_NO_SCREEN_BLANK
endif
include $(BUILD_STATIC_LIBRARY)