summaryrefslogtreecommitdiffstats
path: root/minui/Android.mk
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-10-05 21:20:02 +0200
committerandroid-build-merger <android-build-merger@google.com>2017-10-05 21:20:02 +0200
commitb59132d66c5e77970d05d195210872987cf0e69c (patch)
tree9f618b633bd4fffbe1602a4cc7e8eb787061788b /minui/Android.mk
parentMerge "Revert "Move error_code.h into otautil."" am: b23d29642d am: b87edb00dc am: 4f63cc5e09 (diff)
parentMerge "graphics: add rotation logic" am: 9baa19012a am: 284df0abcd (diff)
downloadandroid_bootable_recovery-b59132d66c5e77970d05d195210872987cf0e69c.tar
android_bootable_recovery-b59132d66c5e77970d05d195210872987cf0e69c.tar.gz
android_bootable_recovery-b59132d66c5e77970d05d195210872987cf0e69c.tar.bz2
android_bootable_recovery-b59132d66c5e77970d05d195210872987cf0e69c.tar.lz
android_bootable_recovery-b59132d66c5e77970d05d195210872987cf0e69c.tar.xz
android_bootable_recovery-b59132d66c5e77970d05d195210872987cf0e69c.tar.zst
android_bootable_recovery-b59132d66c5e77970d05d195210872987cf0e69c.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.