Skip to content
Snippets Groups Projects
Commit a084a4bf authored by Paul Duffin's avatar Paul Duffin Committed by Cherrypicker Worker
Browse files

Use new `metalava signature-to-jdiff` sub-command

Also, removes `--no-banner` as it is deprecated and `--format=v2` is
unnecessary.

Bug: 290825755
Test: m current-api-xml
(cherry picked from https://android-review.googlesource.com/q/commit:aab881d8b7ebea74266039275d0f5bf7019e1a5b)
Merged-In: Ib2ff55cf2bfd2128866b2e4f67cf39303135b79b
Change-Id: Ib2ff55cf2bfd2128866b2e4f67cf39303135b79b
Bug: 299428102
parent 2a83056e
No related branches found
No related tags found
No related merge requests found
......@@ -60,14 +60,14 @@ python_test_host {
metalava_cmd = "$(location metalava)"
// Silence reflection warnings. See b/168689341
metalava_cmd += " -J--add-opens=java.base/java.util=ALL-UNNAMED "
metalava_cmd += " --quiet --no-banner --format=v2 "
metalava_cmd += " --quiet "
genrule {
name: "current-api-xml",
tools: ["metalava"],
srcs: [":frameworks-base-api-current.txt"],
out: ["current.api"],
cmd: metalava_cmd + "-convert2xmlnostrip $(in) $(out)",
cmd: metalava_cmd + "signature-to-jdiff $(in) $(out)",
visibility: ["//visibility:public"],
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment