summaryrefslogtreecommitdiffstats
path: root/minui/Android.mk
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2017-10-06 10:04:47 +0200
committerandroid-build-team Robot <android-build-team-robot@google.com>2017-10-06 10:04:47 +0200
commit9ffb19e21e3b8d45565b39d35c8948215cb5c657 (patch)
tree9f618b633bd4fffbe1602a4cc7e8eb787061788b /minui/Android.mk
parentSnap for 4375922 from a79c09493e2589d2ca6030a6042a2a566c641833 to pi-release (diff)
parentMerge "graphics: add rotation logic" am: 9baa19012a am: 284df0abcd am: ab19506094 (diff)
downloadandroid_bootable_recovery-9ffb19e21e3b8d45565b39d35c8948215cb5c657.tar
android_bootable_recovery-9ffb19e21e3b8d45565b39d35c8948215cb5c657.tar.gz
android_bootable_recovery-9ffb19e21e3b8d45565b39d35c8948215cb5c657.tar.bz2
android_bootable_recovery-9ffb19e21e3b8d45565b39d35c8948215cb5c657.tar.lz
android_bootable_recovery-9ffb19e21e3b8d45565b39d35c8948215cb5c657.tar.xz
android_bootable_recovery-9ffb19e21e3b8d45565b39d35c8948215cb5c657.tar.zst
android_bootable_recovery-9ffb19e21e3b8d45565b39d35c8948215cb5c657.zip
Diffstat (limited to 'minui/Android.mk')
-rw-r--r--minui/Android.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/minui/Android.mk b/minui/Android.mk
index 1abcf0a7c..1db401f0d 100644
--- a/minui/Android.mk
+++ b/minui/Android.mk
@@ -58,6 +58,12 @@ else
LOCAL_CFLAGS += -DOVERSCAN_PERCENT=0
endif
+ifneq ($(TARGET_RECOVERY_DEFAULT_ROTATION),)
+ LOCAL_CFLAGS += -DDEFAULT_ROTATION=$(TARGET_RECOVERY_DEFAULT_ROTATION)
+else
+ LOCAL_CFLAGS += -DDEFAULT_ROTATION=ROTATION_NONE
+endif
+
include $(BUILD_STATIC_LIBRARY)
# Used by OEMs for factory test images.