Merge "Repeat metalava errors at the end to make it easy to find them"

This commit is contained in:
Makoto Onuki 2020-07-18 02:29:36 +00:00 committed by Gerrit Code Review
commit d3cd2f5793
1 changed files with 3 additions and 1 deletions

View File

@ -1519,7 +1519,9 @@ func metalavaCmd(ctx android.ModuleContext, rule *android.RuleBuilder, javaVersi
cmd.Flag("--no-banner").
Flag("--color").
Flag("--quiet").
Flag("--format=v2")
Flag("--format=v2").
FlagWithArg("--repeat-errors-max ", "10").
FlagWithArg("--hide ", "UnresolvedImport")
return cmd
}