diff options
author | Ramy Medhat <abdelaal@google.com> | 2020-05-27 23:23:25 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2020-05-27 23:23:25 +0000 |
commit | f1665501e8e78dbb8b0acca24d3458f1a9cbdef1 (patch) | |
tree | d6b16833a3f43dbbb5af6a1c39f75b6bd22e01f3 /java/java_test.go | |
parent | 966b2f02fb0587c32a208e3140443705c5c1d2b2 (diff) | |
parent | c7965cda0540a0a487eea20fcdc4dacab7d0c349 (diff) |
Merge "Add support for Metalava implicit dependencies for remote execution."
Diffstat (limited to 'java/java_test.go')
-rw-r--r-- | java/java_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/java_test.go b/java/java_test.go index e03e57b78..9266d295d 100644 --- a/java/java_test.go +++ b/java/java_test.go @@ -1038,7 +1038,7 @@ func checkSystemModulesUseByDroidstubs(t *testing.T, ctx *android.TestContext, m for _, i := range metalavaRule.Implicits { systemJars = append(systemJars, i.Base()) } - if len(systemJars) != 1 || systemJars[0] != systemJar { + if len(systemJars) < 1 || systemJars[0] != systemJar { t.Errorf("inputs of %q must be []string{%q}, but was %#v.", moduleName, systemJar, systemJars) } } |