summaryrefslogtreecommitdiffstats
path: root/minuitwrp
diff options
context:
space:
mode:
authorVineeth Pillai <vineethrp@gmail.com>2020-01-02 18:34:27 +0100
committerVineeth Pillai <vineethrp@gmail.com>2020-01-02 18:46:50 +0100
commit00c2198963a94ae8ea63d1c7b24837ffeb58378d (patch)
tree83c968cdf6b0a57cc8462d78a8c8291de1dbc23a /minuitwrp
parentMerge "ldconfig: add /sbin to search.paths" into android-9.0 (diff)
downloadandroid_bootable_recovery-00c2198963a94ae8ea63d1c7b24837ffeb58378d.tar
android_bootable_recovery-00c2198963a94ae8ea63d1c7b24837ffeb58378d.tar.gz
android_bootable_recovery-00c2198963a94ae8ea63d1c7b24837ffeb58378d.tar.bz2
android_bootable_recovery-00c2198963a94ae8ea63d1c7b24837ffeb58378d.tar.lz
android_bootable_recovery-00c2198963a94ae8ea63d1c7b24837ffeb58378d.tar.xz
android_bootable_recovery-00c2198963a94ae8ea63d1c7b24837ffeb58378d.tar.zst
android_bootable_recovery-00c2198963a94ae8ea63d1c7b24837ffeb58378d.zip
Diffstat (limited to 'minuitwrp')
-rw-r--r--minuitwrp/Android.mk18
1 files changed, 18 insertions, 0 deletions
diff --git a/minuitwrp/Android.mk b/minuitwrp/Android.mk
index 2ca2091e1..9f5649357 100644
--- a/minuitwrp/Android.mk
+++ b/minuitwrp/Android.mk
@@ -145,6 +145,24 @@ endif
ifeq ($(TW_SCREEN_BLANK_ON_BOOT), true)
LOCAL_CFLAGS += -DTW_SCREEN_BLANK_ON_BOOT
endif
+ifeq ($(TW_NO_SCREEN_BLANK), true)
+ LOCAL_CFLAGS += -DTW_NO_SCREEN_BLANK
+endif
+ifneq ($(TW_BRIGHTNESS_PATH),)
+ LOCAL_CFLAGS += -DTW_BRIGHTNESS_PATH=\"$(TW_BRIGHTNESS_PATH)\"
+endif
+ifneq ($(TW_SECONDARY_BRIGHTNESS_PATH),)
+ LOCAL_CFLAGS += -DTW_SECONDARY_BRIGHTNESS_PATH=\"$(TW_SECONDARY_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_DEFAULT_BRIGHTNESS),)
+ LOCAL_CFLAGS += -DTW_DEFAULT_BRIGHTNESS=\"$(TW_DEFAULT_BRIGHTNESS)\"
+endif
+
ifeq ($(TW_FBIOPAN), true)
LOCAL_CFLAGS += -DTW_FBIOPAN
endif