commit | e0cec4432399f7ad74bf7696d1d61c8ae65e4296 | [log] [tgz] |
---|---|---|
author | Siva <a-siva@users.noreply.github.com> | Thu Jan 09 12:49:53 2025 -0800 |
committer | dart-internal-monorepo <dart-internal-monorepo@dart-ci-internal.iam.gserviceaccount.com> | Thu Jan 09 13:48:20 2025 -0800 |
tree | f8e34f967eded12725ac5864b5c5a9a39662dc0a | |
parent | 7ecd5621f4c849966c25641a0585b0b822ac7d3e [diff] |
Roll Dart to Version 3.7.0-312.0.dev (#161394) https://dart.googlesource.com/sdk.git/+log/ba910918075e..dbe08d993b3f [dbe08d9](https://dart.googlesource.com/sdk.git/+/dbe08d993b3fe700ed716fa068742e8fb80b0a0a) [Version 3.7.0-312.0.dev](https://dart.googlesource.com/sdk.git/+/dbe08d993b3fe700ed716fa068742e8fb80b0a0a) by Dart CI · 19 hours ago [3.7.0-312.0.dev](https://dart.googlesource.com/sdk.git/+/refs/tags/3.7.0-312.0.dev) [6254583](https://dart.googlesource.com/sdk.git/+/625458335f3714cc12fdbab06c7e11ba7c461d4c) [[element model] migrate `type_constraint_generation_test`](https://dart.googlesource.com/sdk.git/+/625458335f3714cc12fdbab06c7e11ba7c461d4c) by pq · 22 hours ago [26a2bf2](https://dart.googlesource.com/sdk.git/+/26a2bf20b7cc379f24a79cb76b0d1a3de3026e37) [[DAS] Fixes for static declarations on Go to Imports command](https://dart.googlesource.com/sdk.git/+/26a2bf20b7cc379f24a79cb76b0d1a3de3026e37) by FMorschel · 22 hours ago [c033dd2](https://dart.googlesource.com/sdk.git/+/c033dd24afd5e8cc9e61599caa063f9f22948261) [[ddc] Updating tearoffs to be evaluated on access.](https://dart.googlesource.com/sdk.git/+/c033dd24afd5e8cc9e61599caa063f9f22948261) by MarkZ · 22 hours ago [609f2f9](https://dart.googlesource.com/sdk.git/+/609f2f95b1b5e676b64427a75e7dfb84b45fff7c) [Linter. Issue 59814. Report unnecessary_async.](https://dart.googlesource.com/sdk.git/+/609f2f95b1b5e676b64427a75e7dfb84b45fff7c) by Konstantin Shcheglov · 22 hours ago [810eeb4](https://dart.googlesource.com/sdk.git/+/810eeb44656bd32a28d92f88fd05c0e1cb84bdad) [Elements. Migrate lib/src/dart/ast/element_locator.dart](https://dart.googlesource.com/sdk.git/+/810eeb44656bd32a28d92f88fd05c0e1cb84bdad) by Konstantin Shcheglov · 22 hours ago [a429df7](https://dart.googlesource.com/sdk.git/+/a429df7391c7c527d416cdd591df5f2245a22362) [Version 3.7.0-311.0.dev](https://dart.googlesource.com/sdk.git/+/a429df7391c7c527d416cdd591df5f2245a22362) by Dart CI · 23 hours ago [3.7.0-311.0.dev](https://dart.googlesource.com/sdk.git/+/refs/tags/3.7.0-311.0.dev) [94528752](https://dart.googlesource.com/sdk.git/+/94528752b2dcea728420e1cc29977dbb97c50b1d) [[CQ] cleanup (migration-related) extension naming](https://dart.googlesource.com/sdk.git/+/94528752b2dcea728420e1cc29977dbb97c50b1d) by pq · 24 hours ago [7234e6f](https://dart.googlesource.com/sdk.git/+/7234e6fa1038258dfb1c02db55095660a89a4535) [Add analyzer entries for Dart 3.7](https://dart.googlesource.com/sdk.git/+/7234e6fa1038258dfb1c02db55095660a89a4535) by Sam Rawlins · 25 hours ago [e4e42f7](https://dart.googlesource.com/sdk.git/+/e4e42f798d4eaa3e70dd48d297f43702c7afe37f) [[analyzer] Fix type of transformedParameters when inheriting covariance](https://dart.googlesource.com/sdk.git/+/e4e42f798d4eaa3e70dd48d297f43702c7afe37f) by Paul Berry · 26 hours ago [3a73f32](https://dart.googlesource.com/sdk.git/+/3a73f3282476e70d1b905fa830df7be3328815cd) [[vm,mirrors] reflectClass: throw ArgumentError for function and record types](https://dart.googlesource.com/sdk.git/+/3a73f3282476e70d1b905fa830df7be3328815cd) by Alexander Markov · 26 hours ago [742850f](https://dart.googlesource.com/sdk.git/+/742850f9cc3341fcba1aaf9c2d5b5ed2babbaa61) [[vm/aot,dart2wasm,tfa] Infer null after comparison with null only if value is potentially nullable](https://dart.googlesource.com/sdk.git/+/742850f9cc3341fcba1aaf9c2d5b5ed2babbaa61) by Alexander Markov · 28 hours ago [e46aff2](https://dart.googlesource.com/sdk.git/+/e46aff2119121d210e6e241c7d0dea52c8b4cdae) [Version 3.7.0-310.0.dev](https://dart.googlesource.com/sdk.git/+/e46aff2119121d210e6e241c7d0dea52c8b4cdae) by Dart CI · 31 hours ago [3.7.0-310.0.dev](https://dart.googlesource.com/sdk.git/+/refs/tags/3.7.0-310.0.dev) [735a739](https://dart.googlesource.com/sdk.git/+/735a73943db7ce5a18078f5d98bd463d145386ff) [Reland "[vm] Turn on entry point checking in JIT mode."](https://dart.googlesource.com/sdk.git/+/735a73943db7ce5a18078f5d98bd463d145386ff) by Ivan Inozemtsev · 35 hours ago [7ec45fa](https://dart.googlesource.com/sdk.git/+/7ec45fa41b04afb4ee96935aa473027368e56272) [Bump tools to b412ba4550bb634caf3c1064b7ebb671cd5e9247](https://dart.googlesource.com/sdk.git/+/7ec45fa41b04afb4ee96935aa473027368e56272) by Devon Carew · 35 hours ago [4de3500](https://dart.googlesource.com/sdk.git/+/4de350042e2025ab3cfceb7630f480857e4d3915) [Version 3.7.0-309.0.dev](https://dart.googlesource.com/sdk.git/+/4de350042e2025ab3cfceb7630f480857e4d3915) by Dart CI · 2 days ago [3.7.0-309.0.dev](https://dart.googlesource.com/sdk.git/+/refs/tags/3.7.0-309.0.dev) [fec029f](https://dart.googlesource.com/sdk.git/+/fec029fa046a42c1291b37ef04677fe2c686e5a4) [[analyzer] Mark latest lint and diagnostic docs as published](https://dart.googlesource.com/sdk.git/+/fec029fa046a42c1291b37ef04677fe2c686e5a4) by Parker Lougheed · 2 days ago [525afed](https://dart.googlesource.com/sdk.git/+/525afedd3f30f04765f8bd798d323f42f0c6a11b) [Revert "analyzer: Support doc-imports with prefixes"](https://dart.googlesource.com/sdk.git/+/525afedd3f30f04765f8bd798d323f42f0c6a11b) by Sam Rawlins · 2 days ago [91af235](https://dart.googlesource.com/sdk.git/+/91af235e319779544e6733da15ac45bdf3174cb2) [Version 3.7.0-308.0.dev](https://dart.googlesource.com/sdk.git/+/91af235e319779544e6733da15ac45bdf3174cb2) by Dart CI · 2 days ago [3.7.0-308.0.dev](https://dart.googlesource.com/sdk.git/+/refs/tags/3.7.0-308.0.dev) [b35bb73](https://dart.googlesource.com/sdk.git/+/b35bb73ac9227fd3266fdb6c79fdfb43feede4f1) [[element model] migrate `string_types`](https://dart.googlesource.com/sdk.git/+/b35bb73ac9227fd3266fdb6c79fdfb43feede4f1) by pq · 2 days ago [9b8841a](https://dart.googlesource.com/sdk.git/+/9b8841a1010a7ccc77ec816ab46e9d09d65d1cfc) [[CQ] unify `directives_ordering_test`s](https://dart.googlesource.com/sdk.git/+/9b8841a1010a7ccc77ec816ab46e9d09d65d1cfc) by pq · 2 days ago [77e8027](https://dart.googlesource.com/sdk.git/+/77e802730c24e183436389ce5dd9310b9d222a16) [[CQ] remove stale `test_data` directory](https://dart.googlesource.com/sdk.git/+/77e802730c24e183436389ce5dd9310b9d222a16) by pq · 2 days ago [213aa8d](https://dart.googlesource.com/sdk.git/+/213aa8d46ca1f92d6e840b91ccda6af8e09c31c5) [Update DevTools rev to 8762b31f0d0ffeea6449fd02740e9ce7acb32503](https://dart.googlesource.com/sdk.git/+/213aa8d46ca1f92d6e840b91ccda6af8e09c31c5) by Elliott Brooks · 2 days ago [c86d7fe](https://dart.googlesource.com/sdk.git/+/c86d7fe8b912fdc6c14fe491696c20beabefabf3) [[CQ] update `unnecessary_ignore` calculation](https://dart.googlesource.com/sdk.git/+/c86d7fe8b912fdc6c14fe491696c20beabefabf3) by pq · 2 days ago [a1f5ee9](https://dart.googlesource.com/sdk.git/+/a1f5ee9861c73486ab3f9bdc8090c0d0342d5397) [[element model] migrate `abstract_single_unit`](https://dart.googlesource.com/sdk.git/+/a1f5ee9861c73486ab3f9bdc8090c0d0342d5397) by pq · 2 days ago [057426e](https://dart.googlesource.com/sdk.git/+/057426eb7f5450f0212a87a3351c7ad25045f3cf) [[dart2js] Include block statements as potentially captured scopes.](https://dart.googlesource.com/sdk.git/+/057426eb7f5450f0212a87a3351c7ad25045f3cf) by Nate Biggs · 2 days ago [2258ea7](https://dart.googlesource.com/sdk.git/+/2258ea7ec2ac40f91f4b45a66238b8d7d02a6df1) [[quick fix] new correction for `unnecessary_underscores`](https://dart.googlesource.com/sdk.git/+/2258ea7ec2ac40f91f4b45a66238b8d7d02a6df1) by pq · 2 days ago [a33ae0f](https://dart.googlesource.com/sdk.git/+/a33ae0fabfdc0f6a56b391ef89a02bdf33b52417) [[CQ] unify featureSet access](https://dart.googlesource.com/sdk.git/+/a33ae0fabfdc0f6a56b391ef89a02bdf33b52417) by pq · 2 days ago [876752e](https://dart.googlesource.com/sdk.git/+/876752e40f3d37dded07fd4cf51ec06eb3b332cb) [[CQ] add feature `isEnabled` utility](https://dart.googlesource.com/sdk.git/+/876752e40f3d37dded07fd4cf51ec06eb3b332cb) by pq · 2 days ago [1b04589](https://dart.googlesource.com/sdk.git/+/1b04589b5d2458bc4bb0dd68e3bf87c4c3759a02) [[analysis_server] Improve error reported by handleExpectedRequest when the expected request never arrives](https://dart.googlesource.com/sdk.git/+/1b04589b5d2458bc4bb0dd68e3bf87c4c3759a02) by Danny Tuppeny · 2 days ago [d80fab4](https://dart.googlesource.com/sdk.git/+/d80fab4a8a6d630a6c4e55eac7032126b7035091) [[dart2wasm] Fix dynamic switch casts.](https://dart.googlesource.com/sdk.git/+/d80fab4a8a6d630a6c4e55eac7032126b7035091) by Nate Biggs · 2 days ago [a70ab61](https://dart.googlesource.com/sdk.git/+/a70ab6124cf2cbafbd890f8933bfd3228185bb5e) [[deps] remove dart-lang/http_multi_server](https://dart.googlesource.com/sdk.git/+/a70ab6124cf2cbafbd890f8933bfd3228185bb5e) by Devon Carew · 2 days ago https://dart.googlesource.com/external/github.com/flutter/flutter/+/da6343150b2b5168ccf433532d4f0eccd3274933
Monorepo is:
With depot_tools installed and on your path, create a directory for your monorepo checkout and run these commands to create a gclient solution in that directory:
mkdir monorepo cd monorepo gclient config --unmanaged https://dart.googlesource.com/monorepo gclient sync -D
This gives you a checkout in the monorepo directory that contains:
monorepo/ DEPS - the DEPS used for this gclient checkout commits.json - the pinned commits for Dart, flutter/engine, and flutter/flutter tools/ - scripts used to create monorepo DEPS engine/src/ - the flutter/buildroot repo flutter/ - the flutter/engine repo out/ - the build directory, where Flutter engine builds are created third_party/ - Flutter dependencies checked out by DEPS dart/ - the Dart SDK checkout. third_party - Dart dependencies, also used by Flutter flutter/ - the flutter/flutter repo
Flutter's instructions for building the engine are at Compiling the engine
They can be followed closely, with a few changes:
goma_ctl ensure_start
is sufficient.Example build commands that work on linux:
MONOREPO_PATH=$PWD if [[ ! $PATH =~ (^|:)$MONOREPO_PATH/flutter/bin(:|$) ]]; then PATH=$MONOREPO_PATH/flutter/bin:$PATH fi export GOMA_DIR=$(dirname $(command -v gclient))/.cipd_bin goma_ctl ensure_start pushd engine/src flutter/tools/gn --goma --no-prebuilt-dart-sdk --unoptimized --full-dart-sdk autoninja -C out/host_debug_unopt popd
The Flutter commands used to build and run apps will use the locally built Flutter engine and Dart SDK, instead of the one downloaded by the Flutter tool, if the --local-engine
option is provided.
For example, to build and run the Flutter spinning square sample on the web platform,
MONOREPO_PATH=$PWD cd flutter/examples/layers flutter --local-engine=host_debug_unopt \ -d chrome run widgets/spinning_square.dart cd $MONOREPO_PATH
To build for desktop, specify the desktop platform device in flutter run
as -d macos
or -d linux
or -d windows
. You may also need to run the command
flutter create --platforms=windows,macos,linux
on existing apps, such as sample apps. New apps created with flutter create
already include these support files. Details of desktop support are at Desktop Support for Flutter
Tests in the Flutter source tree can be run with the flutter test
command, run in the directory of a package containing tests. For example:
MONOREPO_PATH=$PWD cd flutter/packages/flutter flutter test --local-engine=host_debug_unopt cd $MONOREPO_PATH
Please file an issue or email the dart-engprod team with any problems with or questions about using monorepo.
We will update this documentation to address them.
flutter
commands may download the engine and Dart SDK files for the configured channel, even though they will be using the local engine and its SDK.gclient sync
needs to be run in an administrator session, because some installed dependencies create symlinks.