summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrett Chabot <brettchabot@android.com>2010-04-16 11:08:08 -0700
committerBrett Chabot <brettchabot@android.com>2010-04-16 11:08:08 -0700
commitd6706951539a4064c89b62c864ae43f4778324bc (patch)
tree10d3d487dab82cf996e7cb1eb6add221d3913cf8
parent17d5eb4006c438775d8eaa7600e947e4ac090a18 (diff)
downloadeasymock-d6706951539a4064c89b62c864ae43f4778324bc.tar.gz
Build easymock as a target static library too.
Change-Id: Ia8a8cd92fad56ff633aab7598de178de360566ca
-rw-r--r--Android.mk12
1 files changed, 12 insertions, 0 deletions
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_SRC_FILES := $(call all-java-files-under, src)
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)
+