aboutsummaryrefslogtreecommitdiff
path: root/shadowapi/Android.mk
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2019-04-23 14:46:06 -0700
committerColin Cross <ccross@android.com>2019-04-24 14:56:47 -0700
commit4fb3e457a31e272eb3d18dce7474aead8299ae15 (patch)
tree261afbe71c823117b13ba309821c9946b98195bb /shadowapi/Android.mk
parentc26e13cac62f9701e115a8a31a3f1ee0db7b8ac0 (diff)
downloadrobolectric-shadows-4fb3e457a31e272eb3d18dce7474aead8299ae15.tar.gz
Use existing modules for dependencies when possible
Use existing modules, some built from source and others as prebuilts. sed -i \ -e 's/robolectric-asm-6.0/asm-6.0/' \ -e 's/robolectric-asm-commons-6.0/asm-commons-6.0/' \ -e 's/robolectric-asm-tree-6.0/asm-tree-6.0/' \ -e 's/robolectric-bouncycastle-1.46/bouncycastle-unbundled/' \ -e 's/robolectric-guava-25.1-jre/guava/' \ -e 's/robolectric-gson-2.8/gson-prebuilt-jar/' \ -e 's/robolectric-hamcrest-core-1.3/hamcrest/' \ -e 's/robolectric-hamcrest-library-1.3/hamcrest-library/' \ -e 's/robolectric-icu4j-53.1/icu4j/' \ -e 's/robolectric-junit-4.12/junit/' \ -e 's/robolectric-mockito-core-2.16.0/mockito/' \ -e 's/robolectric-objenesis-2.5/objenesis/' \ -e 's/robolectric-truth-0.42/truth-prebuilt/' \ -e '/robolectric-byte-buddy/d' \ $(find . -name Android.mk) Test: mmma external/robolectric-shadows Change-Id: I3f6cdabb797abc88ec4dd4c305ab5057260d4ca9
Diffstat (limited to 'shadowapi/Android.mk')
-rw-r--r--shadowapi/Android.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/shadowapi/Android.mk b/shadowapi/Android.mk
index ba3421e13..f8e64a520 100644
--- a/shadowapi/Android.mk
+++ b/shadowapi/Android.mk
@@ -23,10 +23,10 @@ LOCAL_SRC_FILES := $(call all-java-files-under, src/test/java)
LOCAL_STATIC_JAVA_LIBRARIES := \
Robolectric_shadowapi \
- robolectric-hamcrest-core-1.3 \
- robolectric-guava-25.1-jre \
- robolectric-junit-4.12 \
- robolectric-truth-0.42
+ hamcrest \
+ guava \
+ junit \
+ truth-prebuilt
include $(BUILD_HOST_JAVA_LIBRARY)