Add host library target
Change-Id: Ic549d19e1879f6a10070acfbb28dd00fe3f79eb8
diff --git a/Android.mk b/Android.mk
index 47cb441..9923cce 100644
--- a/Android.mk
+++ b/Android.mk
@@ -20,3 +20,11 @@
LOCAL_MODULE := nist-pkix-tests
LOCAL_ADDITIONAL_DEPENDENCY := $(LOCAL_PATH)/Android.mk
include $(BUILD_STATIC_JAVA_LIBRARY)
+
+include $(CLEAR_VARS)
+LOCAL_SRC_FILES := $(call all-java-files-under, src)
+LOCAL_JAVA_RESOURCE_DIRS := res
+LOCAL_MODULE := nist-pkix-tests-host
+LOCAL_JAVA_LIBRARIES := junit
+LOCAL_ADDITIONAL_DEPENDENCY := $(LOCAL_PATH)/Android.mk
+include $(BUILD_HOST_JAVA_LIBRARY)