Build easymock as a target static library too.
Change-Id: Ia8a8cd92fad56ff633aab7598de178de360566ca
diff --git a/Android.mk b/Android.mk
index 36ce737..4279a1c 100644
--- a/Android.mk
+++ b/Android.mk
@@ -15,6 +15,8 @@
#
LOCAL_PATH := $(call my-dir)
+
+# Build an easymock.jar to use for host side tests
include $(CLEAR_VARS)
LOCAL_SRC_FILES := $(call all-java-files-under, src)
@@ -22,3 +24,13 @@
LOCAL_MODULE := easymock
include $(BUILD_HOST_JAVA_LIBRARY)
+
+# Build an easymocklib.jar to use on device
+include $(CLEAR_VARS)
+
+LOCAL_SRC_FILES := $(call all-java-files-under, src)
+
+LOCAL_MODULE := easymocklib
+
+include $(BUILD_STATIC_JAVA_LIBRARY)
+