tests: Add tests for ScreenRecoveryUI.

In order to support that, this CL adds Paths::set_resource_dir() to
override the default resource dir ("/res/images/") that's only available
under recovery. Note that since there're external modules depending on
libminui, it adds a separate function of res_set_resource_dir(), instead
of requiring the dependency on libotautil for everyone.

Test: mmma -j bootable/recovery
Test: Run recovery_unit_test on marlin.
Change-Id: I0a7dcf4476808bea9e634eaffc9676f6cbaf92b7
This commit is contained in:
Tao Bao
2018-05-08 15:53:56 -07:00
parent 1f3a9c0a43
commit 6cd816859e
10 changed files with 205 additions and 15 deletions
+11 -11
View File
@@ -156,20 +156,20 @@ LOCAL_C_INCLUDES += \
LOCAL_STATIC_LIBRARIES := \
librecovery \
$(TARGET_RECOVERY_UI_LIB) \
libverifier \
libbatterymonitor \
libbootloader_message \
libfs_mgr \
libext4_utils \
libsparse \
libziparchive \
libotautil \
libminadbd \
libasyncio \
libfusesideload \
librecovery_ui \
libminui \
libverifier \
libbootloader_message \
libfusesideload \
libminadbd \
libotautil \
libasyncio \
libbatterymonitor \
libfs_mgr \
libext4_utils \
libpng \
libsparse \
libziparchive \
libcrypto_utils \
libcrypto \
libvintf_recovery \