diff options
author | Ramy Medhat <abdelaal@google.com> | 2020-04-30 03:08:37 -0400 |
---|---|---|
committer | Ramy Medhat <abdelaal@google.com> | 2020-05-27 06:52:46 -0400 |
commit | c7965cda0540a0a487eea20fcdc4dacab7d0c349 (patch) | |
tree | b061403c6b6752eb9ed7c6802be0bfe950c85290 /java/java_test.go | |
parent | 54d925e88dfebe4aab0538ab28a5ddae5e5a5a0b (diff) |
Add support for Metalava implicit dependencies for remote execution.
Test: built aosp crosshatch userdebug with RBE_METALAVA=1
Change-Id: Ic64d98785e34717ef9bdad62b4885085f84f132a
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) } } |