summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorKenny Root <kroot@google.com>2013-10-09 19:14:35 +0200
committerKenny Root <kroot@google.com>2013-10-10 23:19:19 +0200
commit7a4adb5268ae71260c86788ccdeb7a699c80ee0a (patch)
treeda4a744e642f5014c3a1085097590bd4a5997f1c /Android.mk
parentMerge "verifier: update to support certificates using SHA-256" (diff)
downloadandroid_bootable_recovery-7a4adb5268ae71260c86788ccdeb7a699c80ee0a.tar
android_bootable_recovery-7a4adb5268ae71260c86788ccdeb7a699c80ee0a.tar.gz
android_bootable_recovery-7a4adb5268ae71260c86788ccdeb7a699c80ee0a.tar.bz2
android_bootable_recovery-7a4adb5268ae71260c86788ccdeb7a699c80ee0a.tar.lz
android_bootable_recovery-7a4adb5268ae71260c86788ccdeb7a699c80ee0a.tar.xz
android_bootable_recovery-7a4adb5268ae71260c86788ccdeb7a699c80ee0a.tar.zst
android_bootable_recovery-7a4adb5268ae71260c86788ccdeb7a699c80ee0a.zip
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk11
1 files changed, 10 insertions, 1 deletions
diff --git a/Android.mk b/Android.mk
index 075fa2cfe..3d6156819 100644
--- a/Android.mk
+++ b/Android.mk
@@ -24,6 +24,7 @@ LOCAL_SRC_FILES := \
roots.cpp \
ui.cpp \
screen_ui.cpp \
+ asn1_decoder.cpp \
verifier.cpp \
adb_install.cpp
@@ -76,7 +77,13 @@ LOCAL_C_INCLUDES += system/extras/ext4_utils
include $(BUILD_EXECUTABLE)
-
+# All the APIs for testing
+include $(CLEAR_VARS)
+LOCAL_MODULE := libverifier
+LOCAL_MODULE_TAGS := tests
+LOCAL_SRC_FILES := \
+ asn1_decoder.cpp
+include $(BUILD_STATIC_LIBRARY)
include $(CLEAR_VARS)
LOCAL_MODULE := verifier_test
@@ -84,6 +91,7 @@ LOCAL_FORCE_STATIC_EXECUTABLE := true
LOCAL_MODULE_TAGS := tests
LOCAL_SRC_FILES := \
verifier_test.cpp \
+ asn1_decoder.cpp \
verifier.cpp \
ui.cpp
LOCAL_STATIC_LIBRARIES := \
@@ -100,6 +108,7 @@ include $(LOCAL_PATH)/minui/Android.mk \
$(LOCAL_PATH)/minzip/Android.mk \
$(LOCAL_PATH)/minadbd/Android.mk \
$(LOCAL_PATH)/mtdutils/Android.mk \
+ $(LOCAL_PATH)/tests/Android.mk \
$(LOCAL_PATH)/tools/Android.mk \
$(LOCAL_PATH)/edify/Android.mk \
$(LOCAL_PATH)/updater/Android.mk \