aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Parkinson <ianp@google.com>2013-01-30 22:16:22 +0000
committerIan Parkinson <ianp@google.com>2013-01-30 22:20:11 +0000
commit24d9a91cb0f5d5aaa3b9c7a4d76f7cd49bc06d28 (patch)
tree21914fd6e2c999f4d923c7941d033e2c468a8ad0
parent95689a700bfea5e2d78380a442fc2903cc40a3f2 (diff)
downloaddexmaker-24d9a91cb0f5d5aaa3b9c7a4d76f7cd49bc06d28.tar.gz
Build Dexmaker's Mockito plugin
Change-Id: Ic87eb33573a2f4ca2f7baf49c15f22d359009a46
-rw-r--r--Android.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 58d1211..c730971 100644
--- a/Android.mk
+++ b/Android.mk
@@ -25,3 +25,12 @@ LOCAL_MODULE := dexmaker
# Build a static jar file.
include $(BUILD_STATIC_JAVA_LIBRARY)
+
+# Build Dexmaker's MockMaker, a plugin to Mockito
+include $(CLEAR_VARS)
+LOCAL_MODULE := dexmaker-mockmaker
+LOCAL_SDK_VERSION := 14
+LOCAL_SRC_FILES := $(call all-java-files-under, src/mockito/java)
+LOCAL_JAVA_RESOURCE_DIRS := src/mockito/resources
+LOCAL_JAVA_LIBRARIES := dexmaker mockito-api
+include $(BUILD_STATIC_JAVA_LIBRARY)