Remove metalava --no-banner argument
metalava no longer prints an ASCII banner, and has removed its --no-banner argument. Update all call sites accordingly. Test: presubmit Bug: 286023667 Change-Id: I61cf5f1125dfbd93496e6a59eb1ea62886b32046
This commit is contained in:
parent
ab8ed75b6b
commit
bd2624442b
3 changed files with 2 additions and 5 deletions
|
@ -525,8 +525,7 @@ func metalavaCmd(ctx android.ModuleContext, rule *android.RuleBuilder, javaVersi
|
|||
cmd.FlagWithInputList("-classpath ", classpath.Paths(), ":")
|
||||
}
|
||||
|
||||
cmd.Flag("--no-banner").
|
||||
Flag("--color").
|
||||
cmd.Flag("--color").
|
||||
Flag("--quiet").
|
||||
Flag("--format=v2").
|
||||
FlagWithArg("--repeat-errors-max ", "10").
|
||||
|
|
|
@ -1236,7 +1236,6 @@ func buildRuleToGenerateRemovedDexSignatures(ctx android.ModuleContext, suffix s
|
|||
rule := android.NewRuleBuilder(pctx, ctx)
|
||||
rule.Command().
|
||||
BuiltTool("metalava").
|
||||
Flag("--no-banner").
|
||||
Inputs(removedTxtFiles).
|
||||
FlagWithOutput("--dex-api ", output)
|
||||
rule.Build("modular-hiddenapi-removed-dex-signatures"+suffix, "modular hiddenapi removed dex signatures"+suffix)
|
||||
|
|
|
@ -1716,8 +1716,7 @@ func metalavaStubCmd(ctx android.ModuleContext, rule *android.RuleBuilder,
|
|||
FlagWithArg("-encoding ", "UTF-8").
|
||||
FlagWithInputList("--source-files ", srcs, " ")
|
||||
|
||||
cmd.Flag("--no-banner").
|
||||
Flag("--color").
|
||||
cmd.Flag("--color").
|
||||
Flag("--quiet").
|
||||
Flag("--format=v2").
|
||||
Flag("--include-annotations").
|
||||
|
|
Loading…
Reference in a new issue