From c7965cda0540a0a487eea20fcdc4dacab7d0c349 Mon Sep 17 00:00:00 2001 From: Ramy Medhat Date: Thu, 30 Apr 2020 03:08:37 -0400 Subject: Add support for Metalava implicit dependencies for remote execution. Test: built aosp crosshatch userdebug with RBE_METALAVA=1 Change-Id: Ic64d98785e34717ef9bdad62b4885085f84f132a --- java/java_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'java/java_test.go') 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) } } -- cgit v1.2.3-59-g8ed1b