diff options
| author | 2023-08-15 13:44:07 +0000 | |
|---|---|---|
| committer | 2023-08-15 13:44:07 +0000 | |
| commit | ae2f6671ece100f79f4cd93d5b471761a5b01522 (patch) | |
| tree | 062d885d0f926f87b094fd24d623b3ec9814a02f /api | |
| parent | 12989f76fa6c02f7b8fff7a0346c8527583e7791 (diff) | |
| parent | b22b3c9d4833dc09161933c0018407a1fdb6f23c (diff) | |
Merge "Use new merge-signatures metalava subcommand" into main am: 4ab9b3c2a1 am: aff61356f9 am: 1b77c29e16 am: b22b3c9d48
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2707495
Change-Id: Ia9c0e7f7b29c8eb8128172c07c805eb3ad016cbc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Diffstat (limited to 'api')
| -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{ { |