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

Commit 9f44c8f

Browse files
Merge branch 'main' into fix/nested_same_mask_filter
2 parents 3528c73 + d56a231 commit 9f44c8f

File tree

1,567 files changed

+128341
-89832
lines changed

Some content is hidden

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

1,567 files changed

+128341
-89832
lines changed

.ci.yaml

Lines changed: 39 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,18 @@ platform_properties:
4444
]
4545
device_type: none
4646
os: Windows-10
47+
4748
# The current android emulator config names can be found here:
4849
# https://chromium.googlesource.com/chromium/src.git/+/HEAD/tools/android/avd/proto
4950
# You may use those names for the android_virtual_device version.
5051
targets:
52+
- name: Linux local_engine_builds
53+
enabled_branches:
54+
- main
55+
recipe: engine_v2/engine_v2
56+
properties:
57+
config_name: local_engine
58+
5159
- name: Linux linux_android_emulator_tests
5260
enabled_branches:
5361
- main
@@ -58,36 +66,35 @@ targets:
5866
[
5967
{"dependency": "goldctl", "version": "git_revision:720a542f6fe4f92922c3b8f0fdcc4d2ac6bb83cd"}
6068
]
61-
timeout: 60
69+
timeout: 90
6270
runIf:
6371
- .ci.yaml
6472
- ci/builders/linux_android_emulator.json
6573
- DEPS
6674
- lib/ui/**
6775
- shell/platform/android/**
6876
- testing/scenario_app/**
77+
- testing/skia_gold_client/**
6978

70-
# Task to run Linux linux_android_emulator_tests on AVDs running Android 33
71-
# instead of 34 for investigating https://github.com/flutter/flutter/issues/137947.
72-
- name: Linux linux_android_emulator_tests_api_33
73-
bringup: true
79+
- name: Linux linux_android_emulator_skia_tests
7480
enabled_branches:
7581
- main
7682
recipe: engine_v2/engine_v2
7783
properties:
78-
config_name: linux_android_emulator_api_33
84+
config_name: linux_android_emulator_skia
7985
dependencies: >-
8086
[
8187
{"dependency": "goldctl", "version": "git_revision:720a542f6fe4f92922c3b8f0fdcc4d2ac6bb83cd"}
8288
]
83-
timeout: 60
89+
timeout: 90
8490
runIf:
8591
- .ci.yaml
86-
- ci/builders/linux_android_emulator_api_33.json
92+
- ci/builders/linux_android_emulator.json
8793
- DEPS
8894
- lib/ui/**
8995
- shell/platform/android/**
9096
- testing/scenario_app/**
97+
- testing/skia_gold_client/**
9198

9299
- name: Linux builder_cache
93100
enabled_branches:
@@ -96,7 +103,6 @@ targets:
96103
presubmit: false
97104
properties:
98105
cache_name: "builder"
99-
cache_root: "cache"
100106
cache_paths: >-
101107
[
102108
"builder",
@@ -116,7 +122,6 @@ targets:
116122
presubmit: false
117123
properties:
118124
cache_name: "builder"
119-
cache_root: "cache"
120125
cache_paths: >-
121126
[
122127
"builder",
@@ -135,7 +140,6 @@ targets:
135140
presubmit: false
136141
properties:
137142
cache_name: "builder"
138-
cache_root: "cache"
139143
cache_paths: >-
140144
[
141145
"builder",
@@ -161,54 +165,14 @@ targets:
161165
config_name: linux_benchmarks
162166
timeout: 60
163167

164-
- name: Linux Fuchsia FEMU
165-
recipe: engine/femu_test
166-
properties:
167-
add_recipes_cq: "true"
168-
build_fuchsia: "true"
169-
fuchsia_ctl_version: version:0.0.27
170-
# ensure files from pre-production Fuchsia SDK tests are purged from cache
171-
clobber: "true"
172-
emulator_arch: "x64"
173-
enable_cso: "true"
174-
timeout: 60
175-
# TODO(https://github.com/flutter/flutter/issues/138559): Re-enable/delete.
176-
# runIfNot:
177-
# - lib/web_ui/**
178-
# - shell/platform/android/**
179-
# - shell/platform/darwin/**
180-
# - shell/platform/glfw/**
181-
# - shell/platform/linux/**
182-
# - shell/platform/windows/**
183-
# - web_sdk/**
184-
185-
- name: Linux Fuchsia arm64 FEMU
186-
recipe: engine/femu_test
187-
properties:
188-
build_fuchsia: "true"
189-
fuchsia_ctl_version: version:0.0.27
190-
# ensure files from pre-production Fuchsia SDK tests are purged from cache
191-
clobber: "true"
192-
emulator_arch: "arm64"
193-
enable_cso: "true"
194-
timeout: 60
195-
bringup: true
196-
# TODO(https://github.com/flutter/flutter/issues/138559): Re-enable/delete.
197-
# runIfNot:
198-
# - lib/web_ui/**
199-
# - shell/platform/android/**
200-
# - shell/platform/darwin/**
201-
# - shell/platform/glfw/**
202-
# - shell/platform/linux/**
203-
# - shell/platform/windows/**
204-
# - web_sdk/**
205-
206168
- name: Linux linux_fuchsia
207169
recipe: engine_v2/engine_v2
208170
timeout: 60
209171
properties:
210172
release_build: "true"
211173
config_name: linux_fuchsia
174+
# Do not remove(https://github.com/flutter/flutter/issues/144644)
175+
# Scheduler will fail to get the platform
212176
drone_dimensions:
213177
- os=Linux
214178
dimensions:
@@ -223,15 +187,6 @@ targets:
223187
# - shell/platform/windows/**
224188
# - web_sdk/**
225189

226-
- name: Linux Framework Smoke Tests
227-
recipe: engine/framework_smoke
228-
enabled_branches:
229-
- main
230-
timeout: 60
231-
properties:
232-
gclient_variables: >-
233-
{"use_rbe": true}
234-
235190
- name: Linux linux_clang_tidy
236191
recipe: engine_v2/engine_v2
237192
timeout: 120
@@ -320,6 +275,19 @@ targets:
320275
config_name: linux_web_engine
321276
drone_dimensions:
322277
- os=Linux
278+
runIf:
279+
- DEPS
280+
- .ci.yaml
281+
- lib/web_ui/**
282+
- web_sdk/**
283+
- tools/**
284+
- ci/**
285+
- flutter_frontend_server/**
286+
287+
- name: Linux clangd
288+
recipe: engine_v2/engine_v2
289+
properties:
290+
config_name: linux_unopt_debug_no_rbe
323291

324292
- name: Linux linux_unopt
325293
recipe: engine_v2/engine_v2
@@ -341,7 +309,6 @@ targets:
341309
{"dependency": "chrome_and_driver", "version": "version:119.0.6045.9"},
342310
{"dependency": "curl", "version": "version:7.64.0"}
343311
]
344-
framework: "true"
345312
no_goma: "true"
346313
drone_dimensions: >
347314
["device_type=none", "os=Linux"]
@@ -407,7 +374,15 @@ targets:
407374
drone_dimensions:
408375
- os=Mac-13
409376

410-
- name: Linux mac_unopt
377+
- name: Linux mac_clangd
378+
recipe: engine_v2/engine_v2
379+
# Avoid using a Mac orchestrator to save ~5 minutes of Mac host time.
380+
drone_dimensions:
381+
- os=Linux
382+
properties:
383+
config_name: mac_unopt_debug_no_rbe
384+
385+
- name: Mac mac_unopt
411386
recipe: engine_v2/engine_v2
412387
properties:
413388
config_name: mac_unopt

.clangd

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Used to allow clangd to run on CI platforms as part of //tools/clangd_check.
2+
#
3+
# Intended to have no effect elsewhere.
4+
#
5+
# See also:
6+
# - https://clangd.llvm.org/config#compileflags
7+
# - https://github.com/clangd/clangd/issues/662
8+
CompileFlags:
9+
Add: -Wno-unknown-warning-option
10+
Remove: [-m*, -f*]

.engine-release.version

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Used to branch and track golden-file rendering of release branches.
2+
#
3+
# See ./testing/skia_gold_client/README.md#release-testing for more information.
4+
5+
# On the main branch, this should always read 'none'.
6+
# On release branches, this should be the release version such as '3.21'
7+
# (without the quotes).
8+
none

.github/workflows/engine-cp.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
run: |
3131
echo "COMMIT_SHA=$(echo ${{ github.event.pull_request.merge_commit_sha }})" >> $GITHUB_ENV
3232
- name: Checkout Flutter Engine Repo
33-
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
33+
uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f
3434
with:
3535
repository: flutteractionsbot/engine
3636
path: engine

.github/workflows/scorecards-analysis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
id-token: write
2323
steps:
2424
- name: "Checkout code"
25-
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
25+
uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f
2626
with:
2727
persist-credentials: false
2828
- name: "Run analysis"
@@ -41,7 +41,7 @@ jobs:
4141

4242
# Upload the results as artifacts (optional).
4343
- name: "Upload artifact"
44-
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3
44+
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808
4545
with:
4646
name: SARIF file
4747
path: results.sarif

.github/workflows/third_party_scan.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,17 @@ jobs:
2121
contents: read
2222
steps:
2323
- name: "Checkout code"
24-
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
24+
uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f
2525
with:
2626
persist-credentials: false
2727
- name: "setup python"
28-
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c
28+
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d
2929
with:
3030
python-version: '3.7.7' # install the python version needed
3131
- name: "extract deps, find commit hash, pass to osv-scanner"
3232
run: python ci/scan_deps.py --output osv-lockfile-${{github.sha}}.json
3333
- name: "upload osv-scanner deps"
34-
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3
34+
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808
3535
with:
3636
# use github.ref in name to avoid duplicated artifacts
3737
name: osv-lockfile-${{github.sha}}
@@ -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}}

.gitignore

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ xcuserdata
3434
*.log
3535
*.pyc
3636
*.swp
37-
.DS_Store
3837
.atom/
3938
.buildlog/
4039
.history
@@ -76,7 +75,6 @@ unlinked_spec.ds
7675
**/android/gradlew
7776
**/android/gradlew.bat
7877
**/android/local.properties
79-
**/android/**/GeneratedPluginRegistrant.java
8078
**/android/key.properties
8179
*.jks
8280

@@ -131,11 +129,19 @@ app.*.symbols
131129
# Prebuilt binaries.
132130
/prebuilts/
133131

132+
# TODO(67373): This entry is temporarily disabled, but can be restored once the
133+
# buildmoot is completed.
134134
# GN build support for protobufs vended by Fuchsia.
135-
/build/secondary/third_party/protobuf
135+
# /build/secondary/third_party/protobuf
136+
137+
# Build tools vended from CIPD
138+
/buildtools
136139

137140
# RBE support configurations and scripts vended from CIPD
138141
/build/rbe
139142

140143
# The test-scripts from Chromium and managed by DEPS and gclient.
141144
/tools/fuchsia/test_scripts
145+
146+
# The gn-sdk from Chromium and managed by DEPS and gclient.
147+
/tools/fuchsia/gn-sdk

BUILD.gn

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ group("flutter") {
141141
"//flutter/display_list:display_list_benchmarks",
142142
"//flutter/display_list:display_list_builder_benchmarks",
143143
"//flutter/display_list:display_list_region_benchmarks",
144+
"//flutter/display_list:display_list_transform_benchmarks",
144145
"//flutter/fml:fml_benchmarks",
145146
"//flutter/impeller/aiks:canvas_benchmarks",
146147
"//flutter/impeller/geometry:geometry_benchmarks",
@@ -154,20 +155,18 @@ group("flutter") {
154155
(is_ios || is_android)) {
155156
public_deps += [ "//flutter/testing/scenario_app" ]
156157
}
157-
158-
if (is_android && flutter_runtime_mode == "profile" &&
159-
current_cpu == "arm64") {
160-
public_deps += [ "//flutter/testing/android_background_image" ]
161-
}
162158
}
163159

164160
group("unittests") {
165161
testonly = true
166162

167163
public_deps = []
168164
if (is_android) {
169-
public_deps +=
170-
[ "//flutter/shell/platform/android:flutter_shell_native_unittests" ]
165+
public_deps += [
166+
"//flutter/impeller/toolkit/android:apk_unittests",
167+
"//flutter/impeller/toolkit/android:unittests",
168+
"//flutter/shell/platform/android:flutter_shell_native_unittests",
169+
]
171170
}
172171

173172
if (is_ios) {

0 commit comments

Comments
 (0)