[macOS][iOS] Eliminate strip_bitcode action (#36627)

Eliminates the `strip_bitcode` GN rule defined in
//flutter/sky/tools/mac.gni and the related script at
//flutter/sky/tools/strip_bitcode.py.

As of Xcode 14, bitcode is deprecated, no longer enabled by default, and
generates a warning message if a project enables it. Bitcode support
will be removed entirely from a future version of Xcode.

The `strip_bitcode` rule had two purposes:
1. Copy the binary specified by its input parameter to the path
   specified by its output parameter.
2. Strip bitcode segments as it does so.

While we no longer require the second of these functions, we still use
the first to create a `gen_snapshot` binary suffixed with the target
architecture. This replaces `strip_bitcode` with the built-in gn `copy`
rule instead.

Issue: https://github.com/flutter/flutter/issues/107884
Issue: https://github.com/flutter/flutter/issues/112896
Issue: https://github.com/flutter/flutter/issues/101138
Issue: https://github.com/flutter/flutter/issues/103386
3 files changed
tree: 6775e5864c939653995b8d9f23ac3cbcc2cfa339
  1. .github/
  2. assets/
  3. benchmarking/
  4. build/
  5. ci/
  6. common/
  7. display_list/
  8. docs/
  9. examples/
  10. flow/
  11. flutter_frontend_server/
  12. fml/
  13. impeller/
  14. lib/
  15. runtime/
  16. shell/
  17. sky/
  18. testing/
  19. third_party/
  20. tools/
  21. vulkan/
  22. wasm/
  23. web_sdk/
  24. .ci.yaml
  25. .clang-format
  26. .clang-tidy
  27. .gitattributes
  28. .gitignore
  29. .pylintrc
  30. .style.yapf
  31. analysis_options.yaml
  32. AUTHORS
  33. BUILD.gn
  34. CONTRIBUTING.md
  35. DEPS
  36. Doxyfile
  37. LICENSE
  38. README.md
README.md

Flutter Engine

OpenSSF Scorecard

Flutter is Google's SDK for crafting beautiful, fast user experiences for mobile, web, and desktop from a single codebase. Flutter works with existing code, is used by developers and organizations around the world, and is free and open source.

The Flutter Engine is a portable runtime for hosting Flutter applications. It implements Flutter's core libraries, including animation and graphics, file and network I/O, accessibility support, plugin architecture, and a Dart runtime and compile toolchain. Most developers will interact with Flutter via the Flutter Framework, which provides a modern, reactive framework, and a rich set of platform, layout and foundation widgets.

If you want to run/contribute to Flutter Web engine, more tooling can be found at felt. This is a tool written to make web engine development experience easy.

If you are new to Flutter, then you will find more general information on the Flutter project, including tutorials and samples, on our Web site at Flutter.dev. For specific information about Flutter's APIs, consider our API reference which can be found at the docs.flutter.dev.

Flutter is a fully open source project, and we welcome contributions. Information on how to get started can be found at our contributor guide.