summaryrefslogtreecommitdiff
path: root/java/java_test.go
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2018-08-15 20:40:52 -0700
committerColin Cross <ccross@android.com>2018-08-16 17:03:56 -0700
commit331a1213b0ece32fa2af20cbe00448bddd7d242b (patch)
tree6f3851f859a534832eb924ade2ca9c349b98dea4 /java/java_test.go
parent81440083603fc3723f56f2d5da08d9759e487fde (diff)
Don't pass resources to r8
R8 complains when it gets dex files in the input jar, but some tests use dex files or dex jars as resources. Keep resources separate from classes until after r8 has been run. Test: java_test.go Test: m checkbuild Change-Id: I1d9164d60d6b054ebb138648da07d80ee769177f
Diffstat (limited to 'java/java_test.go')
-rw-r--r--java/java_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/java_test.go b/java/java_test.go
index 434bcc7f3..72341ee26 100644
--- a/java/java_test.go
+++ b/java/java_test.go
@@ -719,7 +719,7 @@ func TestResources(t *testing.T) {
}
`+test.extra)
- foo := ctx.ModuleForTests("foo", "android_common").Output("combined/foo.jar")
+ foo := ctx.ModuleForTests("foo", "android_common").Output("withres/foo.jar")
fooRes := ctx.ModuleForTests("foo", "android_common").Output("res/foo.jar")
if !inList(fooRes.Output.String(), foo.Inputs.Strings()) {