diff options
author | Tao Bao <tbao@google.com> | 2017-08-22 20:38:02 +0200 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-08-22 20:38:02 +0200 |
commit | cdc6fcaa4716e2642083e0ff85caf5fc479fddc7 (patch) | |
tree | 366f8fbdf3193a2635844b1f49d275afc22f89d6 /Android.mk | |
parent | Merge "Move Image/ImageChunk/PatchChunk declaration into header files" am: b4bc57ed39 (diff) | |
parent | Merge changes I5d7a6baa,Id0fb2d4e (diff) | |
download | android_bootable_recovery-cdc6fcaa4716e2642083e0ff85caf5fc479fddc7.tar android_bootable_recovery-cdc6fcaa4716e2642083e0ff85caf5fc479fddc7.tar.gz android_bootable_recovery-cdc6fcaa4716e2642083e0ff85caf5fc479fddc7.tar.bz2 android_bootable_recovery-cdc6fcaa4716e2642083e0ff85caf5fc479fddc7.tar.lz android_bootable_recovery-cdc6fcaa4716e2642083e0ff85caf5fc479fddc7.tar.xz android_bootable_recovery-cdc6fcaa4716e2642083e0ff85caf5fc479fddc7.tar.zst android_bootable_recovery-cdc6fcaa4716e2642083e0ff85caf5fc479fddc7.zip |
Diffstat (limited to '')
-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) |