diff options
author | Tao Bao <tbao@google.com> | 2017-10-05 21:00:50 +0200 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2017-10-05 21:00:50 +0200 |
commit | 9baa19012a535fa158d00fe37f19b1fbae5381cf (patch) | |
tree | 37365d3ee2d344dc4d5aa5222d29e0d26ddd746a /minui/Android.mk | |
parent | Merge "Revert "Move error_code.h into otautil."" (diff) | |
parent | graphics: add rotation logic (diff) | |
download | android_bootable_recovery-9baa19012a535fa158d00fe37f19b1fbae5381cf.tar android_bootable_recovery-9baa19012a535fa158d00fe37f19b1fbae5381cf.tar.gz android_bootable_recovery-9baa19012a535fa158d00fe37f19b1fbae5381cf.tar.bz2 android_bootable_recovery-9baa19012a535fa158d00fe37f19b1fbae5381cf.tar.lz android_bootable_recovery-9baa19012a535fa158d00fe37f19b1fbae5381cf.tar.xz android_bootable_recovery-9baa19012a535fa158d00fe37f19b1fbae5381cf.tar.zst android_bootable_recovery-9baa19012a535fa158d00fe37f19b1fbae5381cf.zip |
Diffstat (limited to 'minui/Android.mk')
-rw-r--r-- | minui/Android.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/minui/Android.mk b/minui/Android.mk index 924698495..9a217a48f 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. |