diff options
author | Tao Bao <tbao@google.com> | 2017-08-22 19:36:06 +0200 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2017-08-22 19:36:06 +0200 |
commit | 2e1b3a418e9de29fcb4d75b769974e46395ce6cd (patch) | |
tree | 422cef83fa228cfb2a2464c6a7f49e6b5d856506 /Android.mk | |
parent | screen_ui: Fix a case that may truncate the last char. (diff) | |
parent | wear_ui: Expose menu_unusable_rows via Makefile var. (diff) | |
download | android_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.mk | 29 |
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) |