summaryrefslogtreecommitdiffstats
path: root/minui/Android.mk
diff options
context:
space:
mode:
authorDees Troy <dees_troy@teamw.in>2014-02-06 20:09:42 +0100
committerGerrit Code Review <gerrit2@gerrit>2014-02-06 20:09:42 +0100
commit5760002161917aa458ecbcd9082d660e2cf0272d (patch)
tree35fd7af3677b6f9a3a07f04cb35fed5cd051f592 /minui/Android.mk
parentMerge "Don't switch between fast and normal scroll during drag in listviews" into android-4.4 (diff)
parentminui: adapt backlight blanking commit to TWRP (diff)
downloadandroid_bootable_recovery-5760002161917aa458ecbcd9082d660e2cf0272d.tar
android_bootable_recovery-5760002161917aa458ecbcd9082d660e2cf0272d.tar.gz
android_bootable_recovery-5760002161917aa458ecbcd9082d660e2cf0272d.tar.bz2
android_bootable_recovery-5760002161917aa458ecbcd9082d660e2cf0272d.tar.lz
android_bootable_recovery-5760002161917aa458ecbcd9082d660e2cf0272d.tar.xz
android_bootable_recovery-5760002161917aa458ecbcd9082d660e2cf0272d.tar.zst
android_bootable_recovery-5760002161917aa458ecbcd9082d660e2cf0272d.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)