summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-06-23 23:43:58 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2017-06-23 23:44:01 +0200
commiteef231567cc9f8d8ce030c5975262872d031f7ca (patch)
tree8e1d0c8d732a5e94a669a3d2b2804b10c6c951ae /Android.mk
parentMerge "Remove the obsolete package_extract_dir() test" (diff)
parentUse Makefile variables to specify margin settings. (diff)
downloadandroid_bootable_recovery-eef231567cc9f8d8ce030c5975262872d031f7ca.tar
android_bootable_recovery-eef231567cc9f8d8ce030c5975262872d031f7ca.tar.gz
android_bootable_recovery-eef231567cc9f8d8ce030c5975262872d031f7ca.tar.bz2
android_bootable_recovery-eef231567cc9f8d8ce030c5975262872d031f7ca.tar.lz
android_bootable_recovery-eef231567cc9f8d8ce030c5975262872d031f7ca.tar.xz
android_bootable_recovery-eef231567cc9f8d8ce030c5975262872d031f7ca.tar.zst
android_bootable_recovery-eef231567cc9f8d8ce030c5975262872d031f7ca.zip
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk12
1 files changed, 12 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 5348e365e..5ce9d335c 100644
--- a/Android.mk
+++ b/Android.mk
@@ -93,6 +93,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 \