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

Commit 78845e3

Browse files
authored
Remove empty tests properties. (#41461)
Tests property is optional, empty tests property can be safely removed from the build configurations. [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
1 parent 9873ae7 commit 78845e3

11 files changed

+39
-80
lines changed

ci/builders/linux_android_aot_engine.json

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@
3434
"flutter/shell/platform/android:embedding_jars",
3535
"flutter/shell/platform/android:abi_jars"
3636
]
37-
},
38-
"tests": []
37+
}
3938
},
4039
{
4140
"archives": [
@@ -71,8 +70,7 @@
7170
"flutter/shell/platform/android:embedding_jars",
7271
"flutter/shell/platform/android:abi_jars"
7372
]
74-
},
75-
"tests": []
73+
}
7674
},
7775
{
7876
"archives": [
@@ -109,8 +107,7 @@
109107
"flutter/shell/platform/android:abi_jars",
110108
"flutter/shell/platform/android:analyze_snapshot"
111109
]
112-
},
113-
"tests": []
110+
}
114111
},
115112
{
116113
"archives": [
@@ -146,8 +143,7 @@
146143
"flutter/shell/platform/android:abi_jars",
147144
"flutter/shell/platform/android:analyze_snapshot"
148145
]
149-
},
150-
"tests": []
146+
}
151147
},
152148
{
153149
"archives": [
@@ -184,8 +180,7 @@
184180
"flutter/shell/platform/android:abi_jars",
185181
"flutter/shell/platform/android:analyze_snapshot"
186182
]
187-
},
188-
"tests": []
183+
}
189184
},
190185
{
191186
"archives": [
@@ -222,9 +217,7 @@
222217
"flutter/shell/platform/android:abi_jars",
223218
"flutter/shell/platform/android:analyze_snapshot"
224219
]
225-
},
226-
"tests": []
220+
}
227221
}
228-
],
229-
"tests": []
222+
]
230223
}

ci/builders/linux_android_debug_engine.json

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,7 @@
131131
"flutter",
132132
"flutter/shell/platform/android:abi_jars"
133133
]
134-
},
135-
"tests": []
134+
}
136135
},
137136
{
138137
"archives": [
@@ -163,8 +162,7 @@
163162
"flutter",
164163
"flutter/shell/platform/android:abi_jars"
165164
]
166-
},
167-
"tests": []
165+
}
168166
},
169167
{
170168
"archives": [
@@ -195,9 +193,7 @@
195193
"flutter",
196194
"flutter/shell/platform/android:abi_jars"
197195
]
198-
},
199-
"tests": []
196+
}
200197
}
201-
],
202-
"tests": []
198+
]
203199
}

ci/builders/linux_arm_host_engine.json

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@
3232
"targets": [
3333
"flutter/shell/platform/linux:flutter_gtk"
3434
]
35-
},
36-
"tests": []
35+
}
3736
},
3837
{
3938
"archives": [
@@ -72,8 +71,7 @@
7271
"flutter/tools/font-subset",
7372
"flutter/shell/platform/linux:flutter_gtk"
7473
]
75-
},
76-
"tests": []
74+
}
7775
},
7876
{
7977
"archives": [
@@ -106,9 +104,7 @@
106104
"targets": [
107105
"flutter/shell/platform/linux:flutter_gtk"
108106
]
109-
},
110-
"tests": []
107+
}
111108
}
112-
],
113-
"tests": []
109+
]
114110
}

ci/builders/linux_host_desktop_engine.json

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@
3030
"targets": [
3131
"flutter/shell/platform/linux:flutter_gtk"
3232
]
33-
},
34-
"tests": []
33+
}
3534
},
3635
{
3736
"archives": [
@@ -64,8 +63,7 @@
6463
"targets": [
6564
"flutter/shell/platform/linux:flutter_gtk"
6665
]
67-
},
68-
"tests": []
66+
}
6967
},
7068
{
7169
"archives": [
@@ -97,9 +95,7 @@
9795
"targets": [
9896
"flutter/shell/platform/linux:flutter_gtk"
9997
]
100-
},
101-
"tests": []
98+
}
10299
}
103-
],
104-
"tests": []
100+
]
105101
}

ci/builders/linux_host_engine.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@
2222
"flutter",
2323
"flutter/sky/packages"
2424
]
25-
},
26-
"tests": []
25+
}
2726
},
2827
{
2928
"archives": [],
@@ -230,6 +229,5 @@
230229
}
231230
]
232231
}
233-
],
234-
"tests": []
232+
]
235233
}

ci/builders/mac_android_aot_engine.json

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@
3232
"flutter/lib/snapshot",
3333
"flutter/shell/platform/android:gen_snapshot"
3434
]
35-
},
36-
"tests": []
35+
}
3736
},
3837
{
3938
"archives": [
@@ -68,8 +67,7 @@
6867
"flutter/lib/snapshot",
6968
"flutter/shell/platform/android:gen_snapshot"
7069
]
71-
},
72-
"tests": []
70+
}
7371
},
7472
{
7573
"archives": [
@@ -104,8 +102,7 @@
104102
"flutter/lib/snapshot",
105103
"flutter/shell/platform/android:gen_snapshot"
106104
]
107-
},
108-
"tests": []
105+
}
109106
},
110107
{
111108
"archives": [
@@ -139,8 +136,7 @@
139136
"flutter/lib/snapshot",
140137
"flutter/shell/platform/android:gen_snapshot"
141138
]
142-
},
143-
"tests": []
139+
}
144140
},
145141
{
146142
"archives": [
@@ -175,8 +171,7 @@
175171
"flutter/lib/snapshot",
176172
"flutter/shell/platform/android:gen_snapshot"
177173
]
178-
},
179-
"tests": []
174+
}
180175
},
181176
{
182177
"archives": [
@@ -211,11 +206,9 @@
211206
"flutter/lib/snapshot",
212207
"flutter/shell/platform/android:gen_snapshot"
213208
]
214-
},
215-
"tests": []
209+
}
216210
}
217211
],
218-
"tests": [],
219212
"generators": [],
220213
"archives": []
221214
}

ci/builders/mac_host_engine.json

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -214,8 +214,7 @@
214214
"flutter/build/archives:dart_sdk_archive",
215215
"flutter/shell/platform/darwin/macos:zip_macos_flutter_framework"
216216
]
217-
},
218-
"tests": []
217+
}
219218
},
220219
{
221220
"archives": [
@@ -252,8 +251,7 @@
252251
"flutter/build/archives:artifacts",
253252
"flutter/shell/platform/darwin/macos:zip_macos_flutter_framework"
254253
]
255-
},
256-
"tests": []
254+
}
257255
},
258256
{
259257
"archives": [
@@ -292,11 +290,9 @@
292290
"flutter/build/archives:artifacts",
293291
"flutter/shell/platform/darwin/macos:zip_macos_flutter_framework"
294292
]
295-
},
296-
"tests": []
293+
}
297294
}
298295
],
299-
"tests": [],
300296
"generators": {
301297
"tasks": [
302298
{

ci/builders/mac_impeller_cmake_example.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@
2020
"config": "impeller-cmake-example",
2121
"targets": [
2222
]
23-
},
24-
"tests": []
23+
}
2524
}
26-
],
27-
"tests": []
25+
]
2826
}

ci/builders/mac_unopt.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,7 @@
156156
"$flutter/osx_sdk": {
157157
"sdk_version": "14c18"
158158
}
159-
},
160-
"tests": []
159+
}
161160
},
162161
{
163162
"archives": [
@@ -231,6 +230,5 @@
231230

232231
]
233232
}
234-
],
235-
"tests": []
233+
]
236234
}

ci/builders/windows_arm_host_engine.json

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,7 @@
4242
"flutter/shell/platform/windows/client_wrapper:client_wrapper_archive",
4343
"flutter/build/archives:windows_flutter"
4444
]
45-
},
46-
"tests": []
45+
}
4746
},
4847
{
4948
"archives": [
@@ -79,8 +78,7 @@
7978
"gen_snapshot",
8079
"flutter/build/archives:windows_flutter"
8180
]
82-
},
83-
"tests": []
81+
}
8482
},
8583
{
8684
"archives": [
@@ -117,8 +115,7 @@
117115
"gen_snapshot",
118116
"flutter/build/archives:windows_flutter"
119117
]
120-
},
121-
"tests": []
118+
}
122119
}
123120
]
124121
}

0 commit comments

Comments
 (0)