Merge "Add sourcepath to inputs of remoteable metalava action." am: e72da7f63c am: 0452efbd16

Change-Id: Ib78a89ee437500a6f347d0c746bb56fae97e4a15
This commit is contained in:
Treehugger Robot 2020-05-12 04:41:37 +00:00 committed by Automerger Merge Worker
commit c6e48b7dad

View file

@ -1388,6 +1388,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, ",")...)
}