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

Commit 90de99f

Browse files
authored
Merge branch 'flutter:main' into download-font-concurrently
2 parents 7c7ee5e + 6aa683e commit 90de99f

File tree

377 files changed

+10691
-5658
lines changed

Some content is hidden

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

377 files changed

+10691
-5658
lines changed

.ci.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,10 +312,11 @@ targets:
312312

313313
- name: Mac mac_host_engine
314314
recipe: engine_v2/engine_v2
315+
bringup: true
315316
timeout: 60
316317
properties:
317318
config_name: mac_host_engine
318-
environment: Production
319+
environment: Staging
319320

320321
- name: Mac Unopt
321322
recipe: engine/engine_unopt

.github/workflows/scorecards-analysis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ jobs:
1515
if: ${{ github.repository == 'flutter/engine' }}
1616
steps:
1717
- name: "Checkout code"
18-
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
18+
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
1919
with:
2020
persist-credentials: false
2121
- name: "setup python"
22-
uses: actions/setup-python@b55428b1882923874294fa556849718a1d7f2ca5
22+
uses: actions/setup-python@13ae5bb136fac2878aff31522b9efb785519f984
2323
with:
2424
python-version: '3.7.7' # install the python version needed
2525
- name: "execute py script"
@@ -38,7 +38,7 @@ jobs:
3838
id-token: write
3939
steps:
4040
- name: "Checkout code"
41-
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
41+
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
4242
with:
4343
persist-credentials: false
4444
- name: "Run analysis"
@@ -65,6 +65,6 @@ jobs:
6565

6666
# Upload the results to GitHub's code scanning dashboard.
6767
- name: "Upload to code-scanning"
68-
uses: github/codeql-action/upload-sarif@e0e5ded33cabb451ae0a9768fc7b0410bad9ad44
68+
uses: github/codeql-action/upload-sarif@807578363a7869ca324a79039e6db9c843e0e100
6969
with:
7070
sarif_file: results.sarif

BUILD.gn

Lines changed: 4 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ import("//third_party/dart/build/dart/copy_tree.gni")
1212

1313
# Whether to build the dartdevc sdk, libraries, and source files
1414
# required for the flutter web sdk.
15+
# TODO(jacksongardner): remove this poorly named argument once the recipes stop
16+
# using it. https://github.com/flutter/flutter/issues/113303
1517
declare_args() {
1618
full_dart_sdk = false
1719
}
@@ -44,30 +46,6 @@ config("export_dynamic_symbols") {
4446
}
4547
}
4648

47-
if (flutter_prebuilt_dart_sdk) {
48-
copy_trees("_copy_trees") {
49-
sources = [
50-
{
51-
target = "copy_dart_sdk"
52-
visibility = [ ":dart_sdk" ]
53-
source = prebuilt_dart_sdk
54-
dest = "$root_out_dir/dart-sdk"
55-
ignore_patterns = "{}"
56-
},
57-
]
58-
}
59-
}
60-
61-
group("dart_sdk") {
62-
if (build_engine_artifacts) {
63-
if (flutter_prebuilt_dart_sdk) {
64-
public_deps = [ ":copy_dart_sdk" ]
65-
} else {
66-
public_deps = [ "//third_party/dart:create_sdk" ]
67-
}
68-
}
69-
}
70-
7149
group("flutter") {
7250
testonly = true
7351

@@ -96,7 +74,7 @@ group("flutter") {
9674

9775
if (build_engine_artifacts) {
9876
public_deps += [
99-
":dart_sdk",
77+
"//flutter/build/dart:dart_sdk",
10078
"//flutter/flutter_frontend_server:frontend_server",
10179

10280
# This must be listed explicitly for desktop cross-builds since
@@ -135,6 +113,7 @@ group("flutter") {
135113
"//flutter/display_list:display_list_benchmarks",
136114
"//flutter/display_list:display_list_builder_benchmarks",
137115
"//flutter/fml:fml_benchmarks",
116+
"//flutter/impeller/geometry:geometry_benchmarks",
138117
"//flutter/lib/ui:ui_benchmarks",
139118
"//flutter/shell/common:shell_benchmarks",
140119
"//flutter/third_party/txt:txt_benchmarks",

DEPS

Lines changed: 38 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ vars = {
1818
'llvm_git': 'https://llvm.googlesource.com',
1919
# OCMock is for testing only so there is no google clone
2020
'ocmock_git': 'https://github.com/erikdoe/ocmock.git',
21-
'skia_revision': '79fd56ba7ff7984597fc6ffedf6f4f4160e52a07',
21+
'skia_revision': 'fc7d5c9ee97044429fa226dd765215cd4a83c5b6',
2222

2323
# WARNING: DO NOT EDIT canvaskit_cipd_instance MANUALLY
2424
# See `lib/web_ui/README.md` for how to roll CanvasKit to a new version.
@@ -35,30 +35,30 @@ vars = {
3535
# The list of revisions for these tools comes from Fuchsia, here:
3636
# https://fuchsia.googlesource.com/integration/+/HEAD/toolchain
3737
# If there are problems with the toolchain, contact fuchsia-toolchain@.
38-
'clang_revision': '039b969b32b64b64123dce30dd28ec4e343d893f',
38+
'clang_version': 'git_revision:a93d03310e2c02fa5e24544df4706650f85788f7',
3939

4040
# When updating the Dart revision, ensure that all entries that are
4141
# dependencies of Dart are also updated to match the entries in the
4242
# Dart SDK's DEPS file for that revision of Dart. The DEPS file for
4343
# Dart is: https://github.com/dart-lang/sdk/blob/main/DEPS.
4444
# You can use //tools/dart/create_updated_flutter_deps.py to produce
4545
# updated revision list of existing dependencies.
46-
'dart_revision': '34aa82e199ef0cba90ce026a1f3a9ad97444bdb8',
46+
'dart_revision': '1d418b40d8bd82d6a2d293e8f87d37ebe43841cd',
4747

4848
# WARNING: DO NOT EDIT MANUALLY
4949
# The lines between blank lines above and below are generated by a script. See create_updated_flutter_deps.py
5050
'dart_boringssl_gen_rev': 'ced85ef0a00bbca77ce5a91261a5f2ae61b1e62f',
5151
'dart_boringssl_rev': '87f316d7748268eb56f2dc147bd593254ae93198',
5252
'dart_browser_launcher_rev': '981ca8847dd2b0fe022f9e742045cfb8f214d35f',
5353
'dart_clock_rev': '97026d1657566bb0c9f5a33642712ec350e45084',
54-
'dart_collection_rev': '414ffa1bc8ba18bd608bbf916d95715311d89ac1',
54+
'dart_collection_rev': 'efd709fc1760a595f8575f4137a1847de1b49d76',
5555
'dart_devtools_rev': 'b21cd59f1f6bb60cacd59ba39e376d2a50d82f74',
56-
'dart_protobuf_rev': '1d175bef6043bc4bdef5970f6dbd6d3001124373',
57-
'dart_pub_rev': '28a2503d7f4806e6854e3ed0d783f065abfd1b5f',
56+
'dart_protobuf_rev': 'ba29983968de5b54196c6c2a5cff1afbdda24ae2',
57+
'dart_pub_rev': 'b9afe9270c24d040b8ae465b4b37ba4f7f4b4cc5',
5858
'dart_root_certificates_rev': '692f6d6488af68e0121317a9c2c9eb393eb0ee50',
5959
'dart_watcher_rev': '32591071a83f632478e702f67e29de6e54428ce9',
60-
'dart_webdev_rev': '741695691a7a8d357e404888ebe8d3e614a84e71',
61-
'dart_webkit_inspection_protocol_rev': '4e5eb8d4a48fb97603d90f2b5aac5483ebbdeb1d',
60+
'dart_webdev_rev': '5343edbab54ecee37af9d18062847614b91a4bd6',
61+
'dart_webkit_inspection_protocol_rev': 'b825c8f6a12200d619729903207ac826cce278da',
6262
'dart_yaml_edit_rev': '01589b3ce447b03aed991db49f1ec6445ad5476d',
6363
'dart_zlib_rev': '27c2f474b71d0d20764f86f60ef8b00da1a16cda',
6464

@@ -101,15 +101,19 @@ gclient_gn_args = [
101101
# Only these hosts are allowed for dependencies in this DEPS file.
102102
# If you need to add a new host, contact chrome infrastructure team.
103103
allowed_hosts = [
104+
'boringssl.googlesource.com',
105+
'chrome-infra-packages.appspot.com',
104106
'chromium.googlesource.com',
107+
'dart.googlesource.com',
105108
'flutter.googlesource.com',
106109
'fuchsia.googlesource.com',
107-
'github.com',
110+
'llvm.googlesource.com',
108111
'skia.googlesource.com',
112+
'swiftshader.googlesource.com',
109113
]
110114

111115
deps = {
112-
'src': 'https://github.com/flutter/buildroot.git' + '@' + '2fd45de1f80de6b535163573463924b4be68def0',
116+
'src': 'https://github.com/flutter/buildroot.git' + '@' + 'a680bb1c63e6ae1831cb672db029e9842ec4b905',
113117

114118
# Fuchsia compatibility
115119
#
@@ -127,7 +131,7 @@ deps = {
127131
Var('llvm_git') + '/llvm-project/libcxx' + '@' + '44079a4cc04cdeffb9cfe8067bfb3c276fb2bab0',
128132

129133
'src/third_party/libcxxabi':
130-
Var('flutter_git') + '/third_party/libcxxabi' + '@' + '483f071ff4780a8884f32d97d2d262fbe9f1ae18',
134+
Var('llvm_git') + '/llvm-project/libcxxabi' + '@' + '2ce528fb5e0f92e57c97ec3ff53b75359d33af12',
131135

132136
'src/third_party/glfw':
133137
Var('fuchsia_git') + '/third_party/glfw' + '@' + '78e6a0063d27ed44c2c4805606309744f6fb29fc',
@@ -136,7 +140,7 @@ deps = {
136140
Var('github_git') + '/google/shaderc.git' + '@' + '948660cccfbbc303d2590c7f44a4cee40b66fdd6',
137141

138142
'src/third_party/vulkan-deps':
139-
Var('chromium_git') + '/vulkan-deps' + '@' + '23b710f1a0b3c44d51035c6400a554415f95d9c6',
143+
Var('chromium_git') + '/vulkan-deps' + '@' + '9bb79e503dd5f60d14d46712d51bda9c9dd8f2d3',
140144

141145
'src/third_party/flatbuffers':
142146
Var('github_git') + '/google/flatbuffers.git' + '@' + '0a80646371179f8a7a5c1f42c31ee1d44dcf6709',
@@ -180,7 +184,7 @@ deps = {
180184
Var('dart_git') + '/async.git@f3ed5f690e2ec9dbe1bfc5184705575b4f6480e5',
181185

182186
'src/third_party/dart/third_party/pkg/bazel_worker':
183-
Var('dart_git') + '/bazel_worker.git@9710de6c9c70b1b583183db9d9721ba64e5a16fe',
187+
Var('dart_git') + '/bazel_worker.git@75a947fad63925fb441932af651819132b5ca450',
184188

185189
'src/third_party/dart/third_party/pkg/boolean_selector':
186190
Var('dart_git') + '/boolean_selector.git@1d3565e2651d16566bb556955b96ea75018cbd0c',
@@ -198,7 +202,7 @@ deps = {
198202
Var('dart_git') + '/collection.git' + '@' + Var('dart_collection_rev'),
199203

200204
'src/third_party/dart/third_party/pkg/convert':
201-
Var('dart_git') + '/convert.git@11d191e4cc517595f53f86dd193a7c01a7601228',
205+
Var('dart_git') + '/convert.git@4feeb10d2f26d22eab461469da0739a57d001edf',
202206

203207
'src/third_party/dart/third_party/pkg/crypto':
204208
Var('dart_git') + '/crypto.git@7cf89d35b3d90786d9f7f75211b3b3cd7e4d173f',
@@ -207,10 +211,10 @@ deps = {
207211
Var('dart_git') + '/csslib.git@ba2eb2d80530eedefadaade338a09c2dd60410f3',
208212

209213
'src/third_party/dart/third_party/pkg/dart_style':
210-
Var('dart_git') + '/dart_style.git@49bc3ff32b5578b6e19f8fd376d668130941ee29',
214+
Var('dart_git') + '/dart_style.git@f79a9828ad07e50d6e8352ac154cc16eb4d78d5c',
211215

212216
'src/third_party/dart/third_party/pkg/dartdoc':
213-
Var('dart_git') + '/dartdoc.git@9908cf86dd66bce43cd4953cd1010766b01aae2b',
217+
Var('dart_git') + '/dartdoc.git@3cd12f981c585f5744d169a1be2178e8ff6804e0',
214218

215219
'src/third_party/dart/third_party/pkg/ffi':
216220
Var('dart_git') + '/ffi.git@fb5f2667826c0900e551d19101052f84e35f41bf',
@@ -222,7 +226,7 @@ deps = {
222226
Var('dart_git') + '/fixnum.git@e0b17cc1f639c55a9c24947392c64b5a68992535',
223227

224228
'src/third_party/dart/third_party/pkg/glob':
225-
Var('dart_git') + '/glob.git@1d51fcc172e5adfbae6e82c3f8f119774cb2fca2',
229+
Var('dart_git') + '/glob.git@ee812790f4d98587a363e65d5af484ed9c6943f8',
226230

227231
'src/third_party/dart/third_party/pkg/html':
228232
Var('dart_git') + '/html.git@0740fc737350959cfdb5f8a34425a29d0dc0d285',
@@ -246,7 +250,7 @@ deps = {
246250
Var('dart_git') + '/logging.git@f322480fb9d9e83e677c08db6d09067059f7ff74',
247251

248252
'src/third_party/dart/third_party/pkg/markdown':
249-
Var('dart_git') + '/markdown.git@e7915ed2892d31776a6ab59b5e9cc7594352274e',
253+
Var('dart_git') + '/markdown.git@d72ae07c8290b3780044170eda28eda5a9fb342e',
250254

251255
'src/third_party/dart/third_party/pkg/matcher':
252256
Var('dart_git') + '/matcher.git@6a9b83bbd73e50df2058b3e8e4aa301df49569c6',
@@ -276,25 +280,25 @@ deps = {
276280
Var('dart_git') + '/pub.git' + '@' + Var('dart_pub_rev'),
277281

278282
'src/third_party/dart/third_party/pkg/pub_semver':
279-
Var('dart_git') + '/pub_semver.git@eadf51613e6549c30ab1132c84f6964a2a6bfa5c',
283+
Var('dart_git') + '/pub_semver.git@28159b8c5b96fc2709d0904389d7932880f68659',
280284

281285
'src/third_party/dart/third_party/pkg/shelf':
282286
Var('dart_git') + '/shelf.git@39d820d4e32fc99c65f562786097487d597dcee1',
283287

284288
'src/third_party/dart/third_party/pkg/source_map_stack_trace':
285-
Var('dart_git') + '/source_map_stack_trace.git@72dbf21a33293b2b8434d0a9751e36f9463981ac',
289+
Var('dart_git') + '/source_map_stack_trace.git@8d8078fcc81c8f7936805cd277198493e0b7fc62',
286290

287291
'src/third_party/dart/third_party/pkg/source_maps':
288-
Var('dart_git') + '/source_maps.git@e93565b43a7b6b367789de8ffba969c4ebeeb317',
292+
Var('dart_git') + '/source_maps.git@c7e89635a7651974feb78e3ce272fac5aa3f4334',
289293

290294
'src/third_party/dart/third_party/pkg/source_span':
291295
Var('dart_git') + '/source_span.git@ff03af16474ce91c89eb3bc28182866f4cb6dfb0',
292296

293297
'src/third_party/dart/third_party/pkg/sse':
294-
Var('dart_git') + '/sse.git@00084c43684ddaf7e09c19c5364c4a27eb04efda',
298+
Var('dart_git') + '/sse.git@283568dd4865cc51e25370ed107fcbdb68759c22',
295299

296300
'src/third_party/dart/third_party/pkg/stack_trace':
297-
Var('dart_git') + '/stack_trace.git@17f09c2c6845bb31c7c385acecce5befb8527a13',
301+
Var('dart_git') + '/stack_trace.git@dce00134f6558086e8963e37d0b1ba0830862c01',
298302

299303
'src/third_party/dart/third_party/pkg/stream_channel':
300304
Var('dart_git') + '/stream_channel.git@a5129ca44322a7024074ca38fb98e343dcb638c7',
@@ -306,7 +310,7 @@ deps = {
306310
Var('dart_git') + '/term_glyph.git@ec7cf7bb51ebb7d55760a1359f6697690dbc06ba',
307311

308312
'src/third_party/dart/third_party/pkg/test':
309-
Var('dart_git') + '/test.git@58beb14cf1562429d411efa8926d7c61d0d0b133',
313+
Var('dart_git') + '/test.git@f704d5afe9667ee1cc35b8575822629091fd6441',
310314

311315
'src/third_party/dart/third_party/pkg/test_reflective_loader':
312316
Var('dart_git') + '/test_reflective_loader.git@ef934b7a894d78601ba67d8f6207bd4505690456',
@@ -448,7 +452,7 @@ deps = {
448452
Var('flutter_git') + '/third_party/inja' + '@' + '88bd6112575a80d004e551c98cf956f88ff4d445',
449453

450454
'src/third_party/libtess2':
451-
Var('flutter_git') + '/third_party/libtess2' + '@' + 'fc52516467dfa124bdd967c15c7cf9faf02a34ca',
455+
Var('flutter_git') + '/third_party/libtess2' + '@' + '725e5e08ec8751477565f1d603fd7eb9058c277c',
452456

453457
'src/third_party/sqlite':
454458
Var('flutter_git') + '/third_party/sqlite' + '@' + '0f61bd2023ba94423b4e4c8cfb1a23de1fe6a21c',
@@ -481,7 +485,7 @@ deps = {
481485
Var('github_git') + '/felangel/equatable.git' + '@' + '0ba67c72db8bed75877fc1caafa74112ee0bd921', # 2.0.2
482486

483487
'src/third_party/pkg/file':
484-
Var('github_git') + '/google/file.dart.git' + '@' + 'b2e31cb6ef40b223701dbfa0b907fe58468484d7', # 6.1.4
488+
Var('dart_git') + '/external/github.com/google/file.dart.git' + '@' + 'b2e31cb6ef40b223701dbfa0b907fe58468484d7', # 6.1.4
485489

486490
'src/third_party/pkg/flutter_packages':
487491
Var('github_git') + '/flutter/packages.git' + '@' + '26990a2f75ab2028c3c77ffc869db11d6d866d18', # various
@@ -505,7 +509,7 @@ deps = {
505509
Var('github_git') + '/google/quiver-dart.git' + '@' + '66f473cca1332496e34a783ba4527b04388fd561', # 2.1.5
506510

507511
'src/third_party/pkg/vector_math':
508-
Var('github_git') + '/google/vector_math.dart.git' + '@' + '0a5fd95449083d404df9768bc1b321b88a7d2eef', # 2.1.0
512+
Var('dart_git') + '/external/github.com/google/vector_math.dart.git' + '@' + '0a5fd95449083d404df9768bc1b321b88a7d2eef', # 2.1.0
509513

510514
'src/third_party/imgui':
511515
Var('github_git') + '/ocornut/imgui.git' + '@' + '29d462ebce0275345a6ce4621d8fff0ded57c9e5',
@@ -619,7 +623,7 @@ deps = {
619623
'packages': [
620624
{
621625
'package': 'fuchsia/third_party/clang/mac-amd64',
622-
'version': 'git_revision:' + Var('clang_revision'),
626+
'version': Var('clang_version'),
623627
}
624628
],
625629
'condition': 'host_os == "mac"', # On ARM64 Macs too because Goma doesn't support the host-arm64 toolchain.
@@ -630,7 +634,7 @@ deps = {
630634
'packages': [
631635
{
632636
'package': 'fuchsia/third_party/clang/mac-arm64',
633-
'version': 'git_revision:' + Var('clang_revision'),
637+
'version': Var('clang_version'),
634638
}
635639
],
636640
'condition': 'host_os == "mac" and host_cpu == "arm64"',
@@ -641,7 +645,7 @@ deps = {
641645
'packages': [
642646
{
643647
'package': 'fuchsia/third_party/clang/linux-amd64',
644-
'version': 'git_revision:' + Var('clang_revision'),
648+
'version': Var('clang_version'),
645649
}
646650
],
647651
'condition': 'host_os == "linux" and host_cpu == "x64"',
@@ -652,7 +656,7 @@ deps = {
652656
'packages': [
653657
{
654658
'package': 'fuchsia/third_party/clang/linux-arm64',
655-
'version': 'git_revision:' + Var('clang_revision'),
659+
'version': Var('clang_version'),
656660
}
657661
],
658662
'condition': 'host_os == "linux" and host_cpu == "arm64"',
@@ -663,7 +667,7 @@ deps = {
663667
'packages': [
664668
{
665669
'package': 'fuchsia/third_party/clang/windows-amd64',
666-
'version': 'git_revision:' + Var('clang_revision'),
670+
'version': Var('clang_version'),
667671
}
668672
],
669673
'condition': 'download_windows_deps',
@@ -677,7 +681,7 @@ deps = {
677681
'packages': [
678682
{
679683
'package': 'fuchsia/sdk/core/mac-amd64',
680-
'version': 'GBHNBHS7nctZyhNIlnL1pPGdBLAtAzTc7hgmtkN7nmQC'
684+
'version': 'fcFu9Z2KJH6oQvHnGwRsngQjHowI9mBvGX6akXTduzEC'
681685
}
682686
],
683687
'condition': 'host_os == "mac" and not download_fuchsia_sdk',
@@ -687,7 +691,7 @@ deps = {
687691
'packages': [
688692
{
689693
'package': 'fuchsia/sdk/core/linux-amd64',
690-
'version': 'gcHdDsKmQTV_IVNjvMQxyRK0m1Xce2182BPd5NA1B2wC'
694+
'version': 'NqPnoRHl3WYqH3SrC-klcyyoJSPBDSZFYsl0Bas04c0C'
691695
}
692696
],
693697
'condition': 'host_os == "linux" and not download_fuchsia_sdk',

build/archives/BUILD.gn

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -220,13 +220,6 @@ if (build_engine_artifacts && !flutter_prebuilt_dart_sdk) {
220220
}
221221
}
222222

223-
# Archives Flutter Web SDK
224-
if (!is_fuchsia) {
225-
group("flutter_web_sdk") {
226-
deps = [ "//flutter/web_sdk:flutter_web_sdk_archive" ]
227-
}
228-
}
229-
230223
# Archives Flutter Windows Artifacts
231224
if (host_os == "win") {
232225
zip_bundle("windows_flutter") {

0 commit comments

Comments
 (0)