summaryrefslogtreecommitdiffstats
path: root/tests/Android.mk
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2018-07-06 21:14:36 +0200
committerTao Bao <tbao@google.com>2018-07-06 21:21:41 +0200
commitb8cb2e6322c112bebf4795b6e440f8953a61e7e1 (patch)
treeb55bcd9cef6dc8b0e6a65a7926c9cb40b9d5253b /tests/Android.mk
parentMerge "minui/drm: wait for page flip completion" (diff)
downloadandroid_bootable_recovery-b8cb2e6322c112bebf4795b6e440f8953a61e7e1.tar
android_bootable_recovery-b8cb2e6322c112bebf4795b6e440f8953a61e7e1.tar.gz
android_bootable_recovery-b8cb2e6322c112bebf4795b6e440f8953a61e7e1.tar.bz2
android_bootable_recovery-b8cb2e6322c112bebf4795b6e440f8953a61e7e1.tar.lz
android_bootable_recovery-b8cb2e6322c112bebf4795b6e440f8953a61e7e1.tar.xz
android_bootable_recovery-b8cb2e6322c112bebf4795b6e440f8953a61e7e1.tar.zst
android_bootable_recovery-b8cb2e6322c112bebf4795b6e440f8953a61e7e1.zip
Diffstat (limited to '')
-rw-r--r--tests/Android.mk45
1 files changed, 24 insertions, 21 deletions
diff --git a/tests/Android.mk b/tests/Android.mk
index 2576ea0ef..1fa259ebc 100644
--- a/tests/Android.mk
+++ b/tests/Android.mk
@@ -16,12 +16,34 @@
LOCAL_PATH := $(call my-dir)
+# libapplypatch, libapplypatch_modes, libimgdiff, libimgpatch.
+libapplypatch_static_libraries := \
+ libapplypatch_modes \
+ libapplypatch \
+ libedify \
+ libimgdiff \
+ libimgpatch \
+ libotafault \
+ libotautil \
+ libbsdiff \
+ libbspatch \
+ libdivsufsort \
+ libdivsufsort64 \
+ libutils \
+ libbase \
+ libbrotli \
+ libbz \
+ libcrypto \
+ libz \
+ libziparchive \
+
# Unit tests
include $(CLEAR_VARS)
LOCAL_CFLAGS := -Wall -Werror
LOCAL_MODULE := recovery_unit_test
LOCAL_COMPATIBILITY_SUITE := device-tests
LOCAL_STATIC_LIBRARIES := \
+ $(libapplypatch_static_libraries) \
libverifier \
librecovery_ui \
libminui \
@@ -37,6 +59,7 @@ LOCAL_STATIC_LIBRARIES := \
libBionicGtestMain
LOCAL_SRC_FILES := \
+ unit/applypatch_test.cpp \
unit/asn1_decoder_test.cpp \
unit/commands_test.cpp \
unit/dirutil_test.cpp \
@@ -77,7 +100,7 @@ LOCAL_MODULE := recovery_component_test
LOCAL_COMPATIBILITY_SUITE := device-tests
LOCAL_C_INCLUDES := bootable/recovery
LOCAL_SRC_FILES := \
- component/applypatch_test.cpp \
+ component/applypatch_modes_test.cpp \
component/bootloader_message_test.cpp \
component/edify_test.cpp \
component/imgdiff_test.cpp \
@@ -92,26 +115,6 @@ LOCAL_SRC_FILES := \
LOCAL_SHARED_LIBRARIES := \
libhidlbase
-# libapplypatch, libapplypatch_modes, libimgdiff, libimgpatch.
-libapplypatch_static_libraries := \
- libapplypatch_modes \
- libapplypatch \
- libedify \
- libimgdiff \
- libimgpatch \
- libotafault \
- libotautil \
- libbsdiff \
- libbspatch \
- libdivsufsort \
- libdivsufsort64 \
- libutils \
- libbase \
- libbz \
- libcrypto \
- libz \
- libziparchive \
-
tune2fs_static_libraries := \
libext2_com_err \
libext2_blkid \