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

Commit 45a9a1e

Browse files
authored
Merge branch 'main' into engine-cleanup-run-android-jni-windows
2 parents 44ee1c9 + b87c1b3 commit 45a9a1e

File tree

726 files changed

+22645
-9222
lines changed

Some content is hidden

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

726 files changed

+22645
-9222
lines changed

.ci.yaml

Lines changed: 54 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ platform_properties:
5353
]
5454
device_type: none
5555
cpu: x86
56-
os: Mac-12
56+
os: Mac-12|Mac-13
5757
# TODO(vashworth): Remove specific toolchain_ver once https://github.com/flutter/flutter/issues/138109 is resolved.
5858
$flutter/osx_sdk : >-
5959
{
@@ -88,11 +88,14 @@ targets:
8888
- name: Linux linux_android_emulator_tests
8989
enabled_branches:
9090
- main
91-
recipe: engine_v2/builder
92-
presubmit: false
91+
recipe: engine_v2/engine_v2
9392
properties:
9493
config_name: linux_android_emulator
9594
timeout: 60
95+
runIf:
96+
- .ci.yaml
97+
- lib/ui/**
98+
- shell/platform/android/**
9699

97100
- name: Linux builder_cache
98101
enabled_branches:
@@ -161,6 +164,25 @@ targets:
161164
config_name: linux_benchmarks
162165
timeout: 60
163166

167+
- name: Linux Fuchsia
168+
bringup: true
169+
recipe: engine/engine
170+
properties:
171+
build_fuchsia: "true"
172+
fuchsia_ctl_version: version:0.0.27
173+
# ensure files from pre-production Fuchsia SDK tests are purged from cache
174+
clobber: "true"
175+
timeout: 90
176+
# TODO(https://github.com/flutter/flutter/issues/138559): Re-enable/delete.
177+
# runIfNot:
178+
# - lib/web_ui/**
179+
# - shell/platform/android/**
180+
# - shell/platform/darwin/**
181+
# - shell/platform/glfw/**
182+
# - shell/platform/linux/**
183+
# - shell/platform/windows/**
184+
# - web_sdk/**
185+
164186
- name: Linux Fuchsia FEMU
165187
recipe: engine/femu_test
166188
properties:
@@ -172,14 +194,15 @@ targets:
172194
emulator_arch: "x64"
173195
enable_cso: "true"
174196
timeout: 60
175-
runIfNot:
176-
- lib/web_ui/**
177-
- shell/platform/android/**
178-
- shell/platform/darwin/**
179-
- shell/platform/glfw/**
180-
- shell/platform/linux/**
181-
- shell/platform/windows/**
182-
- web_sdk/**
197+
# TODO(https://github.com/flutter/flutter/issues/138559): Re-enable/delete.
198+
# runIfNot:
199+
# - lib/web_ui/**
200+
# - shell/platform/android/**
201+
# - shell/platform/darwin/**
202+
# - shell/platform/glfw/**
203+
# - shell/platform/linux/**
204+
# - shell/platform/windows/**
205+
# - web_sdk/**
183206

184207
- name: Linux Fuchsia arm64 FEMU
185208
recipe: engine/femu_test
@@ -192,14 +215,15 @@ targets:
192215
enable_cso: "true"
193216
timeout: 60
194217
bringup: true
195-
runIfNot:
196-
- lib/web_ui/**
197-
- shell/platform/android/**
198-
- shell/platform/darwin/**
199-
- shell/platform/glfw/**
200-
- shell/platform/linux/**
201-
- shell/platform/windows/**
202-
- web_sdk/**
218+
# TODO(https://github.com/flutter/flutter/issues/138559): Re-enable/delete.
219+
# runIfNot:
220+
# - lib/web_ui/**
221+
# - shell/platform/android/**
222+
# - shell/platform/darwin/**
223+
# - shell/platform/glfw/**
224+
# - shell/platform/linux/**
225+
# - shell/platform/windows/**
226+
# - web_sdk/**
203227

204228
- name: Linux linux_fuchsia
205229
recipe: engine_v2/engine_v2
@@ -209,14 +233,15 @@ targets:
209233
config_name: linux_fuchsia
210234
drone_dimensions:
211235
- os=Linux
212-
runIfNot:
213-
- lib/web_ui/**
214-
- shell/platform/android/**
215-
- shell/platform/darwin/**
216-
- shell/platform/glfw/**
217-
- shell/platform/linux/**
218-
- shell/platform/windows/**
219-
- web_sdk/**
236+
# TODO(https://github.com/flutter/flutter/issues/138559): Re-enable/delete.
237+
# runIfNot:
238+
# - lib/web_ui/**
239+
# - shell/platform/android/**
240+
# - shell/platform/darwin/**
241+
# - shell/platform/glfw/**
242+
# - shell/platform/linux/**
243+
# - shell/platform/windows/**
244+
# - web_sdk/**
220245

221246
- name: Linux Framework Smoke Tests
222247
recipe: engine/framework_smoke
@@ -440,7 +465,7 @@ targets:
440465
"toolchain_ver_intel": "Zp2HmSx7_-pu-yHqYqzoEpo0JRwNZGGwSj5V1SnLFmoC"
441466
}
442467
drone_dimensions:
443-
- os=Mac-12
468+
- os=Mac-12|Mac-13
444469

445470
- name: Linux mac_unopt
446471
recipe: engine_v2/engine_v2
@@ -464,7 +489,7 @@ targets:
464489
"toolchain_ver_intel": "Zp2HmSx7_-pu-yHqYqzoEpo0JRwNZGGwSj5V1SnLFmoC"
465490
}
466491
drone_dimensions:
467-
- os=Mac-12
492+
- os=Mac-12|Mac-13
468493
- cpu=x86
469494

470495
- name: Mac impeller-cmake-example

.clang-tidy

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,19 @@ CheckOptions:
4545
- key: readability-identifier-naming.PrivateMemberSuffix
4646
value: "_"
4747

48-
# Lint headers within paths that contain "/flutter/" but not:
49-
# - gen (generated code, the fact it compiles is good enough™)
50-
# - third_party (we didn't author most of the code, and can't fix the lints)
48+
# Intended to include (lint) all headers except:
49+
# ... those in ../../gen (generated files don't need to follow clang tidy)
50+
# ... those in flutter/third_party (we didn't author this code, it's a dep)
5151
#
52-
# Note this is because of our buildroot setup, so the full path of a lint is:
53-
# "../../flutter/impeller/core/runtime_types.h:1:1" as reported.
54-
HeaderFilterRegex: "(!third_party/)(!gen/).*/flutter/.*"
52+
# Unfortunately Clang Tidy uses an ancient version of regular expressions
53+
# without lookaheads, so the next best thing is to write out every directory
54+
# except third_party.
55+
#
56+
# If we ever add a new root directory, we'll have to update this expression.
57+
#
58+
# See the test in ./tools/clang_tidy/test/header_filter_regex_test.dart which
59+
# should theoretically catch if new directories are added but this regex is not
60+
# updated.
61+
#
62+
# tl;dr: I'm sorry.
63+
HeaderFilterRegex: "[..\/]+\/flutter\/(assets|benchmarking|build|ci|common|display_list|docs|examples|flow|flutter_frontend_server|flutter_vma|fml|impeller|lib|runtime|shell|skia|sky|testing|tools|vulkan|wasm|web_sdk)\/.*"

BUILD.gn

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ group("flutter") {
125125
"//flutter/display_list:display_list_builder_benchmarks",
126126
"//flutter/display_list:display_list_region_benchmarks",
127127
"//flutter/fml:fml_benchmarks",
128+
"//flutter/impeller/aiks:canvas_benchmarks",
128129
"//flutter/impeller/geometry:geometry_benchmarks",
129130
"//flutter/lib/ui:ui_benchmarks",
130131
"//flutter/shell/common:shell_benchmarks",

DEPS

Lines changed: 29 additions & 35 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': '5d6bdbf69dea844b24af2c6947bf74ddcc0627e3',
21+
'skia_revision': '540d76ea74f84473839fdebe0fb3ca4a55d8c6dd',
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.
@@ -59,7 +59,7 @@ vars = {
5959
# Dart is: https://github.com/dart-lang/sdk/blob/main/DEPS
6060
# You can use //tools/dart/create_updated_flutter_deps.py to produce
6161
# updated revision list of existing dependencies.
62-
'dart_revision': '65819963fb174f8732005b2234a24bc06758b8ea',
62+
'dart_revision': '67f7a2c2559a97c1125a56381e74ab3a46925535',
6363

6464
# WARNING: DO NOT EDIT MANUALLY
6565
# The lines between blank lines above and below are generated by a script. See create_updated_flutter_deps.py
@@ -68,17 +68,17 @@ vars = {
6868
'dart_boringssl_rev': '74646566e93de7551bfdfc5f49de7462f13d1d05',
6969
'dart_browser_launcher_rev': 'f60df1d9b1f7b90e4eaeedccc3952fdd6ffba28a',
7070
'dart_clock_rev': 'f975668839f45bad561d6227f88297bbbcff03fa',
71-
'dart_collection_rev': 'f309148623c4755ce9d6c00850092458325058ca',
72-
'dart_devtools_rev': 'fec80c6e29b627aa17e8b15f72cb4013a28d14ec',
71+
'dart_collection_rev': '2d57a82ad079fe2d127f5a9b188170de2f5cdedc',
72+
'dart_devtools_rev': '27795d615e1878ccf5f55c4b90d611e2628a8618',
7373
'dart_libprotobuf_rev': '24487dd1045c7f3d64a21f38a3f0c06cc4cf2edb',
7474
'dart_perfetto_rev': '13ce0c9e13b0940d2476cd0cff2301708a9a2e2b',
7575
'dart_protobuf_gn_rev': 'ca669f79945418f6229e4fef89b666b2a88cbb10',
7676
'dart_protobuf_rev': 'dcec2eda9db4e6728e900928aa2e46944ba4fa6f',
77-
'dart_pub_rev': 'fca927ae2662204805e1646c0c0687369001a41a',
77+
'dart_pub_rev': '1779628b386819675130f14326f1e8812901c48f',
7878
'dart_root_certificates_rev': '692f6d6488af68e0121317a9c2c9eb393eb0ee50',
79-
'dart_tools_rev': '2e36b8d326e95ed256a74ee2ebdcfff5be502c57',
80-
'dart_watcher_rev': 'b2b278ae4198b4c431a145ddcfdab1460d5f9ec5',
81-
'dart_webdev_rev': '6961b202c343e12893e6c664ef70336b7c3845c3',
79+
'dart_tools_rev': 'c63dcb5e93d4a222da0c52960bb6688030ddabc3',
80+
'dart_watcher_rev': 'dc45f1925f66743ff29b9dcbb4693a7ec25945c5',
81+
'dart_webdev_rev': '63e09e5060813a971ec0f95472613d6958f75b95',
8282
'dart_webkit_inspection_protocol_rev': '667c55e6f65638592768e0325b75420e39b01d2e',
8383
'dart_yaml_edit_rev': '9b9d33c5255798c950e843efe19e6f81a225ad28',
8484
'dart_zlib_rev': '14dd4c4455602c9b71a1a89b5cafd1f4030d2e3f',
@@ -285,7 +285,7 @@ deps = {
285285
Var('fuchsia_git') + '/third_party/glfw' + '@' + 'dd8a678a66f1967372e5a5e3deac41ebf65ee127',
286286

287287
'src/flutter/third_party/shaderc':
288-
Var('chromium_git') + '/external/github.com/google/shaderc' + '@' + '7ea834ecc59258a5c13c3d3e6fa0582bdde7c543',
288+
Var('chromium_git') + '/external/github.com/google/shaderc' + '@' + '37e25539ce199ecaf19fb7f7d27818716d36686d',
289289

290290
'src/third_party/vulkan-deps':
291291
Var('chromium_git') + '/vulkan-deps' + '@' + '40b75117a60b11c42a1fb87bf14c0f49bcdb8b3d',
@@ -303,7 +303,7 @@ deps = {
303303
Var('chromium_git') + '/external/github.com/google/benchmark' + '@' + '431abd149fd76a072f821913c0340137cc755f36',
304304

305305
'src/third_party/googletest':
306-
Var('chromium_git') + '/external/github.com/google/googletest' + '@' + '054a986a8513149e8374fc669a5fe40117ca6b41',
306+
Var('chromium_git') + '/external/github.com/google/googletest' + '@' + '7f036c5563af7d0329f20e8bb42effb04629f0c0',
307307

308308
'src/third_party/boringssl':
309309
Var('dart_git') + '/boringssl_gen.git' + '@' + Var('dart_boringssl_gen_rev'),
@@ -333,7 +333,7 @@ deps = {
333333
Var('chromium_git') + '/external/github.com/WebAssembly/binaryen.git@a51bd6df919a5b79574f0996a760cc20cb05697e',
334334

335335
'src/third_party/dart/third_party/devtools':
336-
{'dep_type': 'cipd', 'packages': [{'package': 'dart/third_party/flutter/devtools', 'version': 'git_revision:fec80c6e29b627aa17e8b15f72cb4013a28d14ec'}]},
336+
{'dep_type': 'cipd', 'packages': [{'package': 'dart/third_party/flutter/devtools', 'version': 'git_revision:27795d615e1878ccf5f55c4b90d611e2628a8618'}]},
337337

338338
'src/third_party/dart/third_party/pkg/args':
339339
Var('dart_git') + '/args.git@46d5033377d277d70bc6ec68504730b9384b1db1',
@@ -369,7 +369,7 @@ deps = {
369369
Var('dart_git') + '/csslib.git@17346e528b19c09b2d20589e0ffa0f01a5ad54ad',
370370

371371
'src/third_party/dart/third_party/pkg/dart_style':
372-
Var('dart_git') + '/dart_style.git@2cee560f2025f8bd5dce3fd5f4c4b5cf5335a10b',
372+
Var('dart_git') + '/dart_style.git@8b1f24a8475a0116757172cd9acca4acbf87d973',
373373

374374
'src/third_party/dart/third_party/pkg/dartdoc':
375375
Var('dart_git') + '/dartdoc.git@53da3e1dd1802c5899352fce251ea0c385a827b0',
@@ -414,16 +414,16 @@ deps = {
414414
Var('dart_git') + '/markdown.git@3774ad02e812ceeb32ad0d98a987b0acffa63cf6',
415415

416416
'src/third_party/dart/third_party/pkg/matcher':
417-
Var('dart_git') + '/matcher.git@3d03fa1a3e8f166b9e2ec8557c5d5e83ae1c85bc',
417+
Var('dart_git') + '/matcher.git@fcbd3616c1dbe636d22d2b164aee3f1c32c52a42',
418418

419419
'src/third_party/dart/third_party/pkg/mime':
420420
Var('dart_git') + '/mime.git@8ebf9463a7a230213cee0adc3c019dad78d364ac',
421421

422422
'src/third_party/dart/third_party/pkg/mockito':
423-
Var('dart_git') + '/mockito.git@fcb9779f8e8a15b2ca1757611b3e32a84e24c7ed',
423+
Var('dart_git') + '/mockito.git@fb8a2b5731553f5ed22107e1a0f7af8918d28442',
424424

425425
'src/third_party/dart/third_party/pkg/native':
426-
Var('dart_git') + '/native.git@eaea725b0939815e7d007a34808a7293b179a2ad',
426+
Var('dart_git') + '/native.git@5aeab2915167fd24ccb1241c07516b388fda2b9b',
427427

428428
'src/third_party/dart/third_party/pkg/package_config':
429429
Var('dart_git') + '/package_config.git@33dd24659147bd7ed2fa87aeacc52d199be766b4',
@@ -453,13 +453,13 @@ deps = {
453453
Var('dart_git') + '/source_maps.git@87dc58736b5bd334502005cdbd4d325aba9bc696',
454454

455455
'src/third_party/dart/third_party/pkg/source_span':
456-
Var('dart_git') + '/source_span.git@ed16e0d1323f15e478027430b53e0ef0dbc25a83',
456+
Var('dart_git') + '/source_span.git@9398e2464e24d2f15cccfa1199381a6247403829',
457457

458458
'src/third_party/dart/third_party/pkg/sse':
459-
Var('dart_git') + '/sse.git@8ddb95fbe7c07d91aee92f35f70ac5c839f82c35',
459+
Var('dart_git') + '/sse.git@1df63f2dcea3fa2e57b46b47a8e043c8b2796a2e',
460460

461461
'src/third_party/dart/third_party/pkg/stack_trace':
462-
Var('dart_git') + '/stack_trace.git@6496ff88cf5c168c2548a454160c27004d176009',
462+
Var('dart_git') + '/stack_trace.git@4abff4489b93e6bbc82063343e666ccda9f62e8e',
463463

464464
'src/third_party/dart/third_party/pkg/stream_channel':
465465
Var('dart_git') + '/stream_channel.git@178104d0f1316b0120cf0031b8dbae0cbfec4c26',
@@ -468,13 +468,13 @@ deps = {
468468
Var('dart_git') + '/string_scanner.git@a7105ef03ed8373c7d995461fcf4994a6f4e781d',
469469

470470
'src/third_party/dart/third_party/pkg/tar':
471-
Var('dart_git') + '/external/github.com/simolus3/tar.git@3383397b082c084c327587a293591fac74bc8af3',
471+
Var('dart_git') + '/external/github.com/simolus3/tar.git@0fc831c6e93be5342d4863d9e464428e73007cce',
472472

473473
'src/third_party/dart/third_party/pkg/term_glyph':
474474
Var('dart_git') + '/term_glyph.git@7c1eb9d799a3cbbc554c3a283af4d6cee9043297',
475475

476476
'src/third_party/dart/third_party/pkg/test':
477-
Var('dart_git') + '/test.git@8ba0940d24e36b9276a18b34cd8d6fe396d2c172',
477+
Var('dart_git') + '/test.git@a0a4d1ee1a7b27a28a87e519722198272e64aae8',
478478

479479
'src/third_party/dart/third_party/pkg/test_reflective_loader':
480480
Var('dart_git') + '/test_reflective_loader.git@17d40bb06f55f727a79c0f0016d7510294f5db03',
@@ -492,7 +492,7 @@ deps = {
492492
Var('dart_git') + '/watcher.git' + '@' + Var('dart_watcher_rev'),
493493

494494
'src/third_party/dart/third_party/pkg/web_socket_channel':
495-
Var('dart_git') + '/web_socket_channel.git@82ac73fef05c474095c740a9525b4cfb61611c3d',
495+
Var('dart_git') + '/web_socket_channel.git@5241175e7c66271850d6e75fb9ec90068f9dd3c4',
496496

497497
'src/third_party/dart/third_party/pkg/webdev':
498498
Var('dart_git') + '/webdev.git' + '@' + Var('dart_webdev_rev'),
@@ -618,7 +618,7 @@ deps = {
618618
'src/third_party/colorama/src':
619619
Var('chromium_git') + '/external/colorama.git' + '@' + '799604a1041e9b3bc5d2789ecbd7e8db2e18e6b8',
620620

621-
'src/third_party/expat':
621+
'src/flutter/third_party/expat':
622622
Var('chromium_git') + '/external/github.com/libexpat/libexpat.git' + '@' + '654d2de0da85662fcc7644a7acd7c2dd2cfb21f0',
623623

624624
'src/third_party/freetype2':
@@ -630,27 +630,21 @@ deps = {
630630
'src/flutter/third_party/skia':
631631
Var('skia_git') + '/skia.git' + '@' + Var('skia_revision'),
632632

633-
'src/third_party/ocmock':
633+
'src/flutter/third_party/ocmock':
634634
Var('ocmock_git') + '@' + Var('ocmock_rev'),
635635

636-
'src/third_party/libjpeg-turbo':
636+
'src/flutter/third_party/libjpeg-turbo/src':
637637
Var('fuchsia_git') + '/third_party/libjpeg-turbo' + '@' + '0fb821f3b2e570b2783a94ccd9a2fb1f4916ae9f',
638638

639639
'src/third_party/libpng':
640640
Var('flutter_git') + '/third_party/libpng' + '@' + '9187b6e12756317f6d44fc669ac11dfc262bd192',
641641

642-
'src/third_party/libwebp':
642+
'src/flutter/third_party/libwebp':
643643
Var('chromium_git') + '/webm/libwebp.git' + '@' + '2af26267cdfcb63a88e5c74a85927a12d6ca1d76', # 1.3.1
644644

645-
'src/third_party/wuffs':
645+
'src/flutter/third_party/wuffs':
646646
Var('skia_git') + '/external/github.com/google/wuffs-mirror-release-c.git' + '@' + '600cd96cf47788ee3a74b40a6028b035c9fd6a61',
647647

648-
'src/third_party/fontconfig/src':
649-
Var('chromium_git') + '/external/fontconfig.git' + '@' + 'c336b8471877371f0190ba06f7547c54e2b890ba',
650-
651-
'src/third_party/fontconfig':
652-
Var('flutter_git') + '/third_party/fontconfig' + '@' + '81c83d510ae3aa75589435ce32a5de05139aacb0',
653-
654648
'src/third_party/libxml':
655649
Var('flutter_git') + '/third_party/libxml' + '@' + 'a143e452b5fc7d872813eeadc8db421694058098',
656650

@@ -666,7 +660,7 @@ deps = {
666660
'src/flutter/third_party/sqlite':
667661
Var('flutter_git') + '/third_party/sqlite' + '@' + '0f61bd2023ba94423b4e4c8cfb1a23de1fe6a21c',
668662

669-
'src/third_party/pyyaml':
663+
'src/flutter/third_party/pyyaml':
670664
Var('fuchsia_git') + '/third_party/pyyaml.git' + '@' + '25e97546488eee166b1abb229a27856cecd8b7ac',
671665

672666
'src/third_party/swiftshader':
@@ -683,7 +677,7 @@ deps = {
683677

684678
# Dart packages
685679
'src/flutter/third_party/pkg/archive':
686-
Var('github_git') + '/brendan-duncan/archive.git' + '@' + '9de7a0544457c6aba755ccb65abb41b0dc1db70d', # 3.1.2
680+
Var('chromium_git') + '/external/github.com/brendan-duncan/archive.git' + '@' + '9de7a0544457c6aba755ccb65abb41b0dc1db70d', # 3.1.2
687681

688682
'src/flutter/third_party/pkg/equatable':
689683
Var('github_git') + '/felangel/equatable.git' + '@' + '2117551ff3054f8edb1a58f63ffe1832a8d25623', # 2.0.5
@@ -950,7 +944,7 @@ deps = {
950944
'packages': [
951945
{
952946
'package': 'fuchsia/sdk/core/linux-amd64',
953-
'version': 'AuDKY8ob6GrGwDlmkuZkhV3xya4Bi_y2UouDFwuhNu0C'
947+
'version': 'CGyrUgA1M1yFx5N5C1aFQ_Q4Y5uP_FhxctN_UCZ9BugC'
954948
}
955949
],
956950
'condition': 'host_os == "linux" and not download_fuchsia_sdk',

build/secondary/third_party/expat/BUILD.gn renamed to build/secondary/flutter/third_party/expat/BUILD.gn

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
config("expat_config") {
66
include_dirs = [
77
"expat/lib",
8-
"//flutter/build/secondary/third_party/expat/expat_config",
8+
"//flutter/build/secondary/flutter/third_party/expat/expat_config",
99
]
1010

1111
defines = [
File renamed without changes.

0 commit comments

Comments
 (0)