Skip to content

Commit cf80d59

Browse files
Merge branch 'flutter:main' into main
2 parents 1990650 + a5431f5 commit cf80d59

Some content is hidden

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

43 files changed

+3650
-468
lines changed

.ci.yaml

Lines changed: 1 addition & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@ targets:
118118
presubmit: false
119119
properties:
120120
cache_name: "builder"
121-
cache_root: "cache"
122121
cache_paths: >-
123122
[
124123
"builder",
@@ -138,7 +137,6 @@ targets:
138137
presubmit: false
139138
properties:
140139
cache_name: "builder"
141-
cache_root: "cache"
142140
cache_paths: >-
143141
[
144142
"builder",
@@ -157,7 +155,6 @@ targets:
157155
presubmit: false
158156
properties:
159157
cache_name: "builder"
160-
cache_root: "cache"
161158
cache_paths: >-
162159
[
163160
"builder",
@@ -189,8 +186,6 @@ targets:
189186
properties:
190187
release_build: "true"
191188
config_name: linux_fuchsia
192-
drone_dimensions:
193-
- os=Linux
194189
dimensions:
195190
kvm: "1"
196191
# TODO(https://github.com/flutter/flutter/issues/138559): Re-enable/delete.
@@ -228,8 +223,6 @@ targets:
228223
add_recipes_cq: "true"
229224
release_build: "true"
230225
config_name: linux_arm_host_engine
231-
drone_dimensions:
232-
- os=Linux
233226

234227
- name: Linux linux_host_engine
235228
recipe: engine_v2/engine_v2
@@ -242,8 +235,6 @@ targets:
242235
[
243236
{"dependency": "goldctl", "version": "git_revision:720a542f6fe4f92922c3b8f0fdcc4d2ac6bb83cd"}
244237
]
245-
drone_dimensions:
246-
- os=Linux
247238
248239
- name: Linux linux_host_desktop_engine
249240
recipe: engine_v2/engine_v2
@@ -252,8 +243,6 @@ targets:
252243
add_recipes_cq: "true"
253244
release_build: "true"
254245
config_name: linux_host_desktop_engine
255-
drone_dimensions:
256-
- os=Linux
257246

258247
- name: Linux linux_android_aot_engine
259248
recipe: engine_v2/engine_v2
@@ -262,8 +251,6 @@ targets:
262251
add_recipes_cq: "true"
263252
release_build: "true"
264253
config_name: linux_android_aot_engine
265-
drone_dimensions:
266-
- os=Linux
267254

268255
- name: Linux linux_android_debug_engine
269256
recipe: engine_v2/engine_v2
@@ -272,8 +259,6 @@ targets:
272259
add_recipes_cq: "true"
273260
release_build: "true"
274261
config_name: linux_android_debug_engine
275-
drone_dimensions:
276-
- os=Linux
277262

278263
- name: Linux linux_license
279264
recipe: engine_v2/builder
@@ -289,8 +274,6 @@ targets:
289274
properties:
290275
release_build: "true"
291276
config_name: linux_web_engine
292-
drone_dimensions:
293-
- os=Linux
294277
runIf:
295278
- DEPS
296279
- .ci.yaml
@@ -320,7 +303,6 @@ targets:
320303
{"dependency": "chrome_and_driver", "version": "version:119.0.6045.9"},
321304
{"dependency": "curl", "version": "version:7.64.0"}
322305
]
323-
framework: "true"
324306
no_goma: "true"
325307
drone_dimensions: >
326308
["device_type=none", "os=Linux"]
@@ -344,8 +326,6 @@ targets:
344326
add_recipes_cq: "true"
345327
release_build: "true"
346328
config_name: mac_android_aot_engine
347-
drone_dimensions:
348-
- os=Linux
349329

350330
- name: Mac mac_clang_tidy
351331
recipe: engine_v2/engine_v2
@@ -383,10 +363,8 @@ targets:
383363
{
384364
"sdk_version": "15a240d"
385365
}
386-
drone_dimensions:
387-
- os=Mac-13
388366
389-
- name: Linux mac_unopt
367+
- name: Mac mac_unopt
390368
recipe: engine_v2/engine_v2
391369
properties:
392370
config_name: mac_unopt
@@ -404,9 +382,6 @@ targets:
404382
{
405383
"sdk_version": "15a240d"
406384
}
407-
drone_dimensions:
408-
- os=Mac-13
409-
- cpu=x86
410385
411386
- name: Mac impeller-cmake-example
412387
bringup: true
@@ -423,8 +398,6 @@ targets:
423398
add_recipes_cq: "true"
424399
release_build: "true"
425400
config_name: windows_android_aot_engine
426-
drone_dimensions:
427-
- os=Windows
428401

429402
- name: Windows windows_host_engine
430403
recipe: engine_v2/engine_v2
@@ -433,8 +406,6 @@ targets:
433406
add_recipes_cq: "true"
434407
release_build: "true"
435408
config_name: windows_host_engine
436-
drone_dimensions:
437-
- os=Windows
438409

439410
- name: Windows windows_arm_host_engine
440411
recipe: engine_v2/engine_v2
@@ -445,8 +416,6 @@ targets:
445416
properties:
446417
add_recipes_cq: "true"
447418
config_name: windows_arm_host_engine
448-
drone_dimensions:
449-
- os=Windows
450419

451420
- name: Windows windows_unopt
452421
recipe: engine_v2/builder

DEPS

Lines changed: 19 additions & 19 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': 'ec119f44e6b910761b9d87d93f1c270127ccb2ae',
17+
'skia_revision': '5a0a82af779616470ec3d078594f82de97ef550f',
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.
@@ -62,28 +62,28 @@ 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': '0f0f7400c38a7684ba4c4c6dfd7c9a017336abf6',
65+
'dart_revision': '957130770e7dd939fa11206d7b8c3e038c209117',
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
6969
'dart_binaryen_rev': '9784f012848a7eb321c2037bdb363dfe0eab8bc9',
7070
'dart_boringssl_gen_rev': '9c7294fd58261a79794f5afaa26598cf1442ad20',
7171
'dart_boringssl_rev': 'd24a38200fef19150eef00cad35b138936c08767',
72-
'dart_browser_launcher_rev': '74a0efe937a29d4d9aff50c145579c6e6479df1e',
72+
'dart_browser_launcher_rev': '79562306c86e5c087359a31a60309c8d65a699d3',
7373
'dart_clock_rev': 'daf0fadabc5b3dc8e6e71bf3fb27ef9c3b79df5c',
7474
'dart_collection_rev': 'fc616ff8fd7b732c07b2b19e31b6601e59900ccf',
75-
'dart_devtools_rev': '1f208c84965e9edddea11485fb73b170dba1cd96',
75+
'dart_devtools_rev': '333b00377c092306534404c68a82e925ee2e23a3',
7676
'dart_libprotobuf_rev': '24487dd1045c7f3d64a21f38a3f0c06cc4cf2edb',
7777
'dart_perfetto_rev': '13ce0c9e13b0940d2476cd0cff2301708a9a2e2b',
7878
'dart_protobuf_gn_rev': 'ca669f79945418f6229e4fef89b666b2a88cbb10',
79-
'dart_protobuf_rev': 'a293fb9c866b1def3d3e7fffc5f6763a2ec59cc9',
79+
'dart_protobuf_rev': 'f085bfdc4e746cd5e189da3dc9223031cf958e02',
8080
'dart_pub_rev': '4ab2e3663f0a98be40427e004e789caebf3ea72e',
81-
'dart_tools_rev': '2ef7673ca4c8eb346debe6d628f0196788fc3c66',
81+
'dart_tools_rev': '9f4e6a4a7de6602a5c13109c1fad8d7b36bec55f',
8282
'dart_watcher_rev': '21858a41da1482922e03ee65cdf2169d01d59a67',
83-
'dart_web_rev': 'a54a1f0447979f9a3ea220199eca849ffb214e91',
84-
'dart_webdev_rev': '629c63214466a77d0994e9b8003120f48af9ef1d',
83+
'dart_web_rev': '975e55cbe4ac683c33d5256a91f4133fa97b4c34',
84+
'dart_webdev_rev': '51b5484348b4a8ede351e8dff0428b083495ba78',
8585
'dart_webkit_inspection_protocol_rev': '07295b9a5a1f1851666269128e95a9644d65107a',
86-
'dart_yaml_edit_rev': '2a9a11bee120d507d61d501c34585440be8c12b6',
86+
'dart_yaml_edit_rev': '82ab64d1217c08d93697aa414f214836eef52a4e',
8787
'dart_zlib_rev': '14dd4c4455602c9b71a1a89b5cafd1f4030d2e3f',
8888

8989
'ocmock_rev': 'c4ec0e3a7a9f56cfdbd0aa01f4f97bb4b75c5ef8', # v3.7.1
@@ -347,13 +347,13 @@ deps = {
347347
Var('chromium_git') + '/external/github.com/WebAssembly/binaryen.git@9784f012848a7eb321c2037bdb363dfe0eab8bc9',
348348

349349
'src/third_party/dart/third_party/devtools':
350-
{'dep_type': 'cipd', 'packages': [{'package': 'dart/third_party/flutter/devtools', 'version': 'git_revision:1f208c84965e9edddea11485fb73b170dba1cd96'}]},
350+
{'dep_type': 'cipd', 'packages': [{'package': 'dart/third_party/flutter/devtools', 'version': 'git_revision:333b00377c092306534404c68a82e925ee2e23a3'}]},
351351

352352
'src/third_party/dart/third_party/pkg/args':
353353
Var('dart_git') + '/args.git@7dc7fe0430709229ccc87c3eaae729aeffe10c56',
354354

355355
'src/third_party/dart/third_party/pkg/async':
356-
Var('dart_git') + '/async.git@24266cafbba7703b82c652d454baa5df09402f8f',
356+
Var('dart_git') + '/async.git@6cdbc41631054870318ae28baea2c62cf2a91945',
357357

358358
'src/third_party/dart/third_party/pkg/bazel_worker':
359359
Var('dart_git') + '/bazel_worker.git@372b8b514c7342465f58627a2418910f76120db9',
@@ -386,7 +386,7 @@ deps = {
386386
Var('dart_git') + '/dart_style.git@633b01cba68f4b42ddc2985c3d521c22149d5ce3',
387387

388388
'src/third_party/dart/third_party/pkg/dartdoc':
389-
Var('dart_git') + '/dartdoc.git@7e171fc9d5ae2727ba2f7f7f78d3da5fb0dbbb1e',
389+
Var('dart_git') + '/dartdoc.git@7a9df65fbca600ecb3ada4b08002c8ab9ee4e987',
390390

391391
'src/third_party/dart/third_party/pkg/file':
392392
Var('dart_git') + '/external/github.com/google/file.dart@3aa06490bf34bddf04c7ea964a50c177a4ca0de7',
@@ -401,7 +401,7 @@ deps = {
401401
Var('dart_git') + '/html.git@327e37a6a4dd46599737ee982f280d73a8f646f7',
402402

403403
'src/third_party/dart/third_party/pkg/http':
404-
Var('dart_git') + '/http.git@6d9f9efe04886d9685fbfb1a76ba24a71b6c951c',
404+
Var('dart_git') + '/http.git@ce0de370e4f6fabf54d2c47fafe38f80cdc2501c',
405405

406406
'src/third_party/dart/third_party/pkg/http_multi_server':
407407
Var('dart_git') + '/http_multi_server.git@ba9d07f3596b24718ddf45c9e071d40879cca565',
@@ -416,13 +416,13 @@ deps = {
416416
Var('dart_git') + '/json_rpc_2.git@639857be892050159f5164c749d7947694976a4a',
417417

418418
'src/third_party/dart/third_party/pkg/leak_tracker':
419-
Var('dart_git') + '/leak_tracker.git@4a5b077739886f61bd6dc11c78865ef487c917c2',
419+
Var('dart_git') + '/leak_tracker.git@f5620600a5ce1c44f65ddaa02001e200b096e14c',
420420

421421
'src/third_party/dart/third_party/pkg/logging':
422422
Var('dart_git') + '/logging.git@cbaf4ee2e59c318d7519edb5381f5fe2a7f69587',
423423

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

427427
'src/third_party/dart/third_party/pkg/matcher':
428428
Var('dart_git') + '/matcher.git@d954c8d979579b4b46427b0ea1d9c721117c191e',
@@ -467,19 +467,19 @@ deps = {
467467
Var('dart_git') + '/source_span.git@21a403a75b6887fbd811fb53b74b08c2cef67ab6',
468468

469469
'src/third_party/dart/third_party/pkg/sse':
470-
Var('dart_git') + '/sse.git@af7d8d0881d3309fe9ffc3f0778b33ae745fddd1',
470+
Var('dart_git') + '/sse.git@13ec752b5f253f11a3d9e2f8aca5003b94c170d2',
471471

472472
'src/third_party/dart/third_party/pkg/stack_trace':
473473
Var('dart_git') + '/stack_trace.git@155f12c51226d6372f6722f5e55c38ef39625006',
474474

475475
'src/third_party/dart/third_party/pkg/stream_channel':
476-
Var('dart_git') + '/stream_channel.git@851336fada8759aa3a2e9ce344844d48dee67495',
476+
Var('dart_git') + '/stream_channel.git@e02a5ddef804f0d546a405ab3917fb27788acaef',
477477

478478
'src/third_party/dart/third_party/pkg/string_scanner':
479479
Var('dart_git') + '/string_scanner.git@a2bcdb575f6bb30b944b4f632ea95d8dc4f914bd',
480480

481481
'src/third_party/dart/third_party/pkg/tar':
482-
Var('dart_git') + '/external/github.com/simolus3/tar.git@0fc831c6e93be5342d4863d9e464428e73007cce',
482+
Var('dart_git') + '/external/github.com/simolus3/tar.git@6150a0c88d9bd17e3e961593a9a7a9564866e8b4',
483483

484484
'src/third_party/dart/third_party/pkg/term_glyph':
485485
Var('dart_git') + '/term_glyph.git@85a4aa6bf25cd6ecaa5c56a1b259b2d95264a439',
@@ -1004,7 +1004,7 @@ deps = {
10041004
'packages': [
10051005
{
10061006
'package': 'fuchsia/sdk/core/linux-amd64',
1007-
'version': 'dLhvv964txwnSlvNw-qiuPtzH97grhOfLDOeg3QQKucC'
1007+
'version': 'j9cJ94K-T1i3u5xGhNKHB3oJWIZ3lO7m7Ob0kSQL-wsC'
10081008
}
10091009
],
10101010
'condition': 'host_os == "linux" and not download_fuchsia_sdk',
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
#!/bin/bash
2+
#
3+
# Copyright 2013 The Flutter Authors. All rights reserved.
4+
# Use of this source code is governed by a BSD-style license that can be
5+
# found in the LICENSE file.
6+
7+
set -e
8+
9+
# Needed because if it is set, cd may print the path it changed to.
10+
unset CDPATH
11+
12+
# On Mac OS, readlink -f doesn't work, so follow_links traverses the path one
13+
# link at a time, and then cds into the link destination and find out where it
14+
# ends up.
15+
#
16+
# The function is enclosed in a subshell to avoid changing the working directory
17+
# of the caller.
18+
function follow_links() (
19+
cd -P "$(dirname -- "$1")"
20+
file="$PWD/$(basename -- "$1")"
21+
while [[ -L "$file" ]]; do
22+
cd -P "$(dirname -- "$file")"
23+
file="$(readlink -- "$file")"
24+
cd -P "$(dirname -- "$file")"
25+
file="$PWD/$(basename -- "$file")"
26+
done
27+
echo "$file"
28+
)
29+
30+
SCRIPT_DIR=$(follow_links "$(dirname -- "${BASH_SOURCE[0]}")")
31+
SRC_DIR="$(
32+
cd "$SCRIPT_DIR/../.."
33+
pwd -P
34+
)"
35+
36+
# Check if a file named **/GeneratedPluginRegistrant.java exists in the project.
37+
# If it does, fail the build and print a message to the user pointing them to
38+
# the file and instructing them to remove it.
39+
#
40+
# See: https://github.com/flutter/flutter/issues/143782.
41+
42+
# The expected path to the file. Any *other* path is unexpected.
43+
EXPECTED_PATHS=("./shell/platform/android/test/io/flutter/plugins/GeneratedPluginRegistrant.java")
44+
45+
# Temporarily change the working directory to the root of the Flutter project.
46+
pushd "$SRC_DIR/flutter" >/dev/null
47+
48+
# Change back to the original working directory.
49+
function cleanup() {
50+
popd >/dev/null
51+
}
52+
53+
trap cleanup EXIT
54+
55+
# Find all files named GeneratedPluginRegistrant.java in the project.
56+
echo "Finding all files named GeneratedPluginRegistrant.java in the project..."
57+
GENERATED_PLUGIN_REGISTRANT_PATHS=$(find . -name "GeneratedPluginRegistrant.java")
58+
59+
# Iterate over the found paths and check if they are expected.
60+
for path in $GENERATED_PLUGIN_REGISTRANT_PATHS; do
61+
if [[ ! " ${EXPECTED_PATHS[@]} " =~ " ${path} " ]]; then
62+
echo "ERROR: Found unexpected file named GeneratedPluginRegistrant.java at $path."
63+
echo "Please remove this file from the project."
64+
exit 1
65+
fi
66+
done
67+
68+
echo "Done."

ci/builders/linux_unopt.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,12 @@
4646
]
4747
},
4848
{
49-
"nane": "test:GeneratedPluginRegistant.java omitted",
50-
"script": "flutter/ci/test/format_no_generated_java_test.sh"
49+
"name": "ban GeneratedPluginRegistrant.java",
50+
"script": "flutter/ci/ban_generated_plugin_registrant_java.sh"
51+
},
52+
{
53+
"name": "ban_test GeneratedPluginRegistrant.java",
54+
"script": "flutter/ci/test/ban_generated_plugin_registrant_java_test.sh"
5155
},
5256
{
5357
"language": "python3",

ci/builders/mac_host_engine.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -476,6 +476,21 @@
476476
"source": "out/release/snapshot/gen_snapshot.zip",
477477
"destination": "darwin-x64-release/gen_snapshot.zip",
478478
"realm": "production"
479+
},
480+
{
481+
"source": "out/debug/framework/framework.zip",
482+
"destination": "darwin-x64/framework.zip",
483+
"realm": "production"
484+
},
485+
{
486+
"source": "out/profile/framework/framework.zip",
487+
"destination": "darwin-x64-profile/framework.zip",
488+
"realm": "production"
489+
},
490+
{
491+
"source": "out/release/framework/framework.zip",
492+
"destination": "darwin-x64-release/framework.zip",
493+
"realm": "production"
479494
}
480495
]
481496
}

0 commit comments

Comments
 (0)