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

Commit a255449

Browse files
author
jonahwilliams
committed
Merge branch 'main' of github.com:flutter/engine into compute_uv_vertex_stage
2 parents 699fe6a + 55670b7 commit a255449

File tree

222 files changed

+5348
-4620
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

222 files changed

+5348
-4620
lines changed

.github/workflows/third_party_scan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
name: Vulnerability scanning
4242
needs:
4343
extract-deps
44-
uses: "google/osv-scanner-action/.github/workflows/osv-scanner-reusable.yml@v1.6.2-beta1"
44+
uses: "google/osv-scanner-action/.github/workflows/osv-scanner-reusable.yml@v1.7.1"
4545
with:
4646
# Download the artifact uploaded in extract-deps step
4747
download-artifact: osv-lockfile-${{github.sha}}

DEPS

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ vars = {
1414
'flutter_git': 'https://flutter.googlesource.com',
1515
'skia_git': 'https://skia.googlesource.com',
1616
'llvm_git': 'https://llvm.googlesource.com',
17-
'skia_revision': '9e20a146c0240e68a5cd41443b6f0756b74df138',
17+
'skia_revision': 'f4a214ecf1974eb3289564d5728b3fa8d8f3c079',
1818

1919
# WARNING: DO NOT EDIT canvaskit_cipd_instance MANUALLY
2020
# See `lib/web_ui/README.md` for how to roll CanvasKit to a new version.
@@ -50,7 +50,7 @@ vars = {
5050
# https://chrome-infra-packages.appspot.com/p/fuchsia/third_party/goma/client
5151
'goma_version': ' git_revision:41b3bcb64014144a844153fd5588c36411fffb56',
5252

53-
'reclient_version': 'git_revision:f61c232b70bc425f0b562480312b114c444d460d',
53+
'reclient_version': 'git_revision:2c9285bdffcfd1b21afb028d57494ff78761af81',
5454

5555
'gcloud_version': 'version:2@444.0.0.chromium.3',
5656

@@ -62,7 +62,7 @@ vars = {
6262
# Dart is: https://github.com/dart-lang/sdk/blob/main/DEPS
6363
# You can use //tools/dart/create_updated_flutter_deps.py to produce
6464
# updated revision list of existing dependencies.
65-
'dart_revision': 'ac31be3c8546efbd153838d6f110b586702a397a',
65+
'dart_revision': '2ff00e4eb7594f4d1692574821ab12dd2c83344c',
6666

6767
# WARNING: DO NOT EDIT MANUALLY
6868
# The lines between blank lines above and below are generated by a script. See create_updated_flutter_deps.py
@@ -77,11 +77,11 @@ vars = {
7777
'dart_perfetto_rev': '13ce0c9e13b0940d2476cd0cff2301708a9a2e2b',
7878
'dart_protobuf_gn_rev': 'ca669f79945418f6229e4fef89b666b2a88cbb10',
7979
'dart_protobuf_rev': 'ccf104dbc36929c0f8708285d5f3a8fae206343e',
80-
'dart_pub_rev': 'f3b1199fcab37a197f2980bf6b28e421e7bce771',
80+
'dart_pub_rev': '55cc6c138ad4777cf4fc0710c55dc37a33fdcd69',
8181
'dart_tools_rev': 'd86ea23c79d2e9dc622d3376aa80d94fbf30bf60',
8282
'dart_watcher_rev': '1bd2f20d0d924c8422aa2b9afdb165bff4f053c0',
83-
'dart_web_rev': '3d1b4cbaaf7517cf4f86c8cf8ebe31c67040e08a',
84-
'dart_webdev_rev': '7d0d2d46bf4249e73298ddafa4f323f8609d08da',
83+
'dart_web_rev': '9d8c802d13b785b1a5b201c4a43605d640841c98',
84+
'dart_webdev_rev': '3a10b76f3937fb9b50e7971fb15f82b65dfe05ef',
8585
'dart_webkit_inspection_protocol_rev': '153fea4fe5ac45bebf0c2e76bb3d76b0f1fcdaae',
8686
'dart_yaml_edit_rev': 'f5a92b3bc64b4e78ec1fb616ad1dff2174e799b1',
8787

@@ -288,7 +288,7 @@ allowed_hosts = [
288288
]
289289

290290
deps = {
291-
'src': 'https://github.com/flutter/buildroot.git' + '@' + 'dcd71b5b237e1e58f2ad8a7e51bead0c2a3755a9',
291+
'src': 'https://github.com/flutter/buildroot.git' + '@' + '915f67999bfb4eb77cf596bbadacdce7868ede49',
292292

293293
'src/flutter/third_party/depot_tools':
294294
Var('chromium_git') + '/chromium/tools/depot_tools.git' + '@' + '580b4ff3f5cd0dcaa2eacda28cefe0f45320e8f7',
@@ -397,7 +397,7 @@ deps = {
397397
Var('dart_git') + '/dart_style.git@a6ad7693555a9add6f98ad6fd94de80d35c89415',
398398

399399
'src/flutter/third_party/dart/third_party/pkg/dartdoc':
400-
Var('dart_git') + '/dartdoc.git@28d0dabbcce6e19cb62daea2db7d5d3d87017dfa',
400+
Var('dart_git') + '/dartdoc.git@592694e0557122c59f9eaf007dd8139d84d411d8',
401401

402402
'src/flutter/third_party/dart/third_party/pkg/file':
403403
Var('dart_git') + '/external/github.com/google/file.dart@f858c6fe9d1b0167b944aa62dd9b4321036b5238',
@@ -412,7 +412,7 @@ deps = {
412412
Var('dart_git') + '/html.git@5b99b43f71da0c6b0f962244c7f5dfa8ca970fef',
413413

414414
'src/flutter/third_party/dart/third_party/pkg/http':
415-
Var('dart_git') + '/http.git@b7477b1e1bc5c8f850299b7abcc58d08ddea9e4a',
415+
Var('dart_git') + '/http.git@34d7087ed2361dbe68faae6af8e7874fb805311d',
416416

417417
'src/flutter/third_party/dart/third_party/pkg/http_multi_server':
418418
Var('dart_git') + '/http_multi_server.git@6ce0a137aa20cc12b883a386bb7c0ae677cb3429',
@@ -466,7 +466,7 @@ deps = {
466466
Var('dart_git') + '/pub_semver.git@7581029bf5346fd5a44b95f4686bba8de7598859',
467467

468468
'src/flutter/third_party/dart/third_party/pkg/shelf':
469-
Var('dart_git') + '/shelf.git@68cb8641c3181cc76006887a7e93b9d3a423f590',
469+
Var('dart_git') + '/shelf.git@7352d1b7ac283df8eac36441d7569be8a36757f9',
470470

471471
'src/flutter/third_party/dart/third_party/pkg/source_map_stack_trace':
472472
Var('dart_git') + '/source_map_stack_trace.git@9ed8875f0933bf0d8e09694211cb9765147b27bb',
@@ -508,7 +508,7 @@ deps = {
508508
Var('dart_git') + '/typed_data.git@8c7393cbbbba7a5d38c6772371f92d6b38e433fc',
509509

510510
'src/flutter/third_party/dart/third_party/pkg/usage':
511-
Var('dart_git') + '/usage.git@09cab899c2759c2e1c84ab49098f58beab3c149f',
511+
Var('dart_git') + '/usage.git@2847cdb94e238a921c600e81b52c91baf4ea0b50',
512512

513513
'src/flutter/third_party/dart/third_party/pkg/watcher':
514514
Var('dart_git') + '/watcher.git' + '@' + Var('dart_watcher_rev'),
@@ -656,7 +656,7 @@ deps = {
656656
Var('flutter_git') + '/third_party/libjpeg-turbo' + '@' + '0fb821f3b2e570b2783a94ccd9a2fb1f4916ae9f',
657657

658658
'src/flutter/third_party/libpng':
659-
Var('flutter_git') + '/third_party/libpng' + '@' + '9187b6e12756317f6d44fc669ac11dfc262bd192',
659+
Var('flutter_git') + '/third_party/libpng' + '@' + 'de36b892e921c684ef718fec24739ae9bb49c977',
660660

661661
'src/flutter/third_party/libwebp':
662662
Var('chromium_git') + '/webm/libwebp.git' + '@' + 'ca332209cb5567c9b249c86788cb2dbf8847e760', # 1.3.2
@@ -665,7 +665,10 @@ deps = {
665665
Var('skia_git') + '/external/github.com/google/wuffs-mirror-release-c.git' + '@' + '600cd96cf47788ee3a74b40a6028b035c9fd6a61',
666666

667667
'src/third_party/zlib':
668-
Var('chromium_git') + '/chromium/src/third_party/zlib.git' + '@' + '14dd4c4455602c9b71a1a89b5cafd1f4030d2e3f',
668+
Var('chromium_git') + '/chromium/src/third_party/zlib.git' + '@' + '7d77fb7fd66d8a5640618ad32c71fdeb7d3e02df',
669+
670+
'src/flutter/third_party/cpu_features/src':
671+
Var('chromium_git') + '/external/github.com/google/cpu_features.git' + '@' + '936b9ab5515dead115606559502e3864958f7f6e',
669672

670673
'src/flutter/third_party/inja':
671674
Var('flutter_git') + '/third_party/inja' + '@' + '88bd6112575a80d004e551c98cf956f88ff4d445',
@@ -1024,7 +1027,7 @@ deps = {
10241027
'packages': [
10251028
{
10261029
'package': 'fuchsia/sdk/core/linux-amd64',
1027-
'version': 'peYcbx9eguHcbhMP00N4RjvNWuk5s5GR4TrllCDBAmIC'
1030+
'version': 'RruZA4WorQDkGpz25Y1nj91ChnD6UJ4Z5iczfMzg_HQC'
10281031
}
10291032
],
10301033
'condition': 'download_fuchsia_deps and not download_fuchsia_sdk',

build/secondary/flutter/third_party/libwebp/BUILD.gn

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ source_set("libwebp") {
5353
deps = [ ":libwebp_sse41" ]
5454

5555
if (is_android) {
56-
deps += [ "//third_party/cpu-features" ]
56+
deps += [ "//third_party/cpu_features:ndk_compat" ]
5757
}
5858

5959
configs += [ ":libwebp_defines" ]
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Copyright 2013 The Flutter Authors. All rights reserved.
2+
# Use of this source code is governed by a BSD-style license that can be
3+
# found in the LICENSE file.
4+
5+
group("ndk_compat") {
6+
public_deps = [ "//flutter/third_party/cpu_features:ndk_compat" ]
7+
}

ci/builders/mac_host_engine.json

Lines changed: 26 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,6 @@
215215
"flutter/build/archives:archive_gen_snapshot",
216216
"flutter/build/archives:artifacts",
217217
"flutter/build/dart:copy_dart_sdk",
218-
"flutter/impeller/golden_tests:impeller_golden_tests",
219218
"flutter/shell/platform/darwin/macos:zip_macos_flutter_framework",
220219
"flutter/tools/font_subset",
221220
"flutter:unittests"
@@ -249,7 +248,7 @@
249248
"--variant",
250249
"ci/host_release",
251250
"--type",
252-
"dart,dart-host,engine,impeller-golden"
251+
"dart,dart-host,engine"
253252
]
254253
}
255254
]
@@ -405,7 +404,7 @@
405404
"drone_dimensions": [
406405
"device_type=none",
407406
"os=Mac-13",
408-
"cpu=x86"
407+
"cpu=arm64"
409408
],
410409
"gclient_variables": {
411410
"download_android_deps": false,
@@ -423,16 +422,21 @@
423422
"--prebuilt-dart-sdk",
424423
"--rbe",
425424
"--no-goma",
426-
"--xcode-symlinks"
425+
"--xcode-symlinks",
426+
"--use-glfw-swiftshader"
427427
],
428428
"name": "ci/mac_release_arm64",
429429
"description": "Produces release mode arm64 macOS host-side tooling.",
430430
"ninja": {
431431
"config": "ci/mac_release_arm64",
432432
"targets": [
433-
"flutter/tools/font_subset",
433+
"flutter:unittests",
434+
"flutter/build/archives:archive_gen_snapshot",
434435
"flutter/build/archives:artifacts",
435-
"flutter/shell/platform/darwin/macos:zip_macos_flutter_framework"
436+
"flutter/build/dart:copy_dart_sdk",
437+
"flutter/impeller/golden_tests:impeller_golden_tests",
438+
"flutter/shell/platform/darwin/macos:zip_macos_flutter_framework",
439+
"flutter/tools/font_subset"
436440
]
437441
},
438442
"postsubmit_overrides": {
@@ -447,14 +451,28 @@
447451
"--no-lto",
448452
"--prebuilt-dart-sdk",
449453
"--no-rbe",
450-
"--no-goma"
454+
"--no-goma",
455+
"--use-glfw-swiftshader"
451456
]
452457
},
453458
"properties": {
454459
"$flutter/osx_sdk": {
455460
"sdk_version": "15a240d"
456461
}
457-
}
462+
},
463+
"tests": [
464+
{
465+
"language": "python3",
466+
"name": "Impeller-golden for host_release",
467+
"script": "flutter/testing/run_tests.py",
468+
"parameters": [
469+
"--variant",
470+
"ci/mac_release_arm64",
471+
"--type",
472+
"impeller-golden"
473+
]
474+
}
475+
]
458476
}
459477
],
460478
"generators": {

ci/licenses.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ function verify_licenses() (
174174

175175
local actualLicenseCount
176176
actualLicenseCount="$(tail -n 1 flutter/ci/licenses_golden/licenses_flutter | tr -dc '0-9')"
177-
local expectedLicenseCount=888 # When changing this number: Update the error message below as well describing the newly expected license types.
177+
local expectedLicenseCount=890 # When changing this number: Update the error message below as well describing the newly expected license types.
178178

179179
if [[ $actualLicenseCount -ne $expectedLicenseCount ]]; then
180180
echo "=============================== ERROR ==============================="

ci/licenses_golden/excluded_files

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1328,6 +1328,21 @@
13281328
../../../flutter/third_party/boringssl/win-aarch64/crypto/test
13291329
../../../flutter/third_party/boringssl/win-x86/crypto/test
13301330
../../../flutter/third_party/boringssl/win-x86_64/crypto/test
1331+
../../../flutter/third_party/cpu_features/src/.clang-format
1332+
../../../flutter/third_party/cpu_features/src/.git
1333+
../../../flutter/third_party/cpu_features/src/.github
1334+
../../../flutter/third_party/cpu_features/src/.gitignore
1335+
../../../flutter/third_party/cpu_features/src/BUILD.bazel
1336+
../../../flutter/third_party/cpu_features/src/CMakeLists.txt
1337+
../../../flutter/third_party/cpu_features/src/CONTRIBUTING.md
1338+
../../../flutter/third_party/cpu_features/src/README.md
1339+
../../../flutter/third_party/cpu_features/src/WORKSPACE
1340+
../../../flutter/third_party/cpu_features/src/bazel/ci/README.md
1341+
../../../flutter/third_party/cpu_features/src/bazel/platforms.bzl
1342+
../../../flutter/third_party/cpu_features/src/cmake
1343+
../../../flutter/third_party/cpu_features/src/ndk_compat/CMakeLists.txt
1344+
../../../flutter/third_party/cpu_features/src/ndk_compat/README.md
1345+
../../../flutter/third_party/cpu_features/src/test
13311346
../../../flutter/third_party/dart
13321347
../../../flutter/third_party/dart/.clang-format
13331348
../../../flutter/third_party/dart/.dart_tool
@@ -2100,7 +2115,10 @@
21002115
../../../flutter/third_party/libjpeg-turbo/src/simd/CMakeLists.txt
21012116
../../../flutter/third_party/libjpeg-turbo/src/structure.txt
21022117
../../../flutter/third_party/libjpeg-turbo/src/wrjpgcom.1
2118+
../../../flutter/third_party/libpng/.appveyor.yml
2119+
../../../flutter/third_party/libpng/.editorconfig
21032120
../../../flutter/third_party/libpng/.git
2121+
../../../flutter/third_party/libpng/.gitignore
21042122
../../../flutter/third_party/libpng/.travis.yml
21052123
../../../flutter/third_party/libpng/ANNOUNCE
21062124
../../../flutter/third_party/libpng/AUTHORS
@@ -2112,10 +2130,12 @@
21122130
../../../flutter/third_party/libpng/TODO
21132131
../../../flutter/third_party/libpng/TRADEMARK
21142132
../../../flutter/third_party/libpng/aclocal.m4
2133+
../../../flutter/third_party/libpng/ci
21152134
../../../flutter/third_party/libpng/contrib
21162135
../../../flutter/third_party/libpng/libpng-manual.txt
21172136
../../../flutter/third_party/libpng/libpng.3
21182137
../../../flutter/third_party/libpng/libpngpf.3
2138+
../../../flutter/third_party/libpng/loongarch
21192139
../../../flutter/third_party/libpng/mips
21202140
../../../flutter/third_party/libpng/png.5
21212141
../../../flutter/third_party/libpng/powerpc
@@ -2624,6 +2644,11 @@
26242644
../../../flutter/third_party/skia/include/gpu/d3d/BUILD.bazel
26252645
../../../flutter/third_party/skia/include/gpu/ganesh/BUILD.bazel
26262646
../../../flutter/third_party/skia/include/gpu/ganesh/gl/BUILD.bazel
2647+
../../../flutter/third_party/skia/include/gpu/ganesh/gl/egl/BUILD.bazel
2648+
../../../flutter/third_party/skia/include/gpu/ganesh/gl/epoxy/BUILD.bazel
2649+
../../../flutter/third_party/skia/include/gpu/ganesh/gl/glx/BUILD.bazel
2650+
../../../flutter/third_party/skia/include/gpu/ganesh/gl/ios/BUILD.bazel
2651+
../../../flutter/third_party/skia/include/gpu/ganesh/gl/mac/BUILD.bazel
26272652
../../../flutter/third_party/skia/include/gpu/ganesh/mtl/BUILD.bazel
26282653
../../../flutter/third_party/skia/include/gpu/ganesh/vk/BUILD.bazel
26292654
../../../flutter/third_party/skia/include/gpu/gl/BUILD.bazel
@@ -3383,6 +3408,7 @@
33833408
../../../fuchsia/sdk/linux/pkg/driver_devfs_cpp/meta.json
33843409
../../../fuchsia/sdk/linux/pkg/driver_incoming_cpp/meta.json
33853410
../../../fuchsia/sdk/linux/pkg/driver_logging_cpp/meta.json
3411+
../../../fuchsia/sdk/linux/pkg/driver_node_cpp/meta.json
33863412
../../../fuchsia/sdk/linux/pkg/driver_outgoing_cpp/meta.json
33873413
../../../fuchsia/sdk/linux/pkg/driver_runtime/meta.json
33883414
../../../fuchsia/sdk/linux/pkg/driver_runtime_cpp/meta.json
@@ -3500,19 +3526,20 @@
35003526
../../../third_party/zlib/DIR_METADATA
35013527
../../../third_party/zlib/OWNERS
35023528
../../../third_party/zlib/README.chromium
3503-
../../../third_party/zlib/contrib/bench/OWNERS
35043529
../../../third_party/zlib/contrib/minizip/Makefile
35053530
../../../third_party/zlib/contrib/minizip/README.chromium
35063531
../../../third_party/zlib/contrib/minizip/miniunz.c
35073532
../../../third_party/zlib/contrib/minizip/minizip.c
35083533
../../../third_party/zlib/contrib/minizip/minizip.md
35093534
../../../third_party/zlib/contrib/tests
3535+
../../../third_party/zlib/examples
35103536
../../../third_party/zlib/google/DEPS
35113537
../../../third_party/zlib/google/OWNERS
35123538
../../../third_party/zlib/google/compression_utils_unittest.cc
35133539
../../../third_party/zlib/google/test
35143540
../../../third_party/zlib/google/zip_reader_unittest.cc
35153541
../../../third_party/zlib/google/zip_unittest.cc
35163542
../../../third_party/zlib/patches/README
3543+
../../../third_party/zlib/test
35173544
../../../third_party/zlib/zlib.3
35183545
../../../tools

ci/licenses_golden/licenses_dart

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Signature: 88f7402b221eff690cebce6fc303a6fe
1+
Signature: fb34ac5e4a1e4b3dad05990b65765b76
22

33
====================================================================================================
44
LIBRARY: dart
@@ -4086,6 +4086,7 @@ ORIGIN: ../../../flutter/third_party/dart/runtime/bin/ifaddrs.cc + ../../../flut
40864086
ORIGIN: ../../../flutter/third_party/dart/runtime/bin/ifaddrs.h + ../../../flutter/third_party/dart/LICENSE
40874087
ORIGIN: ../../../flutter/third_party/dart/runtime/vm/compiler/backend/dart_calling_conventions.cc + ../../../flutter/third_party/dart/LICENSE
40884088
ORIGIN: ../../../flutter/third_party/dart/runtime/vm/compiler/backend/dart_calling_conventions.h + ../../../flutter/third_party/dart/LICENSE
4089+
ORIGIN: ../../../flutter/third_party/dart/runtime/vm/os.cc + ../../../flutter/third_party/dart/LICENSE
40894090
ORIGIN: ../../../flutter/third_party/dart/sdk/lib/_internal/js_dev_runtime/private/ddc_only.dart + ../../../flutter/third_party/dart/LICENSE
40904091
ORIGIN: ../../../flutter/third_party/dart/sdk/lib/_internal/js_runtime/lib/dart2js_only.dart + ../../../flutter/third_party/dart/LICENSE
40914092
ORIGIN: ../../../flutter/third_party/dart/sdk/lib/_internal/js_runtime/lib/synced/invocation_mirror_constants.dart + ../../../flutter/third_party/dart/LICENSE
@@ -4095,6 +4096,7 @@ FILE: ../../../flutter/third_party/dart/runtime/bin/ifaddrs.cc
40954096
FILE: ../../../flutter/third_party/dart/runtime/bin/ifaddrs.h
40964097
FILE: ../../../flutter/third_party/dart/runtime/vm/compiler/backend/dart_calling_conventions.cc
40974098
FILE: ../../../flutter/third_party/dart/runtime/vm/compiler/backend/dart_calling_conventions.h
4099+
FILE: ../../../flutter/third_party/dart/runtime/vm/os.cc
40984100
FILE: ../../../flutter/third_party/dart/sdk/lib/_internal/js_dev_runtime/private/ddc_only.dart
40994101
FILE: ../../../flutter/third_party/dart/sdk/lib/_internal/js_runtime/lib/dart2js_only.dart
41004102
FILE: ../../../flutter/third_party/dart/sdk/lib/_internal/js_runtime/lib/synced/invocation_mirror_constants.dart
@@ -4737,7 +4739,7 @@ Exhibit B - "Incompatible With Secondary Licenses" Notice
47374739
This Source Code Form is "Incompatible With Secondary Licenses", as
47384740
defined by the Mozilla Public License, v. 2.0.
47394741

4740-
You may obtain a copy of this library's Source Code Form from: https://dart.googlesource.com/sdk/+/ac31be3c8546efbd153838d6f110b586702a397a
4742+
You may obtain a copy of this library's Source Code Form from: https://dart.googlesource.com/sdk/+/2ff00e4eb7594f4d1692574821ab12dd2c83344c
47414743
/third_party/fallback_root_certificates/
47424744

47434745
====================================================================================================

0 commit comments

Comments
 (0)