Remove version flag from pm_tool.gni (flutter/engine#31069)

This flag is deprecated and no longer used.
This commit is contained in:
Chase Latta
2022-01-25 17:04:13 -08:00
committed by GitHub
parent 567a23fee0
commit 7f8b7f0b41

View File

@@ -9,8 +9,6 @@ import("config/config.gni")
# Parameters
# package_name - defaults to target_name
# archive_manifest - required
# version [optional]
# The package version. Defaults to 0.
# command - the packaging step to perform valid steps are build, archive
#
# Forwarded parameters
@@ -45,11 +43,6 @@ template("fuchsia_pm_tool") {
package_name = invoker.package_name
}
version = "0"
if (defined(invoker.version)) {
version = invoker.version
}
# tool path
_pm_tool_path = "${fuchsia_tool_dir}/pm"
script = "//build/gn_run_binary.py"
@@ -89,8 +82,6 @@ template("fuchsia_pm_tool") {
rebase_path(archive_manifest, root_build_dir),
"-n",
package_name,
"-version",
version,
]
if (command == "build") {
args += [