summaryrefslogtreecommitdiffstats
path: root/tests/Android.mk
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-04-27 23:32:30 +0200
committerandroid-build-merger <android-build-merger@google.com>2017-04-27 23:32:30 +0200
commit322d866ec824bea97caf8cd5ef0b6b3fa8b4871b (patch)
tree3691b41afa01291d68338d8e59ef3fba213789f3 /tests/Android.mk
parentMerge "libfusesideload: Clean up the CFLAGS for the module." am: 416c55cf43 am: 74812187c0 (diff)
parentMerge "Separate libupdate_verifier module and add testcases." am: c99bb23955 (diff)
downloadandroid_bootable_recovery-322d866ec824bea97caf8cd5ef0b6b3fa8b4871b.tar
android_bootable_recovery-322d866ec824bea97caf8cd5ef0b6b3fa8b4871b.tar.gz
android_bootable_recovery-322d866ec824bea97caf8cd5ef0b6b3fa8b4871b.tar.bz2
android_bootable_recovery-322d866ec824bea97caf8cd5ef0b6b3fa8b4871b.tar.lz
android_bootable_recovery-322d866ec824bea97caf8cd5ef0b6b3fa8b4871b.tar.xz
android_bootable_recovery-322d866ec824bea97caf8cd5ef0b6b3fa8b4871b.tar.zst
android_bootable_recovery-322d866ec824bea97caf8cd5ef0b6b3fa8b4871b.zip
Diffstat (limited to 'tests/Android.mk')
-rw-r--r--tests/Android.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/Android.mk b/tests/Android.mk
index e52663031..4e125ccce 100644
--- a/tests/Android.mk
+++ b/tests/Android.mk
@@ -89,6 +89,10 @@ ifeq ($(AB_OTA_UPDATER),true)
LOCAL_CFLAGS += -DAB_OTA_UPDATER=1
endif
+ifeq ($(PRODUCTS.$(INTERNAL_PRODUCT).PRODUCT_SUPPORTS_VERITY),true)
+LOCAL_CFLAGS += -DPRODUCT_SUPPORTS_VERITY=1
+endif
+
LOCAL_MODULE := recovery_component_test
LOCAL_COMPATIBILITY_SUITE := device-tests
LOCAL_C_INCLUDES := bootable/recovery
@@ -101,6 +105,7 @@ LOCAL_SRC_FILES := \
component/sideload_test.cpp \
component/uncrypt_test.cpp \
component/updater_test.cpp \
+ component/update_verifier_test.cpp \
component/verifier_test.cpp
LOCAL_FORCE_STATIC_EXECUTABLE := true
@@ -128,6 +133,7 @@ LOCAL_STATIC_LIBRARIES := \
libverifier \
libotautil \
libmounts \
+ libupdate_verifier \
libdivsufsort \
libdivsufsort64 \
libfs_mgr \