[iOS] Delete gen_snapshot_armv7 support (flutter/engine#53947)

We dropped support for armv7 iOS devices in:
* Framework: flutter/flutter#97342.
* Buildroot: flutter/buildroot#569
* Engine: https://github.com/flutter/engine/pull/32664
* Recipes:
  * https://flutter-review.googlesource.com/c/recipes/+/29060
  * https://flutter-review.googlesource.com/c/recipes/+/29060 (revert)
  * https://flutter-review.googlesource.com/c/recipes/+/29582 (reland)
* Issue: flutter/flutter#97345

This eliminates the code (and an unused flag) to deal with producing zip archives including components for the armv7 architecture.

[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
This commit is contained in:
Chris Bracken
2024-07-16 14:16:14 -07:00
committed by GitHub
parent ef0bd672df
commit 1125840b1d
2 changed files with 0 additions and 10 deletions

View File

@@ -24,7 +24,6 @@ def main():
parser.add_argument('--dst', type=str, required=True)
parser.add_argument('--arm64-out-dir', type=str, required=True)
parser.add_argument('--armv7-out-dir', type=str, required=False)
# TODO(gw280): Remove --simulator-out-dir alias when all recipes are updated
parser.add_argument('--simulator-x64-out-dir', '--simulator-out-dir', type=str, required=True)
parser.add_argument('--simulator-arm64-out-dir', type=str, required=False)

View File

@@ -21,7 +21,6 @@ def main():
parser.add_argument('--clang-dir', type=str, default='clang_x64')
parser.add_argument('--x64-out-dir', type=str)
parser.add_argument('--arm64-out-dir', type=str)
parser.add_argument('--armv7-out-dir', type=str)
parser.add_argument('--zip', action='store_true', default=False)
args = parser.parse_args()
@@ -48,14 +47,6 @@ def main():
os.path.join(arm64_out_dir, args.clang_dir), os.path.join(dst, 'gen_snapshot_arm64')
)
if args.armv7_out_dir:
armv7_out_dir = (
args.armv7_out_dir
if os.path.isabs(args.armv7_out_dir) else os.path.join(buildroot_dir, args.armv7_out_dir)
)
generate_gen_snapshot(
os.path.join(armv7_out_dir, args.clang_dir), os.path.join(dst, 'gen_snapshot_armv7')
)
if args.zip:
zip_archive(dst)