summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorKenny Root <kroot@google.com>2013-10-14 23:12:49 +0200
committerAndroid Git Automerger <android-git-automerger@android.com>2013-10-14 23:12:49 +0200
commit9f6bfa302a4744271966d102d2f791127fdc7111 (patch)
tree1b85c665e4316f4bb60b3ba9eaa0fd249cf10694 /Android.mk
parentam 053c1c5e: am 7fdeb1f9: merge in KQS81M (diff)
parentam f4a6ab27: Merge "Add support for ECDSA signatures" (diff)
downloadandroid_bootable_recovery-9f6bfa302a4744271966d102d2f791127fdc7111.tar
android_bootable_recovery-9f6bfa302a4744271966d102d2f791127fdc7111.tar.gz
android_bootable_recovery-9f6bfa302a4744271966d102d2f791127fdc7111.tar.bz2
android_bootable_recovery-9f6bfa302a4744271966d102d2f791127fdc7111.tar.lz
android_bootable_recovery-9f6bfa302a4744271966d102d2f791127fdc7111.tar.xz
android_bootable_recovery-9f6bfa302a4744271966d102d2f791127fdc7111.tar.zst
android_bootable_recovery-9f6bfa302a4744271966d102d2f791127fdc7111.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 645a83534..1308066df 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
@@ -85,6 +92,7 @@ LOCAL_MODULE_TAGS := tests
LOCAL_CFLAGS += -DNO_RECOVERY_MOUNT
LOCAL_SRC_FILES := \
verifier_test.cpp \
+ asn1_decoder.cpp \
verifier.cpp \
ui.cpp
LOCAL_STATIC_LIBRARIES := \
@@ -101,6 +109,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 \