diff --git a/engine/src/flutter/tools/fuchsia/fuchsia_archive.gni b/engine/src/flutter/tools/fuchsia/fuchsia_archive.gni index e51a5478a6..d5986030ef 100644 --- a/engine/src/flutter/tools/fuchsia/fuchsia_archive.gni +++ b/engine/src/flutter/tools/fuchsia/fuchsia_archive.gni @@ -94,7 +94,6 @@ template("fuchsia_archive") { testonly = pkg_testonly } - manifest_json_file = "${far_base_dir}/package_manifest.json" action(target_name) { script = "//flutter/tools/fuchsia/gen_package.py" deps = pkg_dir_deps + [ @@ -117,11 +116,8 @@ template("fuchsia_archive") { rebase_path("//flutter/tools/fuchsia/development.key"), "--far-name", target_name, - "--manifest-json-file", - rebase_path(manifest_json_file), ] outputs = [ - manifest_json_file, "${far_base_dir}.manifest", "$root_out_dir/${target_name}-0.far", ] diff --git a/engine/src/flutter/tools/fuchsia/gen_package.py b/engine/src/flutter/tools/fuchsia/gen_package.py index b5cd743aac..9dffceb0b7 100755 --- a/engine/src/flutter/tools/fuchsia/gen_package.py +++ b/engine/src/flutter/tools/fuchsia/gen_package.py @@ -61,8 +61,6 @@ def main(): '--signing-key', dest='signing_key', action='store', required=True) parser.add_argument( '--manifest-file', dest='manifest_file', action='store', required=False) - parser.add_argument( - '--manifest-json-file', dest='manifest_json_file', action='store', required=True) parser.add_argument( '--far-name', dest='far_name', action='store', required=False) @@ -91,8 +89,6 @@ def main(): args.pm_bin, '-o', output_dir, - '-n', - args.far_name, '-k', args.signing_key, '-m', @@ -102,9 +98,8 @@ def main(): # Build and then archive the package # Use check_output so if anything goes wrong we get the output. try: - pm_commands = [ - ['build', '--output-package-manifest', args.manifest_json_file], + ['build'], ['archive', '--output='+ os.path.join(os.path.dirname(output_dir), args.far_name + "-0")], ] for pm_command in pm_commands: