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

Commit 5d09ab5

Browse files
merge
2 parents 6499cf5 + b919945 commit 5d09ab5

File tree

805 files changed

+35827
-14188
lines changed

Some content is hidden

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

805 files changed

+35827
-14188
lines changed

.cirrus.yml

Lines changed: 7 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -62,19 +62,13 @@ task:
6262
./txt_benchmarks --benchmark_format=json > txt_benchmarks.json
6363
./fml_benchmarks --benchmark_format=json > fml_benchmarks.json
6464
./shell_benchmarks --benchmark_format=json > shell_benchmarks.json
65+
./ui_benchmarks --benchmark_format=json > ui_benchmarks.json
6566
cd $ENGINE_PATH/src/flutter/testing/benchmark
6667
pub get
6768
dart bin/parse_and_send.dart ../../../out/host_release/txt_benchmarks.json
6869
dart bin/parse_and_send.dart ../../../out/host_release/fml_benchmarks.json
6970
dart bin/parse_and_send.dart ../../../out/host_release/shell_benchmarks.json
70-
- name: build_and_test_linux_release
71-
compile_host_script: |
72-
cd $ENGINE_PATH/src
73-
./flutter/tools/gn --runtime-mode=release
74-
ninja -C out/host_release
75-
test_host_script: |
76-
cd $ENGINE_PATH/src
77-
./flutter/testing/run_tests.sh host_release
71+
dart bin/parse_and_send.dart ../../../out/host_release/ui_benchmarks.json
7872
7973
# The following test depends on Flutter framework repo. It may fail if the
8074
# framework repo is currently broken.
@@ -125,24 +119,16 @@ task:
125119
script:
126120
- cd $ENGINE_PATH/src/flutter/lib/web_ui
127121
- $ENGINE_PATH/src/out/host_debug_unopt/dart-sdk/bin/pub get
128-
- $ENGINE_PATH/src/out/host_debug_unopt/dart-sdk/bin/dartanalyzer --fatal-warnings --fatal-hints dev/ lib/ test/ tool/
122+
- $ENGINE_PATH/src/out/host_debug_unopt/dart-sdk/bin/dartanalyzer --enable-experiment=non-nullable --fatal-warnings --fatal-hints dev/ lib/ test/ tool/
129123

130-
- name: build_and_test_web_linux_firefox
131-
compile_host_script: |
132-
cd $ENGINE_PATH/src
133-
./flutter/tools/gn --unoptimized --full-dart-sdk
134-
ninja -C out/host_debug_unopt
135-
test_web_engine_firefox_script: |
136-
cd $ENGINE_PATH/src/flutter/web_sdk/web_engine_tester
137-
$ENGINE_PATH/src/out/host_debug_unopt/dart-sdk/bin/pub get
138-
cd $ENGINE_PATH/src/flutter/lib/web_ui
139-
$ENGINE_PATH/src/out/host_debug_unopt/dart-sdk/bin/pub get
140-
export FELT="$ENGINE_PATH/src/out/host_debug_unopt/dart-sdk/bin/dart dev/felt.dart"
141-
$FELT test --browser=firefox
142124
- name: format_and_dart_test
143125
format_script: |
144126
cd $ENGINE_PATH/src/flutter
145127
./ci/format.sh
146128
build_script: |
147129
cd $ENGINE_PATH/src/flutter
148130
./ci/build.sh
131+
- name: lint_test
132+
lint_script: |
133+
cd $ENGINE_PATH/src
134+
./flutter/ci/lint.sh

.clang-tidy

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Checks: 'google-*'

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
## Description
2+
3+
*Replace this paragraph with a description of what this PR is doing. If you're
4+
modifying existing behavior, describe the existing behavior, how this PR is
5+
changing it, and what motivated the change.*
6+
7+
## Related Issues
8+
9+
*Replace this paragraph with a list of issues related to this PR from our [issue
10+
database]. Indicate, which of these issues are resolved or fixed by this PR.
11+
There should be at least one issue listed here.*
12+
13+
## Tests
14+
15+
I added the following tests:
16+
17+
*Replace this with a list of the tests that you added as part of this PR. A
18+
change in behaviour with no test covering it will likely get reverted
19+
accidentally sooner or later. PRs must include tests for all
20+
changed/updated/fixed behaviors. See [testing the engine] for instructions on
21+
writing and running engine tests.*
22+
23+
## Checklist
24+
25+
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes (`[x]`). This will ensure a smooth and quick review process.
26+
27+
- [ ] I read the [contributor guide] and followed the process outlined there for submitting PRs.
28+
- [ ] I signed the [CLA].
29+
- [ ] I read and followed the [C++, Objective-C, Java style guides] for the engine.
30+
- [ ] I read the [tree hygiene] wiki page, which explains my responsibilities.
31+
- [ ] I updated/added relevant documentation.
32+
- [ ] All existing and new tests are passing.
33+
- [ ] I am willing to follow-up on review comments in a timely manner.
34+
35+
## Breaking Change
36+
37+
Did any tests fail when you ran them? Please read [handling breaking changes].
38+
39+
- [ ] No, no existing tests failed, so this is *not* a breaking change.
40+
- [ ] Yes, this is a breaking change. *If not, delete the remainder of this section.*
41+
- [ ] I wrote a design doc: https://flutter.dev/go/template *Replace this with a link to your design doc's short link*
42+
- [ ] I got input from the developer relations team, specifically from: *Replace with the names of who gave advice*
43+
- [ ] I wrote a migration guide: https://flutter.dev/go/breaking-changes-template *Replace this with a link to a pull request that adds the migration guide to https://flutter.dev/docs/release/breaking-changes*
44+
45+
<!-- Links -->
46+
[issue database]: https://github.com/flutter/flutter/issues
47+
[contributor guide]: https://github.com/flutter/flutter/wiki/Tree-hygiene#overview
48+
[testing the engine]: https://github.com/flutter/flutter/wiki/Testing-the-engine
49+
[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/master/CONTRIBUTING.md#style
50+
[CLA]: https://cla.developers.google.com/
51+
[tree hygiene]: https://github.com/flutter/flutter/wiki/Tree-hygiene
52+
[handling breaking changes]: https://github.com/flutter/flutter/wiki/Tree-hygiene#handling-breaking-changes

.github/auto_assign.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ reviewers:
1717
- GaryQian
1818
- jason-simmons
1919
- iskakaushik
20-
- cbracken
2120
- flar
2221

2322
# A number of reviewers added to the pull request

BUILD.gn

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ group("flutter") {
7474
"//flutter/lib/ui:ui_unittests",
7575
"//flutter/runtime:runtime_unittests",
7676
"//flutter/shell/common:shell_unittests",
77-
"//flutter/shell/platform/android/external_view_embedder:android_external_view_embedder_unittests",
7877
"//flutter/shell/platform/embedder:embedder_unittests",
7978
"//flutter/testing:testing_unittests",
8079
"//flutter/third_party/txt:txt_unittests",
@@ -83,7 +82,10 @@ group("flutter") {
8382
if (!is_win) {
8483
public_deps += [
8584
"//flutter/fml:fml_benchmarks",
85+
"//flutter/lib/ui:ui_benchmarks",
8686
"//flutter/shell/common:shell_benchmarks",
87+
"//flutter/shell/platform/android/external_view_embedder:android_external_view_embedder_unittests",
88+
"//flutter/shell/platform/android/jni:jni_unittests",
8789
"//flutter/third_party/txt:txt_benchmarks",
8890
]
8991
}
@@ -123,6 +125,20 @@ config("config") {
123125
}
124126
}
125127

128+
# This "fuchsia_legacy" configuration includes old, non-embedder API sources and
129+
# defines the LEGACY_FUCHSIA_EMBEDDER symbol. This config and its associated
130+
# template are both transitional and will be removed after the embedder API
131+
# transition is complete.
132+
#
133+
# See `source_set_maybe_fuchsia_legacy` in //flutter/common/config.gni
134+
#
135+
# TODO(fxb/54041): Remove when no longer neccesary.
136+
config("fuchsia_legacy") {
137+
if (is_fuchsia) {
138+
defines = [ "LEGACY_FUCHSIA_EMBEDDER" ]
139+
}
140+
}
141+
126142
config("export_dynamic_symbols") {
127143
if (is_linux || is_fuchsia) {
128144
inputs = [
@@ -149,9 +165,12 @@ if (is_fuchsia) {
149165

150166
deps = [
151167
"//flutter/flow:flow_tests",
168+
"//flutter/flow:flow_tests_next",
152169
"//flutter/fml:fml_tests",
153170
"//flutter/runtime:runtime_tests",
171+
"//flutter/runtime:runtime_tests_next",
154172
"//flutter/shell/common:shell_tests",
173+
"//flutter/shell/common:shell_tests_next",
155174
"//flutter/shell/platform/fuchsia/flutter:flutter_runner_scenic_tests",
156175
"//flutter/shell/platform/fuchsia/flutter:flutter_runner_tests",
157176
]

CONTRIBUTING.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ C++ and Objective-C/C++ files are formatted with `clang-format`, and GN files wi
3131
[contrib_guide]: https://github.com/flutter/flutter/blob/master/CONTRIBUTING.md
3232
[engine_dev_setup]: https://github.com/flutter/flutter/wiki/Setting-up-the-Engine-development-environment
3333

34+
3435
### Fuchsia Contributions from Googlers
3536

3637
Googlers contributing to Fuchsia should follow the additional steps at: go/flutter-fuchsia-pr-policy.

0 commit comments

Comments
 (0)