summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-06-21 03:11:21 +0200
committerTao Bao <tbao@google.com>2017-06-23 18:45:28 +0200
commit855eaffff674f0c90cf6fe107f8d10b50efc3965 (patch)
tree3321376f646731706c186ea61884ee342e1b96f6 /Android.mk
parentscreen_ui: Allow setting screen margin space. (diff)
downloadandroid_bootable_recovery-855eaffff674f0c90cf6fe107f8d10b50efc3965.tar
android_bootable_recovery-855eaffff674f0c90cf6fe107f8d10b50efc3965.tar.gz
android_bootable_recovery-855eaffff674f0c90cf6fe107f8d10b50efc3965.tar.bz2
android_bootable_recovery-855eaffff674f0c90cf6fe107f8d10b50efc3965.tar.lz
android_bootable_recovery-855eaffff674f0c90cf6fe107f8d10b50efc3965.tar.xz
android_bootable_recovery-855eaffff674f0c90cf6fe107f8d10b50efc3965.tar.zst
android_bootable_recovery-855eaffff674f0c90cf6fe107f8d10b50efc3965.zip
Diffstat (limited to '')
-rw-r--r--Android.mk12
1 files changed, 12 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index e619db031..5f3a8a45d 100644
--- a/Android.mk
+++ b/Android.mk
@@ -92,6 +92,18 @@ endif
LOCAL_CFLAGS += -DRECOVERY_API_VERSION=$(RECOVERY_API_VERSION)
LOCAL_CFLAGS += -Wno-unused-parameter -Werror
+ifneq ($(TARGET_RECOVERY_UI_MARGIN_HEIGHT),)
+LOCAL_CFLAGS += -DRECOVERY_UI_MARGIN_HEIGHT=$(TARGET_RECOVERY_UI_MARGIN_HEIGHT)
+else
+LOCAL_CFLAGS += -DRECOVERY_UI_MARGIN_HEIGHT=0
+endif
+
+ifneq ($(TARGET_RECOVERY_UI_MARGIN_WIDTH),)
+LOCAL_CFLAGS += -DRECOVERY_UI_MARGIN_WIDTH=$(TARGET_RECOVERY_UI_MARGIN_WIDTH)
+else
+LOCAL_CFLAGS += -DRECOVERY_UI_MARGIN_WIDTH=0
+endif
+
LOCAL_C_INCLUDES += \
system/vold \