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, ",")...) }