Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Conversation

@cbracken
Copy link
Member

@cbracken cbracken commented Mar 29, 2022

Moves //flutter/build/archives:create_macos_gen_snapshots target to
//flutter/lib/snapshot:create_macos_gen_snapshots and makes it part of
the :generate_bin_snapshots target in that BUILD.gn file. This makes it
part of the default build.

When performing a Flutter build using the --local-engine option, the
flutter tool looks for the architecture-specific gen_snapshot name, as
it does with iOS builds. As such, we should be building the
architecture-specific gen_snapshot binary as part of the default build
for the given architecture.

Issue: flutter/flutter#100804

Pre-launch Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I read the Tree Hygiene wiki page, which explains my responsibilities.
  • I read and followed the Flutter Style Guide and the C++, Objective-C, Java style guides.
  • I listed at least one issue that this PR fixes in the description above.
  • I added new tests to check the change I am making or feature I am adding, or Hixie said the PR is test-exempt. See testing the engine for instructions on
    writing and running engine tests.
  • I updated/added relevant documentation (doc comments with ///).
  • I signed the CLA.
  • All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

Moves //flutter/build/archives:create_macos_gen_snapshots target to
//flutter/lib/snapshot:create_macos_gen_snapshots and make it part of
the :generate_bin_snapshots target in that BUILD.gn file. This makes it
part of the default build.

When performing a Flutter build using the --local-engine option, the
flutter tool looks for the architecture-specific gen_snapshot name, as
it does with iOS builds. As such, we should be building the
architecture-specific gen_snapshot binary as part of the default build
for the given architecture.

Issue: flutter/flutter#100804
@cbracken cbracken added the waiting for tree to go green This PR is approved and tested, but waiting for the tree to be green to land. label Mar 29, 2022
@fluttergithubbot fluttergithubbot merged commit 88b7f72 into flutter:main Mar 30, 2022
@cbracken cbracken deleted the generate-gen_snapshot-arch branch March 30, 2022 20:30
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Mar 30, 2022
zanderso pushed a commit to flutter/flutter that referenced this pull request Mar 31, 2022
* cb9232b [web] webOnlyWarmupEngine + js-interop APIs (flutter/engine#32017)

* 88b7f72 [macOS] Generate gen_snapshot_$arch by default (flutter/engine#32326)

* 6dd43e6 Add support for images in display lists. (flutter/engine#32268)

* a1106da [web] Make "felt build" wait for both engine and canvaskit builds (flutter/engine#32308)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

waiting for tree to go green This PR is approved and tested, but waiting for the tree to be green to land.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants