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

Commit fda9dba

Browse files
committed
Merge branch 'main' into main
2 parents 4716d8a + 8e46a76 commit fda9dba

File tree

214 files changed

+7711
-4999
lines changed

Some content is hidden

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

214 files changed

+7711
-4999
lines changed

DEPS

Lines changed: 38 additions & 38 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': '014978fc487df70a9e4c1d6da76dd9ea26567899',
17+
'skia_revision': '52155a48ff8dc7e6dcfb5171975d48cb2ac3b817',
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.
@@ -56,27 +56,27 @@ vars = {
5656
# Dart is: https://github.com/dart-lang/sdk/blob/main/DEPS
5757
# You can use //tools/dart/create_updated_flutter_deps.py to produce
5858
# updated revision list of existing dependencies.
59-
'dart_revision': 'b4b806ab97f299f24d946bc4c8c95ead793b85a5',
59+
'dart_revision': '5e6945a72200e66b0cb7320296843aedc19449b8',
6060

6161
# WARNING: DO NOT EDIT MANUALLY
6262
# The lines between blank lines above and below are generated by a script. See create_updated_flutter_deps.py
6363
'dart_binaryen_rev': '459bc0797f67cb2a8fd4598bb7143b34036608d9',
6464
'dart_boringssl_gen_rev': 'fef055e8d2749b82c79c8f043be1cbe5e8e4b40c',
6565
'dart_boringssl_rev': '2db0eb3f96a5756298dcd7f9319e56a98585bd10',
66-
'dart_browser_launcher_rev': '0acd18820afe8751b164c7576cfe23c46e1e34c2',
67-
'dart_clock_rev': '6e43768a0b135a0d36fc886907b70c4bf27117e6',
66+
'dart_browser_launcher_rev': 'e5fc5d488eb5038bfec2a6690c72ab8dd353e101',
67+
'dart_clock_rev': '7956d60042f4ea979c4554d43eeb57d087627869',
6868
'dart_collection_rev': '24b75d85df6a26aac7be13b56ff1ce4360c04a64',
69-
'dart_devtools_rev': '65eb5f5c6e69817368f7560bd03ab1d05645ab20',
69+
'dart_devtools_rev': 'f5e84f91b32b219d646cfb87a891cd143dc84056',
7070
'dart_libprotobuf_rev': '24487dd1045c7f3d64a21f38a3f0c06cc4cf2edb',
7171
'dart_perfetto_rev': '13ce0c9e13b0940d2476cd0cff2301708a9a2e2b',
7272
'dart_protobuf_gn_rev': 'ca669f79945418f6229e4fef89b666b2a88cbb10',
7373
'dart_protobuf_rev': 'ccf104dbc36929c0f8708285d5f3a8fae206343e',
7474
'dart_pub_rev': '9adca58e4fa8e1d94924e64a184532231826496c',
75-
'dart_tools_rev': '3440b74e430051304b56d4acd71b7ed30ab1855d',
76-
'dart_watcher_rev': '0484625589d8512b36a7ad898a6cc6351d24c556',
77-
'dart_web_rev': 'd16c4bc3a12b27e0daf899973bcc37ef8c295cc4',
75+
'dart_tools_rev': 'd4995d47b99d5e9564abfed2218f4a23df75983b',
76+
'dart_watcher_rev': '3b850778ad0b62db3aa2cfe48832870c2461db30',
77+
'dart_web_rev': '8478cd27d574249eca3d41f9135458dfda2762c8',
7878
'dart_webdev_rev': '5f30c560dc4e3df341356c43ec1a766ee6b74a7c',
79-
'dart_webkit_inspection_protocol_rev': 'e7418d7bbd98ef9c4051454dab83fd05f97bbdf9',
79+
'dart_webkit_inspection_protocol_rev': 'b459c427b74bf5e0919a083a97a167fb74d8bff1',
8080
'dart_yaml_edit_rev': '5c54d455f272bbb83c948ac420c677371e69ae77',
8181

8282
'ocmock_rev': 'c4ec0e3a7a9f56cfdbd0aa01f4f97bb4b75c5ef8', # v3.7.1
@@ -251,7 +251,7 @@ vars = {
251251
# The version / instance id of the cipd:chromium/fuchsia/test-scripts which
252252
# will be used altogether with fuchsia-sdk to setup the build / test
253253
# environment.
254-
'fuchsia_test_scripts_version': 'Itifj1g1iG3RWRIzMMJA1o0Ngx-UZsT6YT7kOeNCXK8C',
254+
'fuchsia_test_scripts_version': 'ckCnIfKM2nOtYiVvK7ad7o3CYvC58Ps6ev4oDyMZsrEC',
255255

256256
# The version / instance id of the cipd:chromium/fuchsia/gn-sdk which will be
257257
# used altogether with fuchsia-sdk to generate gn based build rules.
@@ -347,7 +347,7 @@ deps = {
347347
Var('chromium_git') + '/external/github.com/WebAssembly/binaryen.git@459bc0797f67cb2a8fd4598bb7143b34036608d9',
348348

349349
'src/flutter/third_party/dart/third_party/devtools':
350-
{'dep_type': 'cipd', 'packages': [{'package': 'dart/third_party/flutter/devtools', 'version': 'git_revision:65eb5f5c6e69817368f7560bd03ab1d05645ab20'}]},
350+
{'dep_type': 'cipd', 'packages': [{'package': 'dart/third_party/flutter/devtools', 'version': 'git_revision:f5e84f91b32b219d646cfb87a891cd143dc84056'}]},
351351

352352
'src/flutter/third_party/dart/third_party/pkg/args':
353353
Var('dart_git') + '/args.git@e623652744c82533829f2e62b1aba1a6cf06e291',
@@ -356,16 +356,16 @@ deps = {
356356
Var('dart_git') + '/async.git@c0d81f8699682d01d657a9bf827107d11904a247',
357357

358358
'src/flutter/third_party/dart/third_party/pkg/bazel_worker':
359-
Var('dart_git') + '/bazel_worker.git@02f190b88df771fc8e05c07d4b64ae942c02f456',
359+
Var('dart_git') + '/bazel_worker.git@aa3cc9e826350b960e0c5a67e6065bcedba8b0ac',
360360

361361
'src/flutter/third_party/dart/third_party/pkg/boolean_selector':
362-
Var('dart_git') + '/boolean_selector.git@c5468f44fd9ca0ea3435e1a0a84ff9b6fac38261',
362+
Var('dart_git') + '/boolean_selector.git@d6c7c36ae1111f11cc24306d71d3ab2deea8fa68',
363363

364364
'src/flutter/third_party/dart/third_party/pkg/browser_launcher':
365365
Var('dart_git') + '/browser_launcher.git' + '@' + Var('dart_browser_launcher_rev'),
366366

367367
'src/flutter/third_party/dart/third_party/pkg/cli_util':
368-
Var('dart_git') + '/cli_util.git@6a0bb9292ea4bb2c9e547af03da4c9948f9556a1',
368+
Var('dart_git') + '/cli_util.git@c36b3941e38092d6d6f87ac27d9e88f153d3ac38',
369369

370370
'src/flutter/third_party/dart/third_party/pkg/clock':
371371
Var('dart_git') + '/clock.git' + '@' + Var('dart_clock_rev'),
@@ -380,7 +380,7 @@ deps = {
380380
Var('dart_git') + '/crypto.git@eede7d6918c51159c1422b7449f40dbac660ee57',
381381

382382
'src/flutter/third_party/dart/third_party/pkg/csslib':
383-
Var('dart_git') + '/csslib.git@d486627ec2c014a1fbf653a593043c6b1e3a0eb5',
383+
Var('dart_git') + '/csslib.git@a3700b05bbcc42782e8a7024790dbf019d89c249',
384384

385385
'src/flutter/third_party/dart/third_party/pkg/dart_style':
386386
Var('dart_git') + '/dart_style.git@5d35f4d829ffb8532d345d95d3e9504ae6cd839e',
@@ -389,22 +389,22 @@ deps = {
389389
Var('dart_git') + '/dartdoc.git@526dbd55b5a2d8acb8af4e2d5510f6c807c9dc04',
390390

391391
'src/flutter/third_party/dart/third_party/pkg/file':
392-
Var('dart_git') + '/external/github.com/google/file.dart@855831c242a17c2dee163828d52710d9043c7c8d',
392+
Var('dart_git') + '/external/github.com/google/file.dart@6842feaef1c4e06239bd30f8d3ef722838b1c97e',
393393

394394
'src/flutter/third_party/dart/third_party/pkg/fixnum':
395-
Var('dart_git') + '/fixnum.git@6c19e60366ce3d5edfaed51a7c12c98e7977977e',
395+
Var('dart_git') + '/fixnum.git@83293b8ed86ccd574a94fcf4a2da43f31c1b43e0',
396396

397397
'src/flutter/third_party/dart/third_party/pkg/glob':
398-
Var('dart_git') + '/glob.git@8b05be87f84f74d90dc0c15956f3ff95805322e5',
398+
Var('dart_git') + '/glob.git@00a9c82d31c01ae88ec9ae4021d842e9b832aa52',
399399

400400
'src/flutter/third_party/dart/third_party/pkg/html':
401-
Var('dart_git') + '/html.git@5516387611d848decb77ed9430904b5cd0f0b78c',
401+
Var('dart_git') + '/html.git@6d3bc86cf2ab530ef3fa5f84b5980dc318a02af4',
402402

403403
'src/flutter/third_party/dart/third_party/pkg/http':
404-
Var('dart_git') + '/http.git@dfeecf0a495925456ff5d0216a559dcc422bb4a1',
404+
Var('dart_git') + '/http.git@f59cd79e1322c6272481e4f2ccfa9afcb37a6525',
405405

406406
'src/flutter/third_party/dart/third_party/pkg/http_multi_server':
407-
Var('dart_git') + '/http_multi_server.git@8348be1bf8fd17881e2643086e68c9d2b28dd9ce',
407+
Var('dart_git') + '/http_multi_server.git@e7515b5896b83d522189802a1e14e103e19426c0',
408408

409409
'src/flutter/third_party/dart/third_party/pkg/http_parser':
410410
Var('dart_git') + '/http_parser.git@ce528cf82f3d26ac761e29b2494a9e0c270d4939',
@@ -419,22 +419,22 @@ deps = {
419419
Var('dart_git') + '/leak_tracker.git@f5620600a5ce1c44f65ddaa02001e200b096e14c',
420420

421421
'src/flutter/third_party/dart/third_party/pkg/logging':
422-
Var('dart_git') + '/logging.git@8752902b75a476d2c7b64dcf01aaaee885f35c4c',
422+
Var('dart_git') + '/logging.git@6fa056098ceca03d399bff64592822b2ae5dee6e',
423423

424424
'src/flutter/third_party/dart/third_party/pkg/markdown':
425-
Var('dart_git') + '/markdown.git@f6eaea38146d8901756418c4e7123eb7bd77249e',
425+
Var('dart_git') + '/markdown.git@d53feae0760a4f0aae5ffdfb12d8e6acccf14b40',
426426

427427
'src/flutter/third_party/dart/third_party/pkg/matcher':
428-
Var('dart_git') + '/matcher.git@d6d573d0f8d65b36550ce62aad3ce6b5e987b642',
428+
Var('dart_git') + '/matcher.git@31f13583630e093731c8cf2b843c14196d748c5c',
429429

430430
'src/flutter/third_party/dart/third_party/pkg/mockito':
431-
Var('dart_git') + '/mockito.git@b66be81e38e1ac76d12ee2fe4f93757a40bbb7ba',
431+
Var('dart_git') + '/mockito.git@3de67548e833a8eef66a2a49070b197c2c08b3ab',
432432

433433
'src/flutter/third_party/dart/third_party/pkg/native':
434434
Var('dart_git') + '/native.git@d144f81442894f669108699517d4f4a3f7a529f8',
435435

436436
'src/flutter/third_party/dart/third_party/pkg/package_config':
437-
Var('dart_git') + '/package_config.git@76934c2ca25922ec72909bbff7dfbddaf0d02bd9',
437+
Var('dart_git') + '/package_config.git@bafff8e90be25e1985f7e3ee40ea1d22571a93e6',
438438

439439
'src/flutter/third_party/dart/third_party/pkg/path':
440440
Var('dart_git') + '/path.git@e969f42ed112dd702a9453beb9df6c12ae2d3805',
@@ -449,40 +449,40 @@ deps = {
449449
Var('dart_git') + '/pub.git' + '@' + Var('dart_pub_rev'),
450450

451451
'src/flutter/third_party/dart/third_party/pkg/pub_semver':
452-
Var('dart_git') + '/pub_semver.git@d9e5ee68a350fbf4319bd4dfcb895fc016337d3a',
452+
Var('dart_git') + '/pub_semver.git@8cce9d00431b6653026cdfcf6cf8548078c56f02',
453453

454454
'src/flutter/third_party/dart/third_party/pkg/shelf':
455-
Var('dart_git') + '/shelf.git@d53a8f9a98ccbe69078d397d45c2c6b3e7c243b6',
455+
Var('dart_git') + '/shelf.git@f5600534e3e49ebed02e1e14ec82553958d86f36',
456456

457457
'src/flutter/third_party/dart/third_party/pkg/source_maps':
458-
Var('dart_git') + '/source_maps.git@5f82c613664ade03c7a6d0e6c59687c69dec894b',
458+
Var('dart_git') + '/source_maps.git@17695e81d9ad129d20effd3d5c4f1cfa03f5add8',
459459

460460
'src/flutter/third_party/dart/third_party/pkg/source_span':
461-
Var('dart_git') + '/source_span.git@f81cd4a2df630a97264fb4015fb93944b5b98b11',
461+
Var('dart_git') + '/source_span.git@ec100b7f12e9d36d2cdb3c369fefde736de4a550',
462462

463463
'src/flutter/third_party/dart/third_party/pkg/sse':
464464
Var('dart_git') + '/sse.git@af2c5c572a8da6d2f7551b80d75121f2a38a4c79',
465465

466466
'src/flutter/third_party/dart/third_party/pkg/stack_trace':
467-
Var('dart_git') + '/stack_trace.git@9476c0a0e2a33d68f9554565ef23f2324a3e3d96',
467+
Var('dart_git') + '/stack_trace.git@115bcd9591d251dab7a5ad518655c2124a1cc525',
468468

469469
'src/flutter/third_party/dart/third_party/pkg/stream_channel':
470-
Var('dart_git') + '/stream_channel.git@c0c5a978b225d2e02be858e98e24455b7f79b1a0',
470+
Var('dart_git') + '/stream_channel.git@f4407168b275fcde9187baefd7dbce76d0992825',
471471

472472
'src/flutter/third_party/dart/third_party/pkg/string_scanner':
473-
Var('dart_git') + '/string_scanner.git@a40bbbd83f1176bcc0021b336f5841310f91d8cb',
473+
Var('dart_git') + '/string_scanner.git@2139417ffcd0392bde3ba9bc83ee13eaa5fbed01',
474474

475475
'src/flutter/third_party/dart/third_party/pkg/tar':
476476
Var('dart_git') + '/external/github.com/simolus3/tar.git@32ceb55e673141abff4e84b99483fe5eb881c291',
477477

478478
'src/flutter/third_party/dart/third_party/pkg/term_glyph':
479-
Var('dart_git') + '/term_glyph.git@38a158f55006cf30942c928171ea601ee5e0308f',
479+
Var('dart_git') + '/term_glyph.git@19d8c08a4e81122639129c62049896021910c932',
480480

481481
'src/flutter/third_party/dart/third_party/pkg/test':
482-
Var('dart_git') + '/test.git@22835e2ec81169a5c05ed1ceb4fd6d0e8f4e87d6',
482+
Var('dart_git') + '/test.git@8e8a83607d90a7a6813fa378b2d1962a2fc0d44b',
483483

484484
'src/flutter/third_party/dart/third_party/pkg/test_reflective_loader':
485-
Var('dart_git') + '/test_reflective_loader.git@6e648863b39aab8d0204e769d25805eea9db0ac4',
485+
Var('dart_git') + '/test_reflective_loader.git@598af2f503955020af0eaa82558d574a03934078',
486486

487487
'src/flutter/third_party/dart/third_party/pkg/tools':
488488
Var('dart_git') + '/tools.git' + '@' + Var('dart_tools_rev'),
@@ -506,7 +506,7 @@ deps = {
506506
Var('dart_git') + '/external/github.com/google/webkit_inspection_protocol.dart.git' + '@' + Var('dart_webkit_inspection_protocol_rev'),
507507

508508
'src/flutter/third_party/dart/third_party/pkg/yaml':
509-
Var('dart_git') + '/yaml.git@b3d299eee5e68135c46d913d3e5b637daad27c85',
509+
Var('dart_git') + '/yaml.git@e773005ab84e1b4d24132b0a687be7f9a3bfda15',
510510

511511
'src/flutter/third_party/dart/third_party/pkg/yaml_edit':
512512
Var('dart_git') + '/yaml_edit.git' + '@' + Var('dart_yaml_edit_rev'),
@@ -960,7 +960,7 @@ deps = {
960960
'packages': [
961961
{
962962
'package': 'fuchsia/sdk/core/linux-amd64',
963-
'version': '8CL33jSvLCd1mPDg_tIOL40wKo7hqgKPjM30K9SgCcgC'
963+
'version': 'TTSSw-kHM8_h_tdX090gNPTNfMWkcWeWuKze0IeeQNEC'
964964
}
965965
],
966966
'condition': 'download_fuchsia_deps and not download_fuchsia_sdk',

build/dart/internal/dart_test.gni

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
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+
import("//flutter/build/dart/internal/gen_dartcli_call.gni")
6+
7+
# Generates an executable that runs `dart test` on a single test program.
8+
#
9+
# Parameters:
10+
# main_dart (required):
11+
# The entrypoint to the Dart test program.
12+
#
13+
# output (optional):
14+
# Overrides the full output path.
15+
# Defaults to $root_out_dir/gen/$target_path/$target_name; for example
16+
# //flutter/foo/bar emits a binary at out/{variant}/gen/flutter/foo/bar.
17+
template("dart_test") {
18+
assert(defined(invoker.main_dart), "Must specify 'main_dart'")
19+
20+
# Generate the CWD based on the directory of the invoking GN file.
21+
parent_dir = get_label_info(target_name, "dir")
22+
cwd = get_path_info(parent_dir, "dir")
23+
24+
gen_dartcli_call(target_name) {
25+
args = [
26+
"test",
27+
invoker.main_dart,
28+
]
29+
cwd = rebase_path(cwd)
30+
metadata = {
31+
action_type = [ "dart_test" ]
32+
}
33+
testonly = true
34+
forward_variables_from(invoker,
35+
[
36+
"output",
37+
"visibility",
38+
])
39+
}
40+
}

build/dart/internal/gen_dartcli_call.gni

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ template("gen_dartcli_call") {
3232
}
3333

3434
# Add default arguments to the Dart CLI.
35+
# TODO(https://github.com/flutter/flutter/issues/156171): --suppress-analytics
3536
dart_args = []
3637
if (defined(invoker.args)) {
3738
dart_args += invoker.args
3839
}
39-
dart_args += [ "--suppress-analytics" ]
4040

4141
# Actually generate the shell script.
4242
gen_executable_call(target_name) {
@@ -46,6 +46,9 @@ template("gen_dartcli_call") {
4646
[
4747
"cwd",
4848
"output",
49+
"metadata",
50+
"testonly",
51+
"visibility",
4952
])
5053
}
5154
}

build/dart/internal/gen_executable_call.gni

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,5 +58,11 @@ template("gen_executable_call") {
5858
script = "//flutter/build/dart/internal/gen_executable_call.py"
5959
outputs = [ output ]
6060
args = call_args
61+
forward_variables_from(invoker,
62+
[
63+
"metadata",
64+
"testonly",
65+
"visibility",
66+
])
6167
}
6268
}

build/dart/rules.gni

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@
55
# This file has rules for making Dart packages and snapshots.
66

77
import("//flutter/build/dart/internal/application_snapshot.gni")
8+
import("//flutter/build/dart/internal/dart_test.gni")
89
import("//flutter/build/dart/internal/flutter_frontend_server.gni")
910
import("//flutter/build/dart/internal/flutter_snapshot.gni")

ci/builders/linux_android_aot_engine.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
11
{
2+
"_comment": [
3+
"The builds defined in this file should not contain tests, ",
4+
"and the file should not contain builds that are essentially tests. ",
5+
"The only builds in this file should be the builds necessary to produce ",
6+
"release artifacts. ",
7+
"Tests to run on linux hosts should go in one of the other linux_ build ",
8+
"definition files."
9+
],
210
"builds": [
311
{
412
"archives": [

ci/builders/linux_android_debug_engine.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
11
{
2+
"_comment": [
3+
"The builds defined in this file should not contain tests, ",
4+
"and the file should not contain builds that are essentially tests. ",
5+
"The only builds in this file should be the builds necessary to produce ",
6+
"release artifacts. ",
7+
"Tests to run on linux hosts should go in one of the other linux_ build ",
8+
"definition files."
9+
],
210
"builds": [
311
{
412
"archives": [

ci/builders/linux_android_emulator.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
},
4747
{
4848
"dependency": "avd_cipd_version",
49-
"version": "build_id:8740267484269553649"
49+
"version": "build_id:8735216702926189361"
5050
}
5151
],
5252
"contexts": [
@@ -78,7 +78,7 @@
7878
},
7979
{
8080
"dependency": "avd_cipd_version",
81-
"version": "build_id:8740267484269553649"
81+
"version": "build_id:8735216702926189361"
8282
}
8383
],
8484
"contexts": [
@@ -139,7 +139,7 @@
139139
},
140140
{
141141
"dependency": "avd_cipd_version",
142-
"version": "build_id:8740267484269553649"
142+
"version": "build_id:8735216702926189361"
143143
}
144144
],
145145
"contexts": [
@@ -156,4 +156,4 @@
156156
]
157157
}
158158
]
159-
}
159+
}

ci/builders/linux_arm_host_engine.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
11
{
2+
"_comment": [
3+
"The builds defined in this file should not contain tests, ",
4+
"and the file should not contain builds that are essentially tests. ",
5+
"The only builds in this file should be the builds necessary to produce ",
6+
"release artifacts. ",
7+
"Tests to run on linux hosts should go in one of the other linux_ build ",
8+
"definition files."
9+
],
210
"builds": [
311
{
412
"archives": [

ci/builders/linux_fuchsia.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
11
{
2+
"_comment": [
3+
"The builds defined in this file should not contain tests, ",
4+
"and the file should not contain builds that are essentially tests. ",
5+
"The only builds in this file should be the builds necessary to produce ",
6+
"release artifacts. ",
7+
"Tests to run on linux hosts should go in one of the other linux_ build ",
8+
"definition files."
9+
],
210
"builds": [
311
{
412
"drone_dimensions": [

0 commit comments

Comments
 (0)