commit | 7dbd1166a1b217c1f7b14b3da286fb454499b70e | [log] [tgz] |
---|---|---|
author | engine-flutter-autoroll <engine-flutter-autoroll@skia.org> | Mon Feb 17 11:04:24 2025 -0500 |
committer | dart-internal-monorepo <dart-internal-monorepo@dart-ci-internal.iam.gserviceaccount.com> | Mon Feb 17 09:06:32 2025 -0800 |
tree | acb4cf904d8b9a97802883d99c6e11b50377b503 | |
parent | 828768ce81bb0be28e7c980a182f9e399fad1867 [diff] |
Roll Packages from 625023aa0376 to 8542af3ddbe4 (21 revisions) (#163484) https://github.com/flutter/packages/compare/625023aa0376...8542af3ddbe4 2025-02-15 stuartmorgan@google.com [various] Enable `permissive-` for Windows plugin examples (flutter/packages#8636) 2025-02-15 stuartmorgan@google.com [pigeon] Update task queue handling (flutter/packages#8627) 2025-02-14 goderbauer@google.com Update CODEOWNERS (flutter/packages#8628) 2025-02-14 32538273+ValentinVignal@users.noreply.github.com [flutter_adaptive_scaffold] Fix some memory leaks (flutter/packages#8546) 2025-02-14 mchudy@users.noreply.github.com [camera] Fix crash when setting activeFormat on FLTCaptureDevice (flutter/packages#8630) 2025-02-13 mchudy@users.noreply.github.com [camera] Remove remaining OCMock usage in tests (flutter/packages#8624) 2025-02-13 10687576+bparrishMines@users.noreply.github.com [webview_flutter_wkwebview] Change callback methods with a non-null return type to non-null (flutter/packages#8564) 2025-02-12 737941+loic-sharma@users.noreply.github.com [google_sign_in_ios] Adds Swift Package Manager support (flutter/packages#7356) 2025-02-12 pawel.jakubowski@leancode.pl [camera_avfoundation] Migrate tests to Swift - part 1 (flutter/packages#8603) 2025-02-12 43054281+camsim99@users.noreply.github.com [video_player] Re-enables `asset videos live stream duration != 0` test for Android (flutter/packages#8610) 2025-02-12 32538273+ValentinVignal@users.noreply.github.com [go_router_builder] Add support for `TypedStatefulShellBranch`'s `preload` (flutter/packages#8587) 2025-02-12 magder@google.com [local_auth_darwin] Fix test name for clarity (flutter/packages#8499) 2025-02-11 ditman@gmail.com [ci] Manually roll master, set -Xmx4G (flutter/packages#8586) 2025-02-11 49699333+dependabot[bot]@users.noreply.github.com [dependabot]: Bump the gradle-plugin group across 4 directories with 1 update (flutter/packages#8551) 2025-02-10 10687576+bparrishMines@users.noreply.github.com [pigeon] Add errors for ProxyAPI callback methods and null instances when reading in a ProxyApiBaseCodec (flutter/packages#8567) 2025-02-10 98884136+berhili098@users.noreply.github.com [shared_preferences]Fix : SetState returning future (flutter/packages#8398) 2025-02-10 stuartmorgan@google.com [various] Add deprecation notices to READMEs (flutter/packages#8598) 2025-02-10 mchudy@users.noreply.github.com [camera] Remove OCMock from CameraSettingsTests, CameraMethodChannelTests and CameraSessionPresetsTests (flutter/packages#8592) 2025-02-10 mchudy@users.noreply.github.com [camera] Remove OCMock from FLTCamPhotoCaptureTests, FLTSavePhotoDelegateTests and StreamingTests (flutter/packages#8590) 2025-02-07 32538273+ValentinVignal@users.noreply.github.com [go_router] Add `preload` parameter to `StatefulShellBranchData.$branch` (flutter/packages#8545) 2025-02-07 pawel.jakubowski@leancode.pl [video_player_avfoundation] iOS platform view support (flutter/packages#8237) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-packages-flutter-autoroll Please CC flutter-ecosystem@google.com on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md https://dart.googlesource.com/external/github.com/flutter/flutter/+/22c78a0716dac184390f24622855cf96b958d429
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.