summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-08-22 19:36:06 +0200
committerAndroid (Google) Code Review <android-gerrit@google.com>2017-08-22 19:36:06 +0200
commit2e1b3a418e9de29fcb4d75b769974e46395ce6cd (patch)
tree422cef83fa228cfb2a2464c6a7f49e6b5d856506 /Android.mk
parentscreen_ui: Fix a case that may truncate the last char. (diff)
parentwear_ui: Expose menu_unusable_rows via Makefile var. (diff)
downloadandroid_bootable_recovery-2e1b3a418e9de29fcb4d75b769974e46395ce6cd.tar
android_bootable_recovery-2e1b3a418e9de29fcb4d75b769974e46395ce6cd.tar.gz
android_bootable_recovery-2e1b3a418e9de29fcb4d75b769974e46395ce6cd.tar.bz2
android_bootable_recovery-2e1b3a418e9de29fcb4d75b769974e46395ce6cd.tar.lz
android_bootable_recovery-2e1b3a418e9de29fcb4d75b769974e46395ce6cd.tar.xz
android_bootable_recovery-2e1b3a418e9de29fcb4d75b769974e46395ce6cd.tar.zst
android_bootable_recovery-2e1b3a418e9de29fcb4d75b769974e46395ce6cd.zip
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk29
1 files changed, 28 insertions, 1 deletions
diff --git a/Android.mk b/Android.mk
index 967b9dfbe..776e6ea19 100644
--- a/Android.mk
+++ b/Android.mk
@@ -79,7 +79,6 @@ LOCAL_SRC_FILES := \
ui.cpp \
vr_ui.cpp \
wear_ui.cpp \
- wear_touch.cpp \
LOCAL_MODULE := recovery
@@ -120,6 +119,24 @@ else
LOCAL_CFLAGS += -DRECOVERY_UI_TOUCH_HIGH_THRESHOLD=90
endif
+ifneq ($(TARGET_RECOVERY_UI_PROGRESS_BAR_BASELINE),)
+LOCAL_CFLAGS += -DRECOVERY_UI_PROGRESS_BAR_BASELINE=$(TARGET_RECOVERY_UI_PROGRESS_BAR_BASELINE)
+else
+LOCAL_CFLAGS += -DRECOVERY_UI_PROGRESS_BAR_BASELINE=259
+endif
+
+ifneq ($(TARGET_RECOVERY_UI_ANIMATION_FPS),)
+LOCAL_CFLAGS += -DRECOVERY_UI_ANIMATION_FPS=$(TARGET_RECOVERY_UI_ANIMATION_FPS)
+else
+LOCAL_CFLAGS += -DRECOVERY_UI_ANIMATION_FPS=30
+endif
+
+ifneq ($(TARGET_RECOVERY_UI_MENU_UNUSABLE_ROWS),)
+LOCAL_CFLAGS += -DRECOVERY_UI_MENU_UNUSABLE_ROWS=$(TARGET_RECOVERY_UI_MENU_UNUSABLE_ROWS)
+else
+LOCAL_CFLAGS += -DRECOVERY_UI_MENU_UNUSABLE_ROWS=9
+endif
+
ifneq ($(TARGET_RECOVERY_UI_VR_STEREO_OFFSET),)
LOCAL_CFLAGS += -DRECOVERY_UI_VR_STEREO_OFFSET=$(TARGET_RECOVERY_UI_VR_STEREO_OFFSET)
else
@@ -216,6 +233,16 @@ LOCAL_STATIC_LIBRARIES := \
LOCAL_CFLAGS := -Werror
include $(BUILD_STATIC_LIBRARY)
+# Wear default device
+# ===============================
+include $(CLEAR_VARS)
+LOCAL_SRC_FILES := wear_device.cpp
+
+# Should match TARGET_RECOVERY_UI_LIB in BoardConfig.mk.
+LOCAL_MODULE := librecovery_ui_wear
+
+include $(BUILD_STATIC_LIBRARY)
+
# vr headset default device
# ===============================
include $(CLEAR_VARS)