aboutsummaryrefslogtreecommitdiff
path: root/shadowapi
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2019-04-27 23:47:56 -0700
committerColin Cross <ccross@android.com>2019-05-02 18:11:16 +0000
commit2faf33031d7a79399d25c0ad535615bc709c0920 (patch)
tree5917419a7e73fcd0cd2385490c156a00fff6e2ca /shadowapi
parent5100c6710348acaff1e13070a4ae24efd5ecb31a (diff)
downloadrobolectric-shadows-2faf33031d7a79399d25c0ad535615bc709c0920.tar.gz
Move some libraries back to shared
The Robolectric_* libraries are included into Robolectric_all. Moving all the dependencies caused some additional classes to show up in Robolectric_all, which caused RunRoboSettingsTests to fail in AOSP, but didn't affect master. Move the dependencies for the libraries back to libs, and only leave the static dependencies for the tests and the annotation processor. Bug: 122331577 Test: m RunSettingsRoboTests Run_robolectric_test_suite Test: diff packages in Robolectric_all before and after Change-Id: I810264b68a881e73658bb1d3379c0fff1ab65879 Merged-In: I810264b68a881e73658bb1d3379c0fff1ab65879 (cherry picked from commit 5b122a8a47aca51150b195141aa5da260e7b2440)
Diffstat (limited to 'shadowapi')
-rw-r--r--shadowapi/Android.bp2
1 files changed, 1 insertions, 1 deletions
diff --git a/shadowapi/Android.bp b/shadowapi/Android.bp
index 8d2f582e9..521fc0b2b 100644
--- a/shadowapi/Android.bp
+++ b/shadowapi/Android.bp
@@ -4,7 +4,7 @@
java_library_host {
name: "Robolectric_shadowapi",
- static_libs: ["jsr305"],
+ libs: ["jsr305"],
srcs: ["src/main/java/**/*.java"],
}