From 46bad760ec1947e7695b7acfaaf20bc5bf83d311 Mon Sep 17 00:00:00 2001 From: Ramy Medhat Date: Mon, 11 May 2020 16:49:37 -0400 Subject: [PATCH] Add sourcepath to inputs of remoteable metalava action. Bug: b/156613606 Test: presubmit Change-Id: Idd77abddac0a676302226eb62883c74d5d7489af Merged-In: Idd77abddac0a676302226eb62883c74d5d7489af --- java/droiddoc.go | 1 + 1 file changed, 1 insertion(+) diff --git a/java/droiddoc.go b/java/droiddoc.go index 4d806baef..6d2a453e4 100644 --- a/java/droiddoc.go +++ b/java/droiddoc.go @@ -1414,6 +1414,7 @@ func metalavaCmd(ctx android.ModuleContext, rule *android.RuleBuilder, javaVersi pool = v } inputs := []string{android.PathForOutput(ctx, "host", ctx.Config().PrebuiltOS(), "framework", "metalava.jar").String()} + inputs = append(inputs, sourcepaths.Strings()...) if v := ctx.Config().Getenv("RBE_METALAVA_INPUTS"); v != "" { inputs = append(inputs, strings.Split(v, ",")...) }