summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-08-03 02:11:04 +0200
committerTao Bao <tbao@google.com>2017-08-13 20:24:33 +0200
commit016120f395795fb1be600c1e85f4dfd324797122 (patch)
tree7937b8d5b1042be36f67e9bec25e17c0f5a7521d /Android.mk
parentupdate_verifier: Support androidboot.veritymode being empty or 'disabled'. (diff)
downloadandroid_bootable_recovery-016120f395795fb1be600c1e85f4dfd324797122.tar
android_bootable_recovery-016120f395795fb1be600c1e85f4dfd324797122.tar.gz
android_bootable_recovery-016120f395795fb1be600c1e85f4dfd324797122.tar.bz2
android_bootable_recovery-016120f395795fb1be600c1e85f4dfd324797122.tar.lz
android_bootable_recovery-016120f395795fb1be600c1e85f4dfd324797122.tar.xz
android_bootable_recovery-016120f395795fb1be600c1e85f4dfd324797122.tar.zst
android_bootable_recovery-016120f395795fb1be600c1e85f4dfd324797122.zip
Diffstat (limited to '')
-rw-r--r--Android.mk23
1 files changed, 22 insertions, 1 deletions
diff --git a/Android.mk b/Android.mk
index 967b9dfbe..b1ee2440b 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,18 @@ 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_VR_STEREO_OFFSET),)
LOCAL_CFLAGS += -DRECOVERY_UI_VR_STEREO_OFFSET=$(TARGET_RECOVERY_UI_VR_STEREO_OFFSET)
else
@@ -216,6 +227,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)