diff options
author | 2024-06-28 00:13:29 +0100 | |
---|---|---|
committer | 2024-06-28 00:13:29 +0100 | |
commit | 78ed7f3ab628bbecb8645f5d746f1de11de097e4 (patch) | |
tree | ad45d32924be85521b3d0120f198243c46f861e2 /java/hiddenapi_modular.go | |
parent | f58d7efa297432b875e47d67f6665b9fd587bed8 (diff) |
Use metalava's signature-to-dex subcommand
Use the new `signature-to-dex` subcommand rather than the deprecated
`--dex-api` option. The subcommand is already used elsewhere and uses
basically the same code under the covers as `--dex-api`.
Bug: 307737035
Test: TH
Change-Id: I649c5eccb332c6d0993c890714245040de37540e
Diffstat (limited to 'java/hiddenapi_modular.go')
-rw-r--r-- | java/hiddenapi_modular.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/java/hiddenapi_modular.go b/java/hiddenapi_modular.go index cab5402e9..4144de82b 100644 --- a/java/hiddenapi_modular.go +++ b/java/hiddenapi_modular.go @@ -1255,8 +1255,9 @@ func buildRuleToGenerateRemovedDexSignatures(ctx android.ModuleContext, suffix s rule := android.NewRuleBuilder(pctx, ctx) rule.Command(). BuiltTool("metalava"). + Text("signature-to-dex"). Inputs(removedTxtFiles). - FlagWithOutput("--dex-api ", output) + FlagWithOutput("--out ", output) rule.Build("modular-hiddenapi-removed-dex-signatures"+suffix, "modular hiddenapi removed dex signatures"+suffix) return android.OptionalPathForPath(output) } |