diff options
| author | 2023-08-15 13:00:08 +0000 | |
|---|---|---|
| committer | 2023-08-15 13:00:08 +0000 | |
| commit | b22b3c9d4833dc09161933c0018407a1fdb6f23c (patch) | |
| tree | 60bd487efd832e1a60e440fbc0e5661a71ec7356 /api/api.go | |
| parent | b1340b34eee995eb1dc2b397c33eb51ce6176a03 (diff) | |
| parent | 1b77c29e16948177863c8f9f2aa031ae89001079 (diff) | |
Merge "Use new merge-signatures metalava subcommand" into main am: 4ab9b3c2a1 am: aff61356f9 am: 1b77c29e16
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2707495
Change-Id: Ieb81750596a1500231fa9b85a499f858388ddd83
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Diffstat (limited to 'api/api.go')
| -rw-r--r-- | api/api.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/api/api.go b/api/api.go index a003aba2707a..e09be03cd51d 100644 --- a/api/api.go +++ b/api/api.go @@ -146,7 +146,7 @@ func createMergedTxt(ctx android.LoadHookContext, txt MergedTxtDefinition) { metalavaCmd := "$(location metalava)" // Silence reflection warnings. See b/168689341 metalavaCmd += " -J--add-opens=java.base/java.util=ALL-UNNAMED " - metalavaCmd += " --quiet --no-banner --format=v2 " + metalavaCmd += " --quiet merge-signatures --format=v2 " filename := txt.TxtFilename if txt.Scope != "public" { @@ -156,7 +156,7 @@ func createMergedTxt(ctx android.LoadHookContext, txt MergedTxtDefinition) { props.Name = proptools.StringPtr(ctx.ModuleName() + "-" + filename) props.Tools = []string{"metalava"} props.Out = []string{filename} - props.Cmd = proptools.StringPtr(metalavaCmd + "$(in) --api $(out)") + props.Cmd = proptools.StringPtr(metalavaCmd + "$(in) --out $(out)") props.Srcs = append([]string{txt.BaseTxt}, createSrcs(txt.Modules, txt.ModuleTag)...) props.Dists = []android.Dist{ { |