Skip to content

Commit 1cca36c

Browse files
committed
Merge branch 'master' into foundation
2 parents 5e5fae7 + e6c333b commit 1cca36c

File tree

97 files changed

+2608
-485
lines changed

Some content is hidden

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

97 files changed

+2608
-485
lines changed

.ci.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,17 @@ platform_properties:
121121
os: Linux
122122
device_type: "mokey"
123123

124+
linux_galaxy_s24:
125+
properties:
126+
dependencies: >-
127+
[
128+
{"dependency": "android_sdk", "version": "version:35v1"},
129+
{"dependency": "open_jdk", "version": "version:17"},
130+
{"dependency": "curl", "version": "version:7.64.0"}
131+
]
132+
os: Linux
133+
device_type: "SM-S921U1"
134+
124135
mac:
125136
properties:
126137
contexts: >-
@@ -3065,6 +3076,17 @@ targets:
30653076
["devicelab", "android", "linux", "pixel", "7pro"]
30663077
task_name: new_gallery_impeller__transition_perf
30673078

3079+
# Samsung Galaxy S24, Impeller (Vulkan)
3080+
- name: Linux_galaxy_s24 new_gallery_impeller__transition_perf
3081+
recipe: devicelab/devicelab_drone
3082+
bringup: true
3083+
presubmit: false
3084+
timeout: 60
3085+
properties:
3086+
tags: >
3087+
["devicelab", "android", "linux", "samsung", "s24"]
3088+
task_name: new_gallery_impeller__transition_perf
3089+
30683090
# Pixel 7 Pro, Impeller (OpenGL)
30693091
- name: Linux_pixel_7pro new_gallery_opengles_impeller__transition_perf
30703092
recipe: devicelab/devicelab_drone

.github/ISSUE_TEMPLATE/g3_bug.yml

Lines changed: 136 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,136 @@
1+
name: Report a bug
2+
description: |
3+
You found a bug in Flutter causing your application to crash or
4+
throw an exception, a widget is buggy, or something looks wrong.
5+
labels: 'customer: google'
6+
body:
7+
- type: markdown
8+
attributes:
9+
value: |
10+
Thank you for using Flutter!
11+
12+
If you are looking for support, please check out our documentation
13+
or consider asking a question on Stack Overflow:
14+
15+
- https://flutter.dev/
16+
- https://api.flutter.dev/
17+
- https://stackoverflow.com/questions/tagged/flutter?sort=frequent
18+
- type: markdown
19+
attributes:
20+
value: |
21+
Before filling the form fields, please consider the following:
22+
- Ensure that you have searched the [existing issues](https://github.com/flutter/flutter/issues)
23+
- Read the [guide to filing a bug](https://flutter.dev/docs/resources/bug-reports)
24+
- type: markdown
25+
attributes:
26+
value: |
27+
Flutter GitHub issues are public and so you must avoid posting any Google confidential information in them.
28+
- type: checkboxes
29+
id: priority-indicator
30+
attributes:
31+
label: Help us understand the severity of this issue
32+
description: Please only choose one
33+
options:
34+
- label: causing severe production issues e.g. malfunctions or data loss
35+
- label: blocking next binary release
36+
- label: blocking a client feature launch within a quarter
37+
- label: nice-to-have but does not block a launch within the next quarter
38+
- type: textarea
39+
attributes:
40+
label: Steps to reproduce
41+
description: Please tell us exactly how to reproduce the problem you are running into.
42+
placeholder: |
43+
1. ...
44+
2. ...
45+
3. ...
46+
validations:
47+
required: true
48+
- type: textarea
49+
attributes:
50+
label: Expected results
51+
description: Please tell us what is expected to happen.
52+
validations:
53+
required: true
54+
- type: textarea
55+
attributes:
56+
label: Actual results
57+
description: Please tell us what is actually happening.
58+
validations:
59+
required: true
60+
- type: textarea
61+
attributes:
62+
label: Code sample
63+
description: |
64+
Please create a minimal reproducible sample that shows the problem
65+
and attach it below between the lines with the backticks.
66+
67+
To create it, use the `flutter create bug` command and update the `main.dart` file.
68+
69+
Alternatively, you can use https://dartpad.dev/ or create a public GitHub
70+
repository to share your sample.
71+
72+
Without this we will unlikely be able to progress on the issue, and because of that
73+
we regretfully will have to close it.
74+
75+
Note: Please do not upload screenshots of text. Instead, use code blocks
76+
or the above mentioned ways to upload your code sample.
77+
value: |
78+
<details open><summary>Code sample</summary>
79+
80+
```dart
81+
[Paste your code here]
82+
```
83+
84+
</details>
85+
validations:
86+
required: true
87+
- type: textarea
88+
attributes:
89+
label: Screenshots or Video
90+
description: |
91+
Upload any screenshots or video of the bug if applicable.
92+
value: |
93+
<details open>
94+
<summary>Screenshots / Video demonstration</summary>
95+
96+
[Upload media here]
97+
98+
</details>
99+
- type: textarea
100+
attributes:
101+
label: Logs
102+
description: |
103+
Include the full logs of the commands you are running between the lines
104+
with the backticks below. If you are running any `flutter` commands,
105+
please include the output of running them with `--verbose`; for example,
106+
the output of running `flutter --verbose create foo`.
107+
108+
If the logs are too large to be uploaded to GitHub, you may upload
109+
them as a `txt` file or use online tools like https://pastebin.com to
110+
share it.
111+
112+
Note: Please do not upload screenshots of text. Instead, use code blocks
113+
or the above mentioned ways to upload logs.
114+
value: |
115+
<details open><summary>Logs</summary>
116+
117+
```console
118+
[Paste your logs here]
119+
```
120+
121+
</details>
122+
- type: textarea
123+
attributes:
124+
label: Flutter Doctor output
125+
description: |
126+
Please provide the full output of running `flutter doctor -v`
127+
value: |
128+
<details open><summary>Doctor output</summary>
129+
130+
```console
131+
[Paste your output here]
132+
```
133+
134+
</details>
135+
validations:
136+
required: true

DEPS

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -56,23 +56,23 @@ 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': '023ac80cef146b2ccd96ec813c177432fe1a6fd6',
59+
'dart_revision': '2cecb16348e4778844660d5e7d16a96efe3706ec',
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': '3f6831c0bd147ae1ae0ab1d9187d37bce7cca38b',
64-
'dart_boringssl_rev': '0147d7f28324c5b2923cd1e412e8aaf74124622c',
65-
'dart_core_rev': 'a896913715f2d8fb86d099b75dbfd02bf0d658a4',
64+
'dart_boringssl_rev': '8c6b0c04f19f5a6a13af3e29a6a4bb6784cb2bd7',
65+
'dart_core_rev': '0b2bd3fcd7f3e082f4cc9b14c19ffa93894b85ae',
6666
'dart_devtools_rev': 'b38abb81337b10c4b675d418e50f82a5fe6a894d',
67-
'dart_http_rev': 'b7cdf6136926589210662bbdd71000e7abab7271',
67+
'dart_http_rev': '900da9fe7d576caa4882053cf26d3a70bd3106e0',
6868
'dart_libprotobuf_rev': '24487dd1045c7f3d64a21f38a3f0c06cc4cf2edb',
6969
'dart_perfetto_rev': '13ce0c9e13b0940d2476cd0cff2301708a9a2e2b',
7070
'dart_protobuf_gn_rev': 'ca669f79945418f6229e4fef89b666b2a88cbb10',
71-
'dart_protobuf_rev': 'd00f905450c562493d918884e02048b7aacc00a3',
71+
'dart_protobuf_rev': '610943a3bed70c1c2079af5fca02462df10d223f',
7272
'dart_pub_rev': '710265bae23ad5860f33287fba10b5c369f19a93',
73-
'dart_tools_rev': '30de295e959beaaae7a18d2249a1cddb9053dd02',
73+
'dart_tools_rev': 'b51f39d01f5a4af33428a0189cd62595c01e23de',
7474
'dart_web_rev': 'c2d5f63e9ea4c1409d6e159fc7b92dbcf4dc0d4d',
75-
'dart_webdev_rev': '616da45582e008efa114728927eabb498c71f1b7',
75+
'dart_webdev_rev': '718c39c3b10f6e77f767d70d1f30f8a6c8262d6f',
7676
'dart_webkit_inspection_protocol_rev': 'effa75205516757795683d527c3dea9546eb0c32',
7777

7878
'ocmock_rev': 'c4ec0e3a7a9f56cfdbd0aa01f4f97bb4b75c5ef8', # v3.7.1
@@ -313,7 +313,7 @@ deps = {
313313
Var('dart_git') + '/dart_style.git@21de99ec0ff8ace4d946a746fb427fffd6afa535',
314314

315315
'engine/src/flutter/third_party/dart/third_party/pkg/dartdoc':
316-
Var('dart_git') + '/dartdoc.git@e1295863b11c54680bf178ec9c2662a33b0e24be',
316+
Var('dart_git') + '/dartdoc.git@f0d2276e57c96717e625964ea0385a30f2237e62',
317317

318318
'engine/src/flutter/third_party/dart/third_party/pkg/glob':
319319
Var('dart_git') + '/glob.git@043796be996190473b397fa2fecfa34bb91376fb',
@@ -340,7 +340,7 @@ deps = {
340340
Var('dart_git') + '/pub.git' + '@' + Var('dart_pub_rev'),
341341

342342
'engine/src/flutter/third_party/dart/third_party/pkg/shelf':
343-
Var('dart_git') + '/shelf.git@2a7442f7d6d3e63fdc7b387128619b263dcb7e78',
343+
Var('dart_git') + '/shelf.git@b39e61196ce555dc1d3a0c3da695228fa6bdebb8',
344344

345345
'engine/src/flutter/third_party/dart/third_party/pkg/tar':
346346
Var('dart_git') + '/external/github.com/simolus3/tar.git@5a1ea943e70cdf3fa5e1102cdbb9418bd9b4b81a',
@@ -364,7 +364,7 @@ deps = {
364364
Var('dart_git') + '/external/github.com/google/webkit_inspection_protocol.dart.git' + '@' + Var('dart_webkit_inspection_protocol_rev'),
365365

366366
'engine/src/flutter/third_party/dart/tools/sdks/dart-sdk':
367-
{'dep_type': 'cipd', 'packages': [{'package': 'dart/dart-sdk/${{platform}}', 'version': 'git_revision:f863f0b43625eb04539a34d7cc25029ba80dd522'}]},
367+
{'dep_type': 'cipd', 'packages': [{'package': 'dart/dart-sdk/${{platform}}', 'version': 'git_revision:a8bfb132c5f7b9555d13ea79eaf0eaa77825824d'}]},
368368

369369
# WARNING: end of dart dependencies list that is cleaned up automatically - see create_updated_flutter_deps.py.
370370

TESTOWNERS

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -167,38 +167,38 @@
167167
## Mac iOS DeviceLab tests
168168
/dev/devicelab/bin/tasks/animated_complex_opacity_perf_ios__e2e_summary.dart @hellohuanlin @flutter/engine
169169
/dev/devicelab/bin/tasks/animation_with_microtasks_perf_ios__timeline_summary.dart @jtmcdole @flutter/engine
170-
/dev/devicelab/bin/tasks/backdrop_filter_perf_ios__timeline_summary.dart @hellohuanlin @flutter/engine
171-
/dev/devicelab/bin/tasks/basic_material_app_ios__compile.dart @jmagman @flutter/tool
172-
/dev/devicelab/bin/tasks/channels_integration_test_ios.dart @jmagman @flutter/engine
170+
/dev/devicelab/bin/tasks/backdrop_filter_perf_ios__timeline_summary.dart @louisehsu @flutter/engine
171+
/dev/devicelab/bin/tasks/basic_material_app_ios__compile.dart @vashworth @flutter/tool
172+
/dev/devicelab/bin/tasks/channels_integration_test_ios.dart @loic-sharma @flutter/engine
173173
/dev/devicelab/bin/tasks/codegen_integration_mac.dart @bkonyi @flutter/tool
174-
/dev/devicelab/bin/tasks/color_filter_and_fade_perf_ios__e2e_summary.dart @hellohuanlin @flutter/engine
175-
/dev/devicelab/bin/tasks/complex_layout_ios__start_up.dart @louisehsu @flutter/engine
174+
/dev/devicelab/bin/tasks/color_filter_and_fade_perf_ios__e2e_summary.dart @louisehsu @flutter/engine
175+
/dev/devicelab/bin/tasks/complex_layout_ios__start_up.dart @vashworth @flutter/engine
176176
/dev/devicelab/bin/tasks/complex_layout_scroll_perf_bad_ios__timeline_summary.dart @jonahwilliams @flutter/engine
177-
/dev/devicelab/bin/tasks/complex_layout_scroll_perf_ios__timeline_summary.dart @hellohuanlin @flutter/engine
177+
/dev/devicelab/bin/tasks/complex_layout_scroll_perf_ios__timeline_summary.dart @louisehsu @flutter/engine
178178
/dev/devicelab/bin/tasks/cubic_bezier_perf_ios_sksl_warmup__timeline_summary.dart @jtmcdole @flutter/engine
179179
/dev/devicelab/bin/tasks/external_textures_integration_test_ios.dart @jtmcdole @flutter/engine
180-
/dev/devicelab/bin/tasks/flavors_test_ios.dart @jmagman @flutter/tool
180+
/dev/devicelab/bin/tasks/flavors_test_ios.dart @vashworth @flutter/tool
181181
/dev/devicelab/bin/tasks/flutter_gallery__transition_perf_e2e_ios.dart @jtmcdole @flutter/engine
182-
/dev/devicelab/bin/tasks/flutter_gallery_ios__compile.dart @jmagman @flutter/engine
183-
/dev/devicelab/bin/tasks/flutter_gallery_ios__start_up.dart @louisehsu @flutter/engine
182+
/dev/devicelab/bin/tasks/flutter_gallery_ios__compile.dart @vashworth @flutter/engine
183+
/dev/devicelab/bin/tasks/flutter_gallery_ios__start_up.dart @vashworth @flutter/engine
184184
/dev/devicelab/bin/tasks/flutter_gallery_ios_sksl_warmup__transition_perf.dart @jtmcdole @flutter/engine
185185
/dev/devicelab/bin/tasks/flutter_view_ios__start_up.dart @jtmcdole @flutter/engine
186186
/dev/devicelab/bin/tasks/fullscreen_textfield_perf_ios__e2e_summary.dart @louisehsu @flutter/engine
187-
/dev/devicelab/bin/tasks/hello_world_ios__compile.dart @jmagman @flutter/engine
187+
/dev/devicelab/bin/tasks/hello_world_ios__compile.dart @vashworth @flutter/engine
188188
/dev/devicelab/bin/tasks/hot_mode_dev_cycle_ios__benchmark.dart @louisehsu @flutter/tool
189189
/dev/devicelab/bin/tasks/imitation_game_flutter__compile.dart @louisehsu @flutter/tool
190190
/dev/devicelab/bin/tasks/imitation_game_swiftui__compile.dart @louisehsu @flutter/tool
191191
# TODO(vashworth): Remove once https://github.com/flutter/flutter/issues/142305 is fixed.
192192
/dev/devicelab/bin/tasks/hot_mode_dev_cycle_ios__benchmark_no_dds.dart @louisehsu @flutter/tool
193-
/dev/devicelab/bin/tasks/imagefiltered_transform_animation_perf_ios__timeline_summary.dart @hellohuanlin @flutter/engine
194-
/dev/devicelab/bin/tasks/integration_test_test_ios.dart @jmagman @flutter/engine
195-
/dev/devicelab/bin/tasks/integration_ui_ios_driver.dart @louisehsu @flutter/tool
193+
/dev/devicelab/bin/tasks/imagefiltered_transform_animation_perf_ios__timeline_summary.dart @louisehsu @flutter/engine
194+
/dev/devicelab/bin/tasks/integration_test_test_ios.dart @loic-sharma @flutter/engine
195+
/dev/devicelab/bin/tasks/integration_ui_ios_driver.dart @loic-sharma @flutter/tool
196196
/dev/devicelab/bin/tasks/integration_ui_ios_frame_number.dart @jtmcdole @flutter/engine
197-
/dev/devicelab/bin/tasks/integration_ui_ios_keyboard_resize.dart @louisehsu @flutter/engine
198-
/dev/devicelab/bin/tasks/integration_ui_ios_screenshot.dart @louisehsu @flutter/tool
199-
/dev/devicelab/bin/tasks/integration_ui_ios_textfield.dart @louisehsu @flutter/tool
200-
/dev/devicelab/bin/tasks/ios_app_with_extensions_test.dart @jmagman @flutter/tool
201-
/dev/devicelab/bin/tasks/ios_defines_test.dart @jmagman @flutter/tool
197+
/dev/devicelab/bin/tasks/integration_ui_ios_keyboard_resize.dart @loic-sharma @flutter/engine
198+
/dev/devicelab/bin/tasks/integration_ui_ios_screenshot.dart @loic-sharma @flutter/tool
199+
/dev/devicelab/bin/tasks/integration_ui_ios_textfield.dart @loic-sharma @flutter/tool
200+
/dev/devicelab/bin/tasks/ios_app_with_extensions_test.dart @vashworth @flutter/tool
201+
/dev/devicelab/bin/tasks/ios_defines_test.dart @louisehsu @flutter/tool
202202
/dev/devicelab/bin/tasks/ios_picture_cache_complexity_scoring_perf__timeline_summary.dart @flar @flutter/engine
203203
/dev/devicelab/bin/tasks/ios_platform_view_tests.dart @stuartmorgan @flutter/plugin
204204
/dev/devicelab/bin/tasks/large_image_changer_perf_ios.dart @jtmcdole @flutter/engine
@@ -218,7 +218,7 @@
218218
/dev/devicelab/bin/tasks/platform_views_scroll_perf_ios__timeline_summary.dart @hellohuanlin @flutter/engine
219219
/dev/devicelab/bin/tasks/platform_views_scroll_perf_non_intersecting_impeller_ios__timeline_summary.dart @jonahwilliams @flutter/engine
220220
/dev/devicelab/bin/tasks/post_backdrop_filter_perf_ios__timeline_summary.dart @hellohuanlin @flutter/engine
221-
/dev/devicelab/bin/tasks/route_test_ios.dart @jmagman @flutter/tool
221+
/dev/devicelab/bin/tasks/route_test_ios.dart @vashworth @flutter/tool
222222
/dev/devicelab/bin/tasks/simple_animation_perf_ios.dart @hellohuanlin @flutter/engine
223223
/dev/devicelab/bin/tasks/tiles_scroll_perf_ios__timeline_summary.dart @hellohuanlin @flutter/engine
224224
/dev/devicelab/bin/tasks/very_long_picture_scrolling_perf_ios__e2e_summary.dart @flar @flutter/engine
@@ -235,7 +235,7 @@
235235
/dev/devicelab/bin/tasks/android_release_builds_exclude_dev_dependencies_test.dart @camsim99 @flutter/android
236236
/dev/devicelab/bin/tasks/basic_material_app_macos__compile.dart @cbracken @flutter/desktop
237237
/dev/devicelab/bin/tasks/build_aar_module_test.dart @bkonyi @flutter/tool
238-
/dev/devicelab/bin/tasks/build_ios_framework_module_test.dart @jmagman @flutter/tool
238+
/dev/devicelab/bin/tasks/build_ios_framework_module_test.dart @vashworth @flutter/tool
239239
/dev/devicelab/bin/tasks/channels_integration_test_macos.dart @gaaclarke @flutter/desktop
240240
/dev/devicelab/bin/tasks/complex_layout_macos__compile.dart @cbracken @flutter/desktop
241241
/dev/devicelab/bin/tasks/complex_layout_macos__start_up.dart @cbracken @flutter/desktop
@@ -244,7 +244,7 @@
244244
/dev/devicelab/bin/tasks/complex_layout_win_desktop__start_up.dart @yaakovschectman @flutter/desktop
245245
/dev/devicelab/bin/tasks/dart_plugin_registry_test.dart @stuartmorgan @flutter/plugin
246246
/dev/devicelab/bin/tasks/entrypoint_dart_registrant.dart @aaclarke @flutter/plugin
247-
/dev/devicelab/bin/tasks/flavors_test_macos.dart @cbracken @flutter/desktop
247+
/dev/devicelab/bin/tasks/flavors_test_macos.dart @vashworth @flutter/desktop
248248
/dev/devicelab/bin/tasks/flutter_gallery_macos__compile.dart @cbracken @flutter/desktop
249249
/dev/devicelab/bin/tasks/flutter_gallery_macos__start_up.dart @cbracken @flutter/desktop
250250
/dev/devicelab/bin/tasks/flutter_gallery_win_desktop__compile.dart @yaakovschectman @flutter/desktop
@@ -270,7 +270,7 @@
270270
/dev/devicelab/bin/tasks/module_host_with_custom_build_test.dart @bkonyi @flutter/tool
271271
/dev/devicelab/bin/tasks/build_android_host_app_with_module_aar.dart @bkonyi @flutter/tool
272272
/dev/devicelab/bin/tasks/build_android_host_app_with_module_source.dart @gmackall @flutter/android
273-
/dev/devicelab/bin/tasks/module_test_ios.dart @jmagman @flutter/tool
273+
/dev/devicelab/bin/tasks/module_test_ios.dart @vashworth @flutter/tool
274274
/dev/devicelab/bin/tasks/native_assets_ios_simulator.dart @dcharkes @flutter/ios
275275
/dev/devicelab/bin/tasks/native_ui_tests_macos.dart @cbracken @flutter/desktop
276276
/dev/devicelab/bin/tasks/platform_channel_sample_test_macos.dart @cbracken @flutter/desktop
@@ -281,7 +281,7 @@
281281
/dev/devicelab/bin/tasks/plugin_test.dart @stuartmorgan @flutter/plugin
282282
/dev/devicelab/bin/tasks/plugin_test_ios.dart @stuartmorgan @flutter/ios
283283
/dev/devicelab/bin/tasks/plugin_test_linux.dart @stuartmorgan @flutter/desktop
284-
/dev/devicelab/bin/tasks/plugin_test_macos.dart @cbracken @flutter/desktop
284+
/dev/devicelab/bin/tasks/plugin_test_macos.dart @vashworth @flutter/desktop
285285
/dev/devicelab/bin/tasks/plugin_test_windows.dart @loic-sharma @flutter/desktop
286286
/dev/devicelab/bin/tasks/run_debug_test_android.dart @bkonyi @flutter/tool
287287
/dev/devicelab/bin/tasks/run_debug_test_android.dart @bkonyi @flutter/tool
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
cb4fb13e19756cbbcb523bc33fbf7b7a5923e787
1+
a9b91727371113fc453af6a1176a9aa4d0e990f9

bin/internal/update_engine_version.ps1

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@ $ErrorActionPreference = "Stop"
1919
$progName = Split-Path -parent $MyInvocation.MyCommand.Definition
2020
$flutterRoot = (Get-Item $progName).parent.parent.FullName
2121

22+
# On stable, beta, and release tags, the engine.version is tracked by git - do not override it.
23+
$trackedEngine = (git -C "$flutterRoot" ls-files bin/internal/engine.version) | Out-String
24+
if ($trackedEngine.length -ne 0) {
25+
return
26+
}
27+
2228
# Allow overriding the intended engine version via FLUTTER_PREBUILT_ENGINE_VERSION.
2329
#
2430
# This is for systems, such as Github Actions, where we know ahead of time the
@@ -35,8 +41,6 @@ if (![string]::IsNullOrEmpty($env:FLUTTER_PREBUILT_ENGINE_VERSION)) {
3541

3642
# Test for fusion repository
3743
if ([string]::IsNullOrEmpty($engineVersion) -and (Test-Path "$flutterRoot\DEPS" -PathType Leaf) -and (Test-Path "$flutterRoot\engine\src\.gn" -PathType Leaf)) {
38-
# Calculate the engine hash from tracked git files.
39-
$branch = (git -C "$flutterRoot" rev-parse --abbrev-ref HEAD)
4044
if ($null -eq $Env:LUCI_CONTEXT) {
4145
$ErrorActionPreference = "Continue"
4246
git -C "$flutterRoot" remote get-url upstream *> $null
@@ -53,13 +57,11 @@ if ([string]::IsNullOrEmpty($engineVersion) -and (Test-Path "$flutterRoot\DEPS"
5357
}
5458
}
5559

56-
if (($branch -ne "stable" -and $branch -ne "beta")) {
57-
# Write the engine version out so downstream tools know what to look for.
58-
$utf8NoBom = New-Object System.Text.UTF8Encoding($false)
59-
[System.IO.File]::WriteAllText("$flutterRoot\bin\internal\engine.version", $engineVersion, $utf8NoBom)
60+
# Write the engine version out so downstream tools know what to look for.
61+
$utf8NoBom = New-Object System.Text.UTF8Encoding($false)
62+
[System.IO.File]::WriteAllText("$flutterRoot\bin\internal\engine.version", $engineVersion, $utf8NoBom)
6063

61-
# The realm on CI is passed in.
62-
if ($Env:FLUTTER_REALM) {
63-
[System.IO.File]::WriteAllText("$flutterRoot\bin\internal\engine.realm", $Env:FLUTTER_REALM, $utf8NoBom)
64-
}
64+
# The realm on CI is passed in.
65+
if ($Env:FLUTTER_REALM) {
66+
[System.IO.File]::WriteAllText("$flutterRoot\bin\internal\engine.realm", $Env:FLUTTER_REALM, $utf8NoBom)
6567
}

0 commit comments

Comments
 (0)