Skip to content
This repository was archived by the owner on Jan 27, 2023. It is now read-only.

Commit 3933b1a

Browse files
committed
Merge branch 'master' of https://github.com/flutter/engine into tanay/gif-insertion-pr
� Conflicts: � DEPS � ci/licenses_golden/licenses_third_party � flow/layers/container_layer.cc � flow/layers/layer.cc � flow/layers/layer.h � flow/layers/platform_view_layer_unittests.cc � lib/web_ui/lib/src/engine/canvaskit/embedded_views.dart � lib/web_ui/lib/src/engine/semantics/semantics.dart � lib/web_ui/lib/src/engine/semantics/text_field.dart � lib/web_ui/lib/src/engine/text_editing/text_editing.dart � lib/web_ui/test/canvaskit/common.dart � lib/web_ui/test/canvaskit/embedded_views_test.dart � lib/web_ui/test/engine/semantics/semantics_tester.dart � lib/web_ui/test/engine/semantics/text_field_test.dart � lib/web_ui/test/text_editing_test.dart � runtime/dart_isolate.cc � shell/platform/android/io/flutter/plugin/editing/InputConnectionAdaptor.java � testing/dart_isolate_runner.cc � third_party/tonic/tests/dart_persistent_handle_unittest.cc
2 parents 4d9ebc3 + da4595e commit 3933b1a

File tree

1,525 files changed

+78250
-43107
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,525 files changed

+78250
-43107
lines changed

.ci.yaml

Lines changed: 321 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,321 @@
1+
# Describes the targets run in continuous integration environment.
2+
#
3+
# Flutter infra uses this file to generate a checklist of tasks to be performed
4+
# for every commit.
5+
#
6+
# More information at:
7+
# * https://github.com/flutter/cocoon/blob/master/CI_YAML.md
8+
enabled_branches:
9+
- master
10+
- dev
11+
- beta
12+
- stable
13+
14+
platform_properties:
15+
linux:
16+
properties:
17+
caches: >-
18+
[
19+
{"name":"builder_linux_engine","path":"builder"},
20+
{"name":"openjdk","path":"java"}
21+
]
22+
dependencies: >-
23+
[
24+
# CIPD flutter_internal/java/openjdk/$platform
25+
{"dependency": "openjdk", "version": "1.8.0u202-b08"}
26+
]
27+
os: Linux
28+
mac:
29+
properties:
30+
caches: >-
31+
[
32+
{"name":"flutter_cocoapods","path":"cocoapods"},
33+
{"name":"old_osx_sdk","path":"osx_sdk"},
34+
{"name":"builder_mac_engine","path":"builder"},
35+
{"name":"openjdk","path":"java"}
36+
]
37+
dependencies: >-
38+
[
39+
# CIPD flutter_internal/java/openjdk/$platform
40+
{"dependency": "openjdk", "version": "1.8.0u202-b08"}
41+
]
42+
os: Mac-10.15
43+
xcode: 12a7209 # xcode 12
44+
windows:
45+
properties:
46+
caches: >-
47+
[
48+
{"name":"builder_win_engine","path":"builder"},
49+
{"name":"openjdk","path":"java"}
50+
]
51+
dependencies: >-
52+
[
53+
# CIPD flutter_internal/java/openjdk/$platform
54+
{"dependency": "openjdk", "version": "1.8.0u202-b08"}
55+
]
56+
os: Windows-10
57+
58+
targets:
59+
- name: Linux Android AOT Engine
60+
builder: Linux Android AOT Engine
61+
recipe: engine
62+
properties:
63+
add_recipes_cq: "true"
64+
build_android_aot: "true"
65+
android_sdk_license: \n24333f8a63b6825ea9c5514f83c2829b004d1fee
66+
android_sdk_preview_license: \n84831b9409646a918e30573bab4c9c91346d8abd
67+
timeout: 60
68+
scheduler: luci
69+
70+
- name: Linux Android Debug Engine
71+
builder: Linux Android Debug Engine
72+
recipe: engine
73+
properties:
74+
add_recipes_cq: "true"
75+
build_android_debug: "true"
76+
build_android_jit_release: "true"
77+
build_android_vulkan: "true"
78+
android_sdk_license: \n24333f8a63b6825ea9c5514f83c2829b004d1fee
79+
android_sdk_preview_license: \n84831b9409646a918e30573bab4c9c91346d8abd
80+
timeout: 60
81+
scheduler: luci
82+
83+
- name: Linux Android Scenarios
84+
builder: Linux Android Scenarios
85+
bringup: true # Recipe issue https://github.com/flutter/flutter/issues/86427
86+
recipe: engine/scenarios
87+
properties:
88+
upload_packages: "true"
89+
clobber: "true"
90+
timeout: 60
91+
scheduler: luci
92+
93+
- name: Linux Benchmarks
94+
builder: Linux Benchmarks
95+
enabled_branches:
96+
- master
97+
recipe: engine/engine_metrics
98+
presubmit: false
99+
properties:
100+
build_host: "true"
101+
timeout: 60
102+
scheduler: luci
103+
104+
- name: Linux Fuchsia
105+
builder: Linux Fuchsia
106+
recipe: engine
107+
properties:
108+
add_recipes_cq: "true"
109+
build_fuchsia: "true"
110+
fuchsia_ctl_version: version:0.0.27
111+
timeout: 90
112+
scheduler: luci
113+
114+
- name: Linux Fuchsia FEMU
115+
builder: Linux Fuchsia FEMU
116+
recipe: femu_test
117+
properties:
118+
add_recipes_cq: "true"
119+
build_fuchsia: "true"
120+
fuchsia_ctl_version: version:0.0.27
121+
timeout: 60
122+
scheduler: luci
123+
124+
- name: Linux Framework Smoke Tests
125+
builder: Linux Framework Smoke Tests
126+
recipe: engine/framework_smoke
127+
timeout: 60
128+
scheduler: luci
129+
130+
- name: Linux Host Engine
131+
builder: Linux Host Engine
132+
recipe: engine
133+
properties:
134+
add_recipes_cq: "true"
135+
build_host: "true"
136+
timeout: 60
137+
scheduler: luci
138+
139+
- name: Linux Unopt
140+
builder: Linux Unopt
141+
recipe: engine_unopt
142+
properties:
143+
add_recipes_cq: "true"
144+
timeout: 60
145+
scheduler: luci
146+
147+
- name: Linux Arm Host Engine
148+
builder: Linux Arm Host Engine
149+
recipe: engine/engine_arm
150+
properties:
151+
add_recipes_cq: "true"
152+
build_host: "true"
153+
timeout: 90
154+
scheduler: luci
155+
156+
- name: Linux Web Engine
157+
builder: Linux Web Engine
158+
recipe: web_engine
159+
properties:
160+
add_recipes_cq: "true"
161+
gcs_goldens_bucket: flutter_logs
162+
timeout: 60
163+
scheduler: luci
164+
runIf:
165+
- DEPS
166+
- lib/web_ui/**
167+
- web_sdk/**
168+
- tools/**
169+
- ci/**
170+
- flutter_frontend_server/**
171+
172+
- name: Linux Web Framework tests
173+
builder: Linux Web Framework tests
174+
recipe: engine/web_engine_framework
175+
properties:
176+
add_recipes_cq: "true"
177+
framework: "true"
178+
shard: web_tests
179+
subshards: >-
180+
["0", "1", "2", "3", "4", "5", "6", "7_last"]
181+
timeout: 60
182+
scheduler: luci
183+
runIf:
184+
- DEPS
185+
- lib/web_ui/**
186+
- web_sdk/**
187+
- tools/**
188+
- ci/**
189+
- flutter_frontend_server/**
190+
191+
- name: Mac Android AOT Engine
192+
builder: Mac Android AOT Engine
193+
recipe: engine
194+
properties:
195+
android_sdk_license: \n24333f8a63b6825ea9c5514f83c2829b004d1fee
196+
android_sdk_preview_license: \n84831b9409646a918e30573bab4c9c91346d8abd
197+
build_android_aot: "true"
198+
timeout: 60
199+
scheduler: luci
200+
201+
- name: Mac Android Debug Engine
202+
builder: Mac Android Debug Engine
203+
recipe: engine
204+
properties:
205+
android_sdk_license: \n24333f8a63b6825ea9c5514f83c2829b004d1fee
206+
android_sdk_preview_license: \n84831b9409646a918e30573bab4c9c91346d8abd
207+
build_android_debug: "true"
208+
timeout: 60
209+
scheduler: luci
210+
211+
- name: Mac Host Engine
212+
builder: Mac Host Engine
213+
recipe: engine
214+
properties:
215+
add_recipes_cq: "true"
216+
build_host: "true"
217+
timeout: 75
218+
scheduler: luci
219+
220+
- name: Mac Unopt
221+
builder: Mac Unopt
222+
recipe: engine_unopt
223+
properties:
224+
add_recipes_cq: "true"
225+
jazzy_version: 0.9.5
226+
timeout: 75
227+
scheduler: luci
228+
229+
- name: Mac iOS Engine
230+
builder: Mac iOS Engine
231+
recipe: engine
232+
properties:
233+
build_ios: "true"
234+
ios_debug: "true"
235+
jazzy_version: 0.9.5
236+
timeout: 60
237+
scheduler: luci
238+
239+
- name: Mac Web Engine
240+
builder: Mac Web Engine
241+
recipe: web_engine
242+
properties:
243+
gcs_goldens_bucket: flutter_logs
244+
timeout: 60
245+
scheduler: luci
246+
runIf:
247+
- DEPS
248+
- lib/web_ui/**
249+
- web_sdk/**
250+
- tools/**
251+
- ci/**
252+
- flutter_frontend_server/**
253+
254+
- name: Windows Android AOT Engine
255+
builder: Windows Android AOT Engine
256+
recipe: engine
257+
properties:
258+
build_android_aot: "true"
259+
android_sdk_license: \n24333f8a63b6825ea9c5514f83c2829b004d1fee
260+
android_sdk_preview_license: \n84831b9409646a918e30573bab4c9c91346d8abd
261+
timeout: 60
262+
scheduler: luci
263+
264+
- name: Windows Host Engine
265+
builder: Windows Host Engine
266+
recipe: engine
267+
timeout: 60
268+
properties:
269+
add_recipes_cq: "true"
270+
build_host: "true"
271+
scheduler: luci
272+
273+
- name: Windows Unopt
274+
builder: Windows Unopt
275+
recipe: engine_unopt
276+
properties:
277+
add_recipes_cq: "true"
278+
timeout: 75
279+
scheduler: luci
280+
281+
- name: Windows UWP Engine
282+
builder: Windows UWP Engine
283+
recipe: engine
284+
properties:
285+
build_windows_uwp: "true"
286+
timeout: 60
287+
scheduler: luci
288+
289+
- name: Windows Web Engine
290+
builder: Windows Web Engine
291+
recipe: web_engine
292+
properties:
293+
gcs_goldens_bucket: flutter_logs
294+
timeout: 60
295+
scheduler: luci
296+
runIf:
297+
- DEPS
298+
- lib/web_ui/**
299+
- web_sdk/**
300+
301+
- name: Mac iOS Engine Profile
302+
builder: Mac iOS Engine Profile
303+
presubmit: false
304+
recipe: engine
305+
properties:
306+
build_ios: "true"
307+
ios_profile: "true"
308+
jazzy_version: 0.9.5
309+
timeout: 90
310+
scheduler: luci
311+
312+
- name: Mac iOS Engine Release
313+
builder: Mac iOS Engine Release
314+
presubmit: false
315+
recipe: engine
316+
properties:
317+
build_ios: "true"
318+
ios_release: "true"
319+
jazzy_version: 0.9.5
320+
timeout: 90
321+
scheduler: luci

.cirrus.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@ task:
3030
mv $CIRRUS_WORKING_DIR flutter
3131
gclient sync
3232
matrix:
33-
# The following test depends on Flutter framework repo. It may fail if the
34-
# framework repo is currently broken.
3533
- name: build_and_test_linux_unopt_debug
3634
compile_host_script: |
3735
cd $ENGINE_PATH/src
@@ -50,12 +48,4 @@ task:
5048
mkdir -p bin/cache/pkg/
5149
cp -r $ENGINE_PATH/src/out/host_debug_unopt/gen/dart-pkg/sky_engine bin/cache/pkg/
5250
bin/flutter update-packages --local-engine=host_debug_unopt
53-
bin/flutter analyze --dartdocs --flutter-repo --local-engine=host_debug_unopt
54-
test_framework_script: |
55-
cd $FRAMEWORK_PATH/flutter/packages/flutter
56-
../../bin/flutter test --local-engine=host_debug_unopt --null-assertions --sound-null-safety
57-
# TODO(fujino): remove this once ci/licenses.sh is run on LUCI
58-
- name: licenses_check
59-
build_script: |
60-
cd $ENGINE_PATH/src/flutter
61-
./ci/licenses.sh
51+
bin/flutter analyze --flutter-repo --local-engine=host_debug_unopt

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ writing and running engine tests.
1515
- [ ] I updated/added relevant documentation (doc comments with `///`).
1616
- [ ] I signed the [CLA].
1717
- [ ] All existing and new tests are passing.
18-
- [ ] The reviewer has submitted any presubmit flakes in this PR using the [engine presubmit flakes form] before re-triggering the failure.
1918

2019
If you need help, consider asking for advice on the #hackers-new channel on [Discord].
2120

@@ -29,4 +28,3 @@ If you need help, consider asking for advice on the #hackers-new channel on [Dis
2928
[flutter/tests]: https://github.com/flutter/tests
3029
[breaking change policy]: https://github.com/flutter/flutter/wiki/Tree-hygiene#handling-breaking-changes
3130
[Discord]: https://github.com/flutter/flutter/wiki/Chat
32-
[engine presubmit flakes form]: https://forms.gle/Wc1VyFRYJjQTH6w5A

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,3 +130,6 @@ app.*.symbols
130130
!**/ios/**/default.perspectivev3
131131
!/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages
132132
!/dev/ci/**/Gemfile.lock
133+
134+
# Prebuilt binaries.
135+
/prebuilts/

AUTHORS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,5 @@ shoryukenn <naifu.guan@gmail.com>
1818
SOTEC GmbH & Co. KG <sotec-contributors@sotec.eu>
1919
Hidenori Matsubayashi <Hidenori.Matsubayashi@sony.com>
2020
Sarbagya Dhaubanjar <mail@sarbagyastha.com.np>
21+
Callum Moffat <callum@moffatman.com>
22+
Koutaro Mori <koutaro.mo@gmail.com>

0 commit comments

Comments
 (0)