aboutsummaryrefslogtreecommitdiff
path: root/junit
diff options
context:
space:
mode:
authorJames Lemieux <jplemieux@google.com>2017-09-22 18:51:10 -0700
committerJames Lemieux <jplemieux@google.com>2017-11-02 13:40:24 -0700
commitf5a4ae4dc9926e0e5a5b114017a212f4b58d56e8 (patch)
treec65989254410088c17a5723a7c42ecfd6b7bb8e7 /junit
parent7bd74b347562292ea0dd8e089cae08de6eb52b87 (diff)
downloadrobolectric-shadows-f5a4ae4dc9926e0e5a5b114017a212f4b58d56e8.tar.gz
Compile Robolectric with make
Also generates a jar with all robolectric sources. Bug: 66751293 Test: make Robolectric_all Change-Id: Ida82d4aa1a2279173c869a5010b5ac2f5c32f5ca
Diffstat (limited to 'junit')
-rw-r--r--junit/Android.mk18
1 files changed, 18 insertions, 0 deletions
diff --git a/junit/Android.mk b/junit/Android.mk
new file mode 100644
index 000000000..67d9a2dd6
--- /dev/null
+++ b/junit/Android.mk
@@ -0,0 +1,18 @@
+LOCAL_PATH := $(call my-dir)
+include $(CLEAR_VARS)
+
+LOCAL_MODULE := Robolectric_junit
+
+LOCAL_JAVA_LIBRARIES := \
+ Robolectric_annotations \
+ Robolectric_shadowapi \
+ Robolectric_sandbox \
+ robolectric-asm-commons-5.0.1 \
+ robolectric-asm-tree-5.0.1 \
+ robolectric-junit-4.12 \
+ robolectric-asm-5.0.1 \
+ jsr305lib
+
+LOCAL_SRC_FILES := $(call all-java-files-under, src/main/java)
+
+include $(BUILD_HOST_JAVA_LIBRARY) \ No newline at end of file