commit | 0a3becb17eccf65655218c7b24a2f98050af7d78 | [log] [tgz] |
---|---|---|
author | skia-flutter-autoroll <skia-flutter-autoroll@skia.org> | Fri Aug 16 17:38:09 2024 -0400 |
committer | dart-internal-monorepo <dart-internal-monorepo@dart-ci-internal.iam.gserviceaccount.com> | Fri Aug 16 14:44:59 2024 -0700 |
tree | a49475e83618702cf011b051621e5a8b18becd7e | |
parent | de6dfa4cd8d3bc9d1453f9143d2e078ec6145542 [diff] |
Roll Skia from 7c0eeaf12413 to fc8769175d35 (58 revisions) (#54589) Roll Skia from 7c0eeaf12413 to fc8769175d35 (58 revisions) https://skia.googlesource.com/skia.git/+log/7c0eeaf12413..fc8769175d35 2024-08-16 kjlubick@google.com Apply buildifier to modules/audioplayer 2024-08-16 fmalita@google.com [bazel] Add Viewer resources 2024-08-16 bungeman@google.com SkScalerContext implementation specific emboldening 2024-08-16 jvanverth@google.com [graphite] Add purge() method to DrawAtlas. 2024-08-16 brianosman@google.com Revert "[pdf] Emit bare CFF instead of OpenType CFF" 2024-08-16 borenet@google.com Reapply "[bazel] Remove symlinks for external files" 2024-08-16 lukasza@chromium.org Delete `DECODE_PNG_FILES` from `src/codec/BUILD.bazel` 2024-08-16 lukasza@chromium.org Depend only on public PNG headers from `ico_decode` target. 2024-08-16 lukasza@chromium.org Add GNI group for PNG and expand source list 2024-08-16 skia-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 97855a7c330f to dad70915c62f (5 revisions) 2024-08-16 skia-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from 2003e06230b1 to 83ca89e58cef (6 revisions) 2024-08-16 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Dawn from 2918c4247f20 to 69433722b83b (16 revisions) 2024-08-16 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Skia Infra from 936d3406908e to 521d0157ce62 (7 revisions) 2024-08-16 jvanverth@google.com [graphite] Make DrawAtlas::compact() more aggressive. 2024-08-16 jvanverth@google.com [graphite] Avoid one ref when dealing with subRunStorage. 2024-08-16 skia-autoroll@skia-public.iam.gserviceaccount.com Roll SK Tool from 936d3406908e to 521d0157ce62 2024-08-16 michaelludwig@google.com Revert "[bazel] Remove symlinks for external files" 2024-08-16 michaelludwig@google.com Revert "Reland "Reduce size of linear SkMaskGamma LUT"" 2024-08-16 michaelludwig@google.com Simplify Porter-Duff constant blend function 2024-08-15 brianosman@google.com Implement asAColorMode and asAColorMatrix for SkWorkingFormatColorFilter 2024-08-15 borenet@google.com [bazel] Remove symlinks for external files 2024-08-15 kschmi@microsoft.com Reland "Reduce size of linear SkMaskGamma LUT" 2024-08-15 skia-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 91058f2297c9 to 97855a7c330f (1 revision) 2024-08-15 lukasza@chromium.org [rust png] Avoiding newtype wrapper for `cxx::UniquePtr<ffi::ReadTrait>` 2024-08-15 lukasza@chromium.org [rust png] Expose `png::Reader` over the FFI boundary. 2024-08-15 fmalita@google.com [bazel] Enable SVG support in Viewer 2024-08-15 robertphillips@google.com Reland "[graphite] Add DawnCaps::extractGraphicsDescs" 2024-08-15 bungeman@google.com [pdf] Emit bare CFF instead of OpenType CFF 2024-08-15 jamesgk@google.com [graphite] Don't run GMs that test automatic image tiling 2024-08-15 geofflang@google.com Reland "Allow client arrays on ANGLE." 2024-08-15 fmalita@google.com [bazel] More viewer slides 2024-08-15 kjlubick@google.com Remove all references to legacy //:skia_public and //:skia_internal 2024-08-15 skia-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from 087afc919eda to 2003e06230b1 (8 revisions) 2024-08-15 skia-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 0d313c52316c to 91058f2297c9 (3 revisions) 2024-08-15 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Skia Infra from 60f8f34ea424 to 936d3406908e (8 revisions) 2024-08-15 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Dawn from 239f9139d016 to 2918c4247f20 (14 revisions) 2024-08-15 skia-autoroll@skia-public.iam.gserviceaccount.com Roll SK Tool from 60f8f34ea424 to 936d3406908e 2024-08-14 robertphillips@google.com Revert "[graphite] Add DawnCaps::extractGraphicsDescs" 2024-08-14 robertphillips@google.com Revert "[graphite] Fix static initializer problem wrt Caps Domains" 2024-08-14 robertphillips@google.com [graphite] Fix static initializer problem wrt Caps Domains 2024-08-14 fmalita@google.com [bazel] Enable Skottie support in Viewer 2024-08-14 skia-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from f084a55f96da to 0d313c52316c (1 revision) 2024-08-14 ccameron@chromium.org Add SkJpegMetadataDecoder::Make that takes SkData 2024-08-14 kjlubick@google.com Enforce IWYU on graphite/geom 2024-08-14 kjlubick@google.com Apply clang-tidy suggestion to UploadTask 2024-08-14 kjlubick@google.com Fix Bazel build of viewer after GPU_TEST_UTILS landed ... https://dart.googlesource.com/external/github.com/flutter/engine/+/cc732b4c698e0421d8aaea6a01bb335c5555ba6b
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.