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