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

Conversation

eseidel
Copy link
Contributor

@eseidel eseidel commented Jun 18, 2020

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.

  • I read the contributor guide and followed the process outlined there for submitting PRs.
  • I signed the CLA.
  • I read and followed the C++, Objective-C, Java style guides for the engine.
  • I read the tree hygiene wiki page, which explains my responsibilities.
  • I updated/added relevant documentation.
  • All existing and new tests are passing.
  • I am willing to follow-up on review comments in a timely manner.
    (Realistically, please just revert if this breaks.)

Breaking Change

Did any tests fail when you ran them? Please read handling breaking changes.

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
@fluttergithubbot
Copy link
Contributor

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.

@eseidel
Copy link
Contributor Author

eseidel commented Jun 18, 2020

I welcome pointers on how scripts like this should be tests (happy to write them). @jonahwilliams @nturgut

@jonahwilliams
Copy link
Contributor

If it builds...

Copy link
Contributor

@jonahwilliams jonahwilliams left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@eseidel
Copy link
Contributor Author

eseidel commented Jun 18, 2020

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!

@jonahwilliams
Copy link
Contributor

I think it is automatic now - the github status now include LUCI checks automagically!

@eseidel
Copy link
Contributor Author

eseidel commented Jun 19, 2020

Is there more I need to do?

@jonahwilliams
Copy link
Contributor

you gotta press submit :)

@eseidel
Copy link
Contributor Author

eseidel commented Jun 19, 2020

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".

@jonahwilliams jonahwilliams 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 Jun 19, 2020
@jonahwilliams
Copy link
Contributor

I guess I gotta put the label on it! It should get merged whenever the bot feels like it

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla: yes 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.

flutter/engine null build includes 7 targets

4 participants