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

Commit a4c3b41

Browse files
author
jonahwilliams
committed
Merge branch 'master' of github.com:flutter/engine into fix_perspective
2 parents 710f33c + a8a08d1 commit a4c3b41

File tree

125 files changed

+5790
-1054
lines changed

Some content is hidden

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

125 files changed

+5790
-1054
lines changed

.ci.yaml

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,19 @@ targets:
156156
fuchsia_ctl_version: version:0.0.27
157157
# ensure files from pre-production Fuchsia SDK tests are purged from cache
158158
clobber: "true"
159+
emulator_arch: "x64"
160+
timeout: 60
161+
162+
- name: Linux Fuchsia arm64 FEMU
163+
recipe: engine/femu_test
164+
bringup: true
165+
properties:
166+
add_recipes_cq: "true"
167+
build_fuchsia: "true"
168+
fuchsia_ctl_version: version:0.0.27
169+
# ensure files from pre-production Fuchsia SDK tests are purged from cache
170+
clobber: "true"
171+
emulator_arch: "arm64"
159172
timeout: 60
160173

161174
- name: Linux Framework Smoke Tests
@@ -168,6 +181,8 @@ targets:
168181
- name: Linux Host Engine
169182
recipe: engine/engine
170183
properties:
184+
gclient_variables: >-
185+
{"download_emsdk": true}
171186
add_recipes_cq: "true"
172187
build_host: "true"
173188
timeout: 60
@@ -273,7 +288,7 @@ targets:
273288
dependencies: >-
274289
[
275290
{"dependency": "chrome_and_driver", "version": "version:107.0"},
276-
{"dependency": "firefox", "version": "version:83.0"},
291+
{"dependency": "firefox", "version": "version:106.0"},
277292
{"dependency": "goldctl", "version": "git_revision:3a77d0b12c697a840ca0c7705208e8622dc94603"}
278293
]
279294
timeout: 60
@@ -324,6 +339,8 @@ targets:
324339
- name: Mac Host Engine
325340
recipe: engine/engine
326341
properties:
342+
gclient_variables: >-
343+
{"download_emsdk": true}
327344
add_recipes_cq: "true"
328345
build_host: "true"
329346
jazzy_version: "0.14.1"
@@ -473,6 +490,8 @@ targets:
473490
recipe: engine/engine
474491
timeout: 60
475492
properties:
493+
gclient_variables: >-
494+
{"download_emsdk": true}
476495
add_recipes_cq: "true"
477496
build_host: "true"
478497

.github/workflows/scorecards-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ permissions: read-all
1111
jobs:
1212
vuln-scan:
1313
name: Vulnerability scanning
14-
runs-on: ubuntu-latest
14+
runs-on: ubuntu-20.04
1515
if: ${{ github.repository == 'flutter/engine' }}
1616
steps:
1717
- name: "Checkout code"

DEPS

Lines changed: 21 additions & 17 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': '6f65f0631e5aba06582c59502b1274f8714fa127',
21+
'skia_revision': '28c1bbab82b82932bf653959fbc465acff56d905',
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.
@@ -48,7 +48,7 @@ vars = {
4848
# Dart is: https://github.com/dart-lang/sdk/blob/main/DEPS
4949
# You can use //tools/dart/create_updated_flutter_deps.py to produce
5050
# updated revision list of existing dependencies.
51-
'dart_revision': 'eddf73d661193f21e8db15d6530d049498712f40',
51+
'dart_revision': '6b7e44ae494ba6a8520fca78d75f297ecaaae043',
5252

5353
# WARNING: DO NOT EDIT MANUALLY
5454
# The lines between blank lines above and below are generated by a script. See create_updated_flutter_deps.py
@@ -58,12 +58,12 @@ vars = {
5858
'dart_browser_launcher_rev': '5fa0bd6cddc33785f43c920576fc03dcee1c3caa',
5959
'dart_clock_rev': '8a8231fa7912d84c7e99236b7800cfbef5ea7ae5',
6060
'dart_collection_rev': 'efd709fc1760a595f8575f4137a1847de1b49d76',
61-
'dart_devtools_rev': '23444af89d716818f099974df3e4fffac87fd886',
62-
'dart_protobuf_rev': 'ae90e53cd690edbfc72fa6c293fdb7b4a09ee0a2',
63-
'dart_pub_rev': '6ac42d7644dedfcc500147ab47886eecab4b1b38',
61+
'dart_devtools_rev': 'dd3fade2bd2ef74fc6102e56333a48f0efc594d3',
62+
'dart_protobuf_rev': 'c181573c330ff0337db0bab5501deda3a42ba028',
63+
'dart_pub_rev': '867ad175d81713c4e70473b1ab32107547cbdc3e',
6464
'dart_root_certificates_rev': '692f6d6488af68e0121317a9c2c9eb393eb0ee50',
6565
'dart_watcher_rev': '32591071a83f632478e702f67e29de6e54428ce9',
66-
'dart_webdev_rev': '3ec168f6815af9d5f11278111d147bc82c0755c3',
66+
'dart_webdev_rev': '637b406f325669507b5c1048c19a7c0083c1bd6e',
6767
'dart_webkit_inspection_protocol_rev': 'ddb624cd85954dd384056cc253a8fc2b9da5364d',
6868
'dart_yaml_edit_rev': '299f74594ff9fda412c1da5c0b5d5231d0c6fc42',
6969
'dart_zlib_rev': '27c2f474b71d0d20764f86f60ef8b00da1a16cda',
@@ -148,6 +148,7 @@ vars = {
148148
"upstream_http_parser": "https://github.com/dart-lang/http_parser.git",
149149
"upstream_http": "https://github.com/dart-lang/http.git",
150150
"upstream_icu": "https://github.com/unicode-org/icu.git",
151+
"upstream_intl": "https://github.com/dart-lang/intl.git",
151152
"upstream_imgui": "https://github.com/ocornut/imgui.git",
152153
"upstream_inja": "https://github.com/pantor/inja.git",
153154
"upstream_json": "https://github.com/nlohmann/json.git",
@@ -235,7 +236,7 @@ allowed_hosts = [
235236
]
236237

237238
deps = {
238-
'src': 'https://github.com/flutter/buildroot.git' + '@' + 'f63462fc605c94da9301d7263ce1b1f53bf4188a',
239+
'src': 'https://github.com/flutter/buildroot.git' + '@' + '8747bce41d0dc6d9dc45c4d1b46d2100bb9ee688',
239240

240241
# Fuchsia compatibility
241242
#
@@ -268,7 +269,7 @@ deps = {
268269
Var('github_git') + '/google/flatbuffers.git' + '@' + '0a80646371179f8a7a5c1f42c31ee1d44dcf6709',
269270

270271
'src/third_party/icu':
271-
Var('chromium_git') + '/chromium/deps/icu.git' + '@' + 'da07448619763d1cde255b361324242646f5b268',
272+
Var('chromium_git') + '/chromium/deps/icu.git' + '@' + '1b7d391f0528fb3a4976b7541b387ee04f915f83',
272273

273274
'src/third_party/khronos':
274275
Var('chromium_git') + '/chromium/src/third_party/khronos.git' + '@' + '676d544d2b8f48903b7da9fceffaa534a5613978',
@@ -300,7 +301,7 @@ deps = {
300301
Var('chromium_git') + '/external/github.com/WebAssembly/binaryen.git@ec53f4b2d5b0d52ae703c5b696ecf052ad5fffbb',
301302

302303
'src/third_party/dart/third_party/devtools':
303-
{'packages': [{'version': 'git_revision:23444af89d716818f099974df3e4fffac87fd886', 'package': 'dart/third_party/flutter/devtools'}], 'dep_type': 'cipd'},
304+
{'packages': [{'version': 'git_revision:dd3fade2bd2ef74fc6102e56333a48f0efc594d3', 'package': 'dart/third_party/flutter/devtools'}], 'dep_type': 'cipd'},
304305

305306
'src/third_party/dart/third_party/pkg/args':
306307
Var('dart_git') + '/args.git@da037acc018a8dd267d109eb634454490b7ff759',
@@ -342,7 +343,7 @@ deps = {
342343
Var('dart_git') + '/dartdoc.git@dc502d0862fe1ba8451c9c57cd7ab70432634af3',
343344

344345
'src/third_party/dart/third_party/pkg/ffi':
345-
Var('dart_git') + '/ffi.git@3ede2312dd6ec37db6e7bcd6e1236647f72c7fc0',
346+
Var('dart_git') + '/ffi.git@17a8142da8114a065e03200467c7657b5368a86d',
346347

347348
'src/third_party/dart/third_party/pkg/file':
348349
Var('dart_git') + '/external/github.com/google/file.dart@b768f79dcd104a5feabafab47101c4355b71cd8f',
@@ -357,14 +358,17 @@ deps = {
357358
Var('dart_git') + '/html.git@28fb8b97acf471bedcfa4eaf38899a0f65d5e30d',
358359

359360
'src/third_party/dart/third_party/pkg/http':
360-
Var('dart_git') + '/http.git@d56141de40b69e8ae3cc22602caea6cca3fba4dc',
361+
Var('dart_git') + '/http.git@047d6ed015d397be169a7fb892d75141d9bfd58f',
361362

362363
'src/third_party/dart/third_party/pkg/http_multi_server':
363364
Var('dart_git') + '/http_multi_server.git@e31c6988e3869fb4019429254604066338f86095',
364365

365366
'src/third_party/dart/third_party/pkg/http_parser':
366367
Var('dart_git') + '/http_parser.git@c73967535ce31120e218120f70ef98cc22688c82',
367368

369+
'src/third_party/dart/third_party/pkg/intl':
370+
Var('dart_git') + '/intl.git@a127902594a964f2090239fb454adadf7c1a77ef',
371+
368372
'src/third_party/dart/third_party/pkg/json_rpc_2':
369373
Var('dart_git') + '/json_rpc_2.git@16fed53fbebd38edf170f58c1da1de2a325b2b98',
370374

@@ -375,7 +379,7 @@ deps = {
375379
Var('dart_git') + '/logging.git@f322480fb9d9e83e677c08db6d09067059f7ff74',
376380

377381
'src/third_party/dart/third_party/pkg/markdown':
378-
Var('dart_git') + '/markdown.git@37951d151750acfae756b2e466f563c1c5119b3d',
382+
Var('dart_git') + '/markdown.git@ee3f4e976efcfed87c6ec78364bc2dd3c6e717b9',
379383

380384
'src/third_party/dart/third_party/pkg/matcher':
381385
Var('dart_git') + '/matcher.git@15d4af21002ae9adee952110192a3face96307c7',
@@ -402,7 +406,7 @@ deps = {
402406
Var('dart_git') + '/pub.git' + '@' + Var('dart_pub_rev'),
403407

404408
'src/third_party/dart/third_party/pkg/pub_semver':
405-
Var('dart_git') + '/pub_semver.git@28159b8c5b96fc2709d0904389d7932880f68659',
409+
Var('dart_git') + '/pub_semver.git@17231113f98c80285881cc4452863bcfd085d1a8',
406410

407411
'src/third_party/dart/third_party/pkg/shelf':
408412
Var('dart_git') + '/shelf.git@1c2104737973715426035c11ba840c7f23d8f186',
@@ -417,7 +421,7 @@ deps = {
417421
Var('dart_git') + '/source_span.git@d1d47e550b6f77ed9b4907339a8a5e430b9ca314',
418422

419423
'src/third_party/dart/third_party/pkg/sse':
420-
Var('dart_git') + '/sse.git@283568dd4865cc51e25370ed107fcbdb68759c22',
424+
Var('dart_git') + '/sse.git@8d018dd606f1f8a957c51de16159d532ce664569',
421425

422426
'src/third_party/dart/third_party/pkg/stack_trace':
423427
Var('dart_git') + '/stack_trace.git@dce00134f6558086e8963e37d0b1ba0830862c01',
@@ -432,7 +436,7 @@ deps = {
432436
Var('dart_git') + '/term_glyph.git@822cd5b3418615c6db715a796c2c9ba9acb63b0d',
433437

434438
'src/third_party/dart/third_party/pkg/test':
435-
Var('dart_git') + '/test.git@7756833000d671d4540b37ef04acd4b9e716026f',
439+
Var('dart_git') + '/test.git@b25dac9936c2ea9605b54a3418e0c956937da48f',
436440

437441
'src/third_party/dart/third_party/pkg/test_reflective_loader':
438442
Var('dart_git') + '/test_reflective_loader.git@52b6753852661787208e003f9716b079026c7ac7',
@@ -462,7 +466,7 @@ deps = {
462466
Var('dart_git') + '/yaml_edit.git' + '@' + Var('dart_yaml_edit_rev'),
463467

464468
'src/third_party/dart/tools/sdks':
465-
{'packages': [{'version': 'version:2.18.0', 'package': 'dart/dart-sdk/${{platform}}'}], 'dep_type': 'cipd'},
469+
{'packages': [{'version': 'version:2.19.0-374.0.dev', 'package': 'dart/dart-sdk/${{platform}}'}], 'dep_type': 'cipd'},
466470

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

@@ -812,7 +816,7 @@ deps = {
812816
'packages': [
813817
{
814818
'package': 'fuchsia/sdk/core/mac-amd64',
815-
'version': 'CUPWWG1rEmonxuLpvYlS13vjzAMwYiaL2vhL6K2DnoYC'
819+
'version': 'aHgLxcRDjOQNKL7zH-uLBl9KVg7rLcHKQO1GVQ3eXpcC'
816820
}
817821
],
818822
'condition': 'host_os == "mac" and not download_fuchsia_sdk',

ci/analyze.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ echo ""
5252

5353
"$DART" analyze --fatal-infos --fatal-warnings "$FLUTTER_DIR/flutter_frontend_server"
5454

55+
(cd "$FLUTTER_DIR/tools/gen_web_locale_keymap"; "$DART" pub get)
5556
"$DART" analyze --fatal-infos --fatal-warnings "$FLUTTER_DIR/tools"
5657

5758
(cd "$FLUTTER_DIR/testing/skia_gold_client"; "$DART" pub get)

ci/licenses.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ function verify_licenses() (
121121

122122
local actualLicenseCount
123123
actualLicenseCount="$(tail -n 1 flutter/ci/licenses_golden/licenses_flutter | tr -dc '0-9')"
124-
local expectedLicenseCount=17 # When changing this number: Update the error message below as well describing all expected license types.
124+
local expectedLicenseCount=19 # When changing this number: Update the error message below as well describing all expected license types.
125125

126126
if [[ $actualLicenseCount -ne $expectedLicenseCount ]]; then
127127
echo "=============================== ERROR ==============================="

ci/licenses_golden/licenses_flutter

Lines changed: 72 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,31 @@
11
UNUSED LICENSES:
22

3-
3+
====================================================================================================
4+
ORIGIN: ../../../flutter/third_party/web_locale_keymap/License.txt
5+
TYPE: LicenseType.mit
6+
----------------------------------------------------------------------------------------------------
7+
MIT License
8+
9+
Copyright (c) 2015 - present Microsoft Corporation
10+
11+
Permission is hereby granted, free of charge, to any person obtaining a copy
12+
of this software and associated documentation files (the "Software"), to deal
13+
in the Software without restriction, including without limitation the rights
14+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
15+
copies of the Software, and to permit persons to whom the Software is
16+
furnished to do so, subject to the following conditions:
17+
18+
The above copyright notice and this permission notice shall be included in all
19+
copies or substantial portions of the Software.
20+
21+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
22+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
23+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
24+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
25+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
26+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
27+
SOFTWARE.
28+
====================================================================================================
429
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
530
USED LICENSES:
631

@@ -565,6 +590,35 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
565590
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
566591
====================================================================================================
567592

593+
====================================================================================================
594+
LIBRARY: web_locale_keymap
595+
ORIGIN: ../../../flutter/third_party/web_locale_keymap/lib/web_locale_keymap/key_mappings.g.dart + ../../../flutter/third_party/web_locale_keymap/License.txt
596+
TYPE: LicenseType.mit
597+
FILE: ../../../flutter/third_party/web_locale_keymap/lib/web_locale_keymap.dart
598+
FILE: ../../../flutter/third_party/web_locale_keymap/lib/web_locale_keymap/key_mappings.g.dart
599+
FILE: ../../../flutter/third_party/web_locale_keymap/lib/web_locale_keymap/locale_keymap.dart
600+
----------------------------------------------------------------------------------------------------
601+
Copyright (c) 2022 Google LLC
602+
603+
Permission is hereby granted, free of charge, to any person obtaining a copy
604+
of this software and associated documentation files (the "Software"), to deal
605+
in the Software without restriction, including without limitation the rights
606+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
607+
copies of the Software, and to permit persons to whom the Software is
608+
furnished to do so, subject to the following conditions:
609+
610+
The above copyright notice and this permission notice shall be included in all
611+
copies or substantial portions of the Software.
612+
613+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
614+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
615+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
616+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
617+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
618+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
619+
SOFTWARE.
620+
====================================================================================================
621+
568622
====================================================================================================
569623
LIBRARY: accessibility
570624
ORIGIN: ../../../flutter/third_party/accessibility/ax/ax_export.h + ../../../LICENSE
@@ -1594,15 +1648,26 @@ FILE: ../../../flutter/impeller/scene/camera.cc
15941648
FILE: ../../../flutter/impeller/scene/camera.h
15951649
FILE: ../../../flutter/impeller/scene/geometry.cc
15961650
FILE: ../../../flutter/impeller/scene/geometry.h
1651+
FILE: ../../../flutter/impeller/scene/importer/importer.h
1652+
FILE: ../../../flutter/impeller/scene/importer/importer_gltf.cc
1653+
FILE: ../../../flutter/impeller/scene/importer/importer_main.cc
1654+
FILE: ../../../flutter/impeller/scene/importer/mesh.fbs
1655+
FILE: ../../../flutter/impeller/scene/importer/switches.cc
1656+
FILE: ../../../flutter/impeller/scene/importer/switches.h
1657+
FILE: ../../../flutter/impeller/scene/importer/types.h
15971658
FILE: ../../../flutter/impeller/scene/material.cc
15981659
FILE: ../../../flutter/impeller/scene/material.h
15991660
FILE: ../../../flutter/impeller/scene/scene.cc
16001661
FILE: ../../../flutter/impeller/scene/scene.h
1662+
FILE: ../../../flutter/impeller/scene/scene_context.cc
1663+
FILE: ../../../flutter/impeller/scene/scene_context.h
16011664
FILE: ../../../flutter/impeller/scene/scene_encoder.cc
16021665
FILE: ../../../flutter/impeller/scene/scene_encoder.h
16031666
FILE: ../../../flutter/impeller/scene/scene_entity.cc
16041667
FILE: ../../../flutter/impeller/scene/scene_entity.h
16051668
FILE: ../../../flutter/impeller/scene/scene_unittests.cc
1669+
FILE: ../../../flutter/impeller/scene/shaders/geometry.vert
1670+
FILE: ../../../flutter/impeller/scene/shaders/unlit.frag
16061671
FILE: ../../../flutter/impeller/scene/static_mesh_entity.cc
16071672
FILE: ../../../flutter/impeller/scene/static_mesh_entity.h
16081673
FILE: ../../../flutter/impeller/tessellator/c/tessellator.cc
@@ -1716,7 +1781,11 @@ FILE: ../../../flutter/lib/ui/painting/image_descriptor.h
17161781
FILE: ../../../flutter/lib/ui/painting/image_dispose_unittests.cc
17171782
FILE: ../../../flutter/lib/ui/painting/image_encoding.cc
17181783
FILE: ../../../flutter/lib/ui/painting/image_encoding.h
1784+
FILE: ../../../flutter/lib/ui/painting/image_encoding_impeller.cc
1785+
FILE: ../../../flutter/lib/ui/painting/image_encoding_impeller.h
17191786
FILE: ../../../flutter/lib/ui/painting/image_encoding_impl.h
1787+
FILE: ../../../flutter/lib/ui/painting/image_encoding_skia.cc
1788+
FILE: ../../../flutter/lib/ui/painting/image_encoding_skia.h
17201789
FILE: ../../../flutter/lib/ui/painting/image_encoding_unittests.cc
17211790
FILE: ../../../flutter/lib/ui/painting/image_filter.cc
17221791
FILE: ../../../flutter/lib/ui/painting/image_filter.h
@@ -3115,6 +3184,7 @@ FILE: ../../../flutter/shell/platform/windows/client_wrapper/include/flutter/plu
31153184
FILE: ../../../flutter/shell/platform/windows/client_wrapper/plugin_registrar_windows_unittests.cc
31163185
FILE: ../../../flutter/shell/platform/windows/cursor_handler.cc
31173186
FILE: ../../../flutter/shell/platform/windows/cursor_handler.h
3187+
FILE: ../../../flutter/shell/platform/windows/cursor_handler_unittests.cc
31183188
FILE: ../../../flutter/shell/platform/windows/direct_manipulation.cc
31193189
FILE: ../../../flutter/shell/platform/windows/direct_manipulation.h
31203190
FILE: ../../../flutter/shell/platform/windows/direct_manipulation_unittests.cc
@@ -3766,4 +3836,4 @@ shall not be used in advertising or otherwise to promote the sale,
37663836
use or other dealings in these Data Files or Software without prior
37673837
written authorization of the copyright holder.
37683838
====================================================================================================
3769-
Total license count: 17
3839+
Total license count: 19

0 commit comments

Comments
 (0)