-
Notifications
You must be signed in to change notification settings - Fork 6k
Run pub get before building host.dart. #37502
Conversation
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 (don't just cc him here, he won't see it! He's on Discord!). If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix? Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing. |
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! (Very common change in the plugins CI too :P)
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.
We already do this in:
Lines 89 to 95 in 645d4e3
install_deps() { | |
echo "Running \`dart pub get\` in 'engine/src/flutter/lib/web_ui'" | |
(cd "$WEB_UI_DIR"; $DART_PATH pub get) | |
echo "Running \`dart pub get\` in 'engine/src/flutter/web_sdk/web_engine_tester'" | |
(cd "$FLUTTER_DIR/web_sdk/web_engine_tester"; $DART_PATH pub get) | |
} |
Are there certain cases where that's not enough?
felt itself needs it. However, we should let felt invoke `pub get` on `web_engine_tester` only as needed, not in the launcher script.
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! Thanks for fixing this!
…115185) * 645d4e313 Roll Dart SDK from 1e37edb1f6c1 to 2b6909ba35e5 (1 revision) (flutter/engine#37516) * 4cbfe4238 Build display lists from SkParagraph output using the ParagraphPainter interface (flutter/engine#37087) * 05649893f Roll Skia from 77620568f467 to 1a7879e4e26a (6 revisions) (flutter/engine#37520) * f48be3491 Run pub get before building host.dart. (flutter/engine#37502) * e815a60a7 Roll Skia from 1a7879e4e26a to a457da8acd16 (5 revisions) (flutter/engine#37524) * 0f93194b7 Roll ICU from 20f8ac695af5 to da0744861976 (1 revision) (flutter/engine#37525) * 329900fc8 Roll Skia from a457da8acd16 to 29b9dbd7a8ed (1 revision) (flutter/engine#37528)
* Run pub get before building host.dart. * We should call `pub get` for `web_ui` in the launcher script because felt itself needs it. However, we should let felt invoke `pub get` on `web_engine_tester` only as needed, not in the launcher script.
* clang-tidy: added the ability to shard jobs (#37265) * clang-tidy: added the ability to shard jobs * added test * jenn feedback * hack ci to run as a shard to measure the time * tweak * fix hack * zach feedback * zach feedback 2 * removed stray async * moved to using sets for lookups * fixed typo in docstring * Revert "fix hack" This reverts commit 06a61a6. Revert "tweak" This reverts commit e7c58b1. Revert "hack ci to run as a shard to measure the time" This reverts commit e458963. * removed calls to map * turned the ci hack back on * Revert "turned the ci hack back on" This reverts commit 0d53794. * removed sync* * Clang-tidy: Fixed math on shard-id validator. (#37433) Clang-tidy: Fixed math on shard-id validator. * Felt analyze (#37481) * Adding `felt analyze` command that CI will run. * Remove some copypasta'd stuff. * Also remove code path from felt.dart that forces a rebuild if it doesn't detect the host_debug_unopt directory. * More cleanup of felt.bat for CI. * Fix typo in felt.bat. * Run pub get before building host.dart. (#37502) * Run pub get before building host.dart. * We should call `pub get` for `web_ui` in the launcher script because felt itself needs it. However, we should let felt invoke `pub get` on `web_engine_tester` only as needed, not in the launcher script. * Skip the skwasm unit test suite on Safari since it is flaky. (#37602) * Skip the skwasm unit test suite on Safari since it is flaky. * Add TODO. * Remove felt snapshotting behavior. (#37639) * Remove felt snapshotting behavior. * Use `dart run`. * Combine results of all the test batches. (#37610) * Combine results of all the test batches. * Skip regressions * Use bool instead * remove unused var * skip fragment_program_test * Also skip GL context lost test * Transparent background test fails on Firefox and Safari * Skip other test in safari * Skip text test on firefox Co-authored-by: gaaclarke <[email protected]> Co-authored-by: Jackson Gardner <[email protected]> Co-authored-by: Harry Terkelsen <[email protected]>
…lutter#115185) * 645d4e313 Roll Dart SDK from 1e37edb1f6c1 to 2b6909ba35e5 (1 revision) (flutter/engine#37516) * 4cbfe4238 Build display lists from SkParagraph output using the ParagraphPainter interface (flutter/engine#37087) * 05649893f Roll Skia from 77620568f467 to 1a7879e4e26a (6 revisions) (flutter/engine#37520) * f48be3491 Run pub get before building host.dart. (flutter/engine#37502) * e815a60a7 Roll Skia from 1a7879e4e26a to a457da8acd16 (5 revisions) (flutter/engine#37524) * 0f93194b7 Roll ICU from 20f8ac695af5 to da0744861976 (1 revision) (flutter/engine#37525) * 329900fc8 Roll Skia from a457da8acd16 to 29b9dbd7a8ed (1 revision) (flutter/engine#37528)
…lutter#115185) * 645d4e313 Roll Dart SDK from 1e37edb1f6c1 to 2b6909ba35e5 (1 revision) (flutter/engine#37516) * 4cbfe4238 Build display lists from SkParagraph output using the ParagraphPainter interface (flutter/engine#37087) * 05649893f Roll Skia from 77620568f467 to 1a7879e4e26a (6 revisions) (flutter/engine#37520) * f48be3491 Run pub get before building host.dart. (flutter/engine#37502) * e815a60a7 Roll Skia from 1a7879e4e26a to a457da8acd16 (5 revisions) (flutter/engine#37524) * 0f93194b7 Roll ICU from 20f8ac695af5 to da0744861976 (1 revision) (flutter/engine#37525) * 329900fc8 Roll Skia from a457da8acd16 to 29b9dbd7a8ed (1 revision) (flutter/engine#37528)
No description provided.