-
Notifications
You must be signed in to change notification settings - Fork 6k
Teach web_sdk/sdk_rewritter.dart how to write a stamp file. #19114
Conversation
Previously BUILD.gn expected a stamp, but one was never generated. This meant that the null build for the engine was always rebuilding the 7 targets for the web_sdk. This adds a --stamp option to sdk_rewritter and changes the BUILD.gn file to use it, following the pattern for --stamp options seen throughout the chromium codebase. Fixes flutter/flutter#59720
It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact Hixie on the #hackers channel in Chat. Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing. |
I welcome pointers on how scripts like this should be tests (happy to write them). @jonahwilliams @nturgut |
If it builds... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I thought we had a fancy commit queue now? https://github.com/flutter/flutter/wiki/Tree-hygiene#landing-a-patch doesn't mention such. Is there a button I have to press to get it into the landing queue (assuming such exists)? Thanks! |
I think it is automatic now - the github status now include LUCI checks automagically! |
Is there more I need to do? |
you gotta press submit :) |
This normal-human account doesn't have any privileges (which is part of the point). Is there no way to get into the submission queue without them (e.g. for someone else to put this in the queue)? I just see a "Only those with write access to this repository can merge pull requests". |
I guess I gotta put the label on it! It should get merged whenever the bot feels like it |
Description
Previously BUILD.gn expected a stamp, but one was never generated.
This meant that the null build for the engine was always
rebuilding the 7 targets for the web_sdk.
This adds a --stamp option to sdk_rewritter and changes the
BUILD.gn file to use it, following the pattern for --stamp
options seen throughout the chromium codebase.
Related Issues
Fixes flutter/flutter#59720
Tests
There were no existing tests for sdk_rewritter.dart, and I didn't write any. :(
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes (
[x]
). This will ensure a smooth and quick review process.(Realistically, please just revert if this breaks.)
Breaking Change
Did any tests fail when you ran them? Please read handling breaking changes.