OLD | NEW |
1 [ | 1 [ |
2 { | 2 { |
3 "cmd": [ | 3 "cmd": [ |
4 "which", | 4 "[SLAVE_BUILD]/skia/platform_tools/ios/bin/ios_install" |
5 "adb" | |
6 ], | |
7 "name": "which adb", | |
8 "stdout": "/path/to/tmp/", | |
9 "~followup_annotations": [ | |
10 "step returned non-zero exit code: 1", | |
11 "@@@STEP_EXCEPTION@@@" | |
12 ] | |
13 }, | |
14 { | |
15 "cmd": [ | |
16 "[SLAVE_BUILD]/skia/platform_tools/android/bin/adb_wait_for_device" | |
17 ], | |
18 "env": { | |
19 "ANDROID_HOME": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
20 "ANDROID_SDK_ROOT": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
21 "BUILDTYPE": "Debug", | |
22 "CHROME_HEADLESS": "1", | |
23 "SKIA_ANDROID_VERBOSE_SETUP": "1", | |
24 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
25 }, | |
26 "name": "wait for device (1)" | |
27 }, | |
28 { | |
29 "cmd": [ | |
30 "[SLAVE_BUILD]/skia/platform_tools/android/bin/adb_wait_for_charge" | |
31 ], | |
32 "env": { | |
33 "ANDROID_HOME": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
34 "ANDROID_SDK_ROOT": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
35 "BUILDTYPE": "Debug", | |
36 "CHROME_HEADLESS": "1", | |
37 "SKIA_ANDROID_VERBOSE_SETUP": "1", | |
38 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
39 }, | |
40 "name": "wait for charge (1)" | |
41 }, | |
42 { | |
43 "cmd": [ | |
44 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb", | |
45 "shell", | |
46 "echo", | |
47 "$EXTERNAL_STORAGE" | |
48 ], | 5 ], |
49 "env": { | 6 "env": { |
50 "BUILDTYPE": "Debug", | 7 "BUILDTYPE": "Debug", |
51 "CHROME_HEADLESS": "1", | 8 "CHROME_HEADLESS": "1", |
52 "SKIA_OUT": "[SLAVE_BUILD]/out" | 9 "SKIA_OUT": "[SLAVE_BUILD]/out", |
| 10 "XCODEBUILD": "[SLAVE_BUILD]/xcodebuild" |
53 }, | 11 }, |
54 "name": "get EXTERNAL_STORAGE dir", | 12 "name": "install iOSShell" |
55 "stdout": "/path/to/tmp/" | |
56 }, | 13 }, |
57 { | 14 { |
58 "cmd": [ | 15 "cmd": [ |
59 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb", | 16 "[SLAVE_BUILD]/skia/platform_tools/ios/bin/ios_push_if_needed", |
60 "root" | 17 "[SLAVE_BUILD]/skia/resources", |
| 18 "skiabot/skia_resources" |
61 ], | 19 ], |
62 "env": { | 20 "env": { |
63 "BUILDTYPE": "Debug", | 21 "BUILDTYPE": "Debug", |
64 "CHROME_HEADLESS": "1", | 22 "CHROME_HEADLESS": "1", |
65 "SKIA_OUT": "[SLAVE_BUILD]/out" | 23 "SKIA_OUT": "[SLAVE_BUILD]/out", |
| 24 "XCODEBUILD": "[SLAVE_BUILD]/xcodebuild" |
66 }, | 25 }, |
67 "name": "adb root", | 26 "name": "push resources to skia_resources" |
68 "stdout": "/path/to/tmp/" | |
69 }, | |
70 { | |
71 "cmd": [ | |
72 "sleep", | |
73 "10" | |
74 ], | |
75 "env": { | |
76 "BUILDTYPE": "Debug", | |
77 "CHROME_HEADLESS": "1", | |
78 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
79 }, | |
80 "name": "wait" | |
81 }, | |
82 { | |
83 "cmd": [ | |
84 "[SLAVE_BUILD]/skia/platform_tools/android/bin/adb_wait_for_device" | |
85 ], | |
86 "env": { | |
87 "ANDROID_HOME": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
88 "ANDROID_SDK_ROOT": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
89 "BUILDTYPE": "Debug", | |
90 "CHROME_HEADLESS": "1", | |
91 "SKIA_ANDROID_VERBOSE_SETUP": "1", | |
92 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
93 }, | |
94 "name": "wait for device (2)" | |
95 }, | |
96 { | |
97 "cmd": [ | |
98 "[SLAVE_BUILD]/skia/platform_tools/android/bin/adb_wait_for_charge" | |
99 ], | |
100 "env": { | |
101 "ANDROID_HOME": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
102 "ANDROID_SDK_ROOT": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
103 "BUILDTYPE": "Debug", | |
104 "CHROME_HEADLESS": "1", | |
105 "SKIA_ANDROID_VERBOSE_SETUP": "1", | |
106 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
107 }, | |
108 "name": "wait for charge (2)" | |
109 }, | |
110 { | |
111 "cmd": [ | |
112 "[SLAVE_BUILD]/skia/platform_tools/android/bin/android_kill_skia", | |
113 "--verbose" | |
114 ], | |
115 "env": { | |
116 "ANDROID_HOME": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
117 "ANDROID_SDK_ROOT": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
118 "BUILDTYPE": "Debug", | |
119 "CHROME_HEADLESS": "1", | |
120 "SKIA_ANDROID_VERBOSE_SETUP": "1", | |
121 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
122 }, | |
123 "name": "kill skia" | |
124 }, | |
125 { | |
126 "cmd": [ | |
127 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb", | |
128 "shell", | |
129 "stop" | |
130 ], | |
131 "env": { | |
132 "BUILDTYPE": "Debug", | |
133 "CHROME_HEADLESS": "1", | |
134 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
135 }, | |
136 "name": "stop shell" | |
137 }, | |
138 { | |
139 "cmd": [ | |
140 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb", | |
141 "shell", | |
142 "dumpsys", | |
143 "batteryproperties" | |
144 ], | |
145 "env": { | |
146 "BUILDTYPE": "Debug", | |
147 "CHROME_HEADLESS": "1", | |
148 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
149 }, | |
150 "name": "starting battery stats" | |
151 }, | |
152 { | |
153 "cmd": [ | |
154 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb", | |
155 "shell", | |
156 "cat", | |
157 "/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor" | |
158 ], | |
159 "env": { | |
160 "BUILDTYPE": "Debug", | |
161 "CHROME_HEADLESS": "1", | |
162 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
163 }, | |
164 "name": "cat scaling_governor" | |
165 }, | |
166 { | |
167 "cmd": [ | |
168 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb", | |
169 "shell", | |
170 "cat", | |
171 "/sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq" | |
172 ], | |
173 "env": { | |
174 "BUILDTYPE": "Debug", | |
175 "CHROME_HEADLESS": "1", | |
176 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
177 }, | |
178 "name": "cat cpu_freq" | |
179 }, | |
180 { | |
181 "cmd": [ | |
182 "[SLAVE_BUILD]/skia/platform_tools/android/bin/adb_push_if_needed", | |
183 "--verbose", | |
184 "[SLAVE_BUILD]/skia/resources", | |
185 "/storage/emulated/legacy/skiabot/skia_resources" | |
186 ], | |
187 "env": { | |
188 "ANDROID_HOME": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
189 "ANDROID_SDK_ROOT": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
190 "BUILDTYPE": "Debug", | |
191 "CHROME_HEADLESS": "1", | |
192 "SKIA_ANDROID_VERBOSE_SETUP": "1", | |
193 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
194 }, | |
195 "name": "push resources" | |
196 }, | 27 }, |
197 { | 28 { |
198 "cmd": [ | 29 "cmd": [ |
199 "python", | 30 "python", |
200 "-u", | 31 "-u", |
201 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | 32 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
202 "[SLAVE_BUILD]/skia/infra/bots/assets/skp/VERSION", | 33 "[SLAVE_BUILD]/skia/infra/bots/assets/skp/VERSION", |
203 "/path/to/tmp/" | 34 "/path/to/tmp/" |
204 ], | 35 ], |
205 "name": "Get downloaded SKP VERSION" | 36 "name": "Get downloaded SKP VERSION" |
206 }, | 37 }, |
207 { | 38 { |
208 "cmd": [ | 39 "cmd": [ |
| 40 "python", |
| 41 "-u", |
| 42 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
| 43 "42", |
| 44 "[SLAVE_BUILD]/tmp/SKP_VERSION" |
| 45 ], |
| 46 "name": "write SKP_VERSION" |
| 47 }, |
| 48 { |
| 49 "cmd": [ |
| 50 "[SLAVE_BUILD]/skia/platform_tools/ios/bin/ios_cat_file", |
| 51 "skiabot/skia_tmp_dir/SKP_VERSION" |
| 52 ], |
| 53 "env": { |
| 54 "BUILDTYPE": "Debug", |
| 55 "CHROME_HEADLESS": "1", |
| 56 "SKIA_OUT": "[SLAVE_BUILD]/out", |
| 57 "XCODEBUILD": "[SLAVE_BUILD]/xcodebuild" |
| 58 }, |
| 59 "name": "read SKP_VERSION", |
| 60 "stdout": "/path/to/tmp/", |
| 61 "~followup_annotations": [ |
| 62 "step returned non-zero exit code: 1", |
| 63 "@@@STEP_EXCEPTION@@@" |
| 64 ] |
| 65 }, |
| 66 { |
| 67 "cmd": [ |
| 68 "[SLAVE_BUILD]/skia/platform_tools/ios/bin/ios_rm", |
| 69 "skiabot/skia_tmp_dir/SKP_VERSION" |
| 70 ], |
| 71 "env": { |
| 72 "BUILDTYPE": "Debug", |
| 73 "CHROME_HEADLESS": "1", |
| 74 "SKIA_OUT": "[SLAVE_BUILD]/out", |
| 75 "XCODEBUILD": "[SLAVE_BUILD]/xcodebuild" |
| 76 }, |
| 77 "name": "rm skiabot/skia_tmp_dir/SKP_VERSION" |
| 78 }, |
| 79 { |
| 80 "cmd": [ |
| 81 "[SLAVE_BUILD]/skia/platform_tools/ios/bin/ios_rm", |
| 82 "skiabot/skia_skp/skps" |
| 83 ], |
| 84 "env": { |
| 85 "BUILDTYPE": "Debug", |
| 86 "CHROME_HEADLESS": "1", |
| 87 "SKIA_OUT": "[SLAVE_BUILD]/out", |
| 88 "XCODEBUILD": "[SLAVE_BUILD]/xcodebuild" |
| 89 }, |
| 90 "name": "rmdir skiabot/skia_skp/skps" |
| 91 }, |
| 92 { |
| 93 "cmd": [ |
| 94 "[SLAVE_BUILD]/skia/platform_tools/ios/bin/ios_mkdir", |
| 95 "skiabot/skia_skp/skps" |
| 96 ], |
| 97 "env": { |
| 98 "BUILDTYPE": "Debug", |
| 99 "CHROME_HEADLESS": "1", |
| 100 "SKIA_OUT": "[SLAVE_BUILD]/out", |
| 101 "XCODEBUILD": "[SLAVE_BUILD]/xcodebuild" |
| 102 }, |
| 103 "name": "mkdir skiabot/skia_skp/skps" |
| 104 }, |
| 105 { |
| 106 "cmd": [ |
| 107 "[SLAVE_BUILD]/skia/platform_tools/ios/bin/ios_push_if_needed", |
| 108 "[SLAVE_BUILD]/skp", |
| 109 "skiabot/skia_skp/skps" |
| 110 ], |
| 111 "env": { |
| 112 "BUILDTYPE": "Debug", |
| 113 "CHROME_HEADLESS": "1", |
| 114 "SKIA_OUT": "[SLAVE_BUILD]/out", |
| 115 "XCODEBUILD": "[SLAVE_BUILD]/xcodebuild" |
| 116 }, |
| 117 "name": "push skp to skps" |
| 118 }, |
| 119 { |
| 120 "cmd": [ |
| 121 "[SLAVE_BUILD]/skia/platform_tools/ios/bin/ios_push_file", |
| 122 "[SLAVE_BUILD]/tmp/SKP_VERSION", |
| 123 "skiabot/skia_tmp_dir/SKP_VERSION" |
| 124 ], |
| 125 "env": { |
| 126 "BUILDTYPE": "Debug", |
| 127 "CHROME_HEADLESS": "1", |
| 128 "SKIA_OUT": "[SLAVE_BUILD]/out", |
| 129 "XCODEBUILD": "[SLAVE_BUILD]/xcodebuild" |
| 130 }, |
| 131 "name": "push [SLAVE_BUILD]/tmp/SKP_VERSION" |
| 132 }, |
| 133 { |
| 134 "cmd": [ |
| 135 "python", |
| 136 "-u", |
| 137 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
| 138 "[SLAVE_BUILD]/skia/infra/bots/assets/skimage/VERSION", |
| 139 "/path/to/tmp/" |
| 140 ], |
| 141 "name": "Get downloaded skimage VERSION" |
| 142 }, |
| 143 { |
| 144 "cmd": [ |
209 "python", | 145 "python", |
210 "-u", | 146 "-u", |
211 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | 147 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
212 "42", | 148 "42", |
213 "[SLAVE_BUILD]/tmp/SKP_VERSION" | 149 "[SLAVE_BUILD]/tmp/SK_IMAGE_VERSION" |
214 ], | 150 ], |
215 "name": "write SKP_VERSION" | 151 "name": "write SK_IMAGE_VERSION" |
216 }, | 152 }, |
217 { | 153 { |
218 "cmd": [ | 154 "cmd": [ |
219 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb", | 155 "[SLAVE_BUILD]/skia/platform_tools/ios/bin/ios_cat_file", |
220 "shell", | 156 "skiabot/skia_tmp_dir/SK_IMAGE_VERSION" |
221 "cat", | |
222 "/storage/emulated/legacy/skiabot/skia_tmp_dir/SKP_VERSION" | |
223 ], | 157 ], |
224 "env": { | 158 "env": { |
225 "BUILDTYPE": "Debug", | 159 "BUILDTYPE": "Debug", |
226 "CHROME_HEADLESS": "1", | 160 "CHROME_HEADLESS": "1", |
227 "SKIA_OUT": "[SLAVE_BUILD]/out" | 161 "SKIA_OUT": "[SLAVE_BUILD]/out", |
| 162 "XCODEBUILD": "[SLAVE_BUILD]/xcodebuild" |
228 }, | 163 }, |
229 "name": "read SKP_VERSION", | 164 "name": "read SK_IMAGE_VERSION", |
230 "stdout": "/path/to/tmp/", | 165 "stdout": "/path/to/tmp/" |
231 "~followup_annotations": [ | |
232 "step returned non-zero exit code: 1", | |
233 "@@@STEP_EXCEPTION@@@" | |
234 ] | |
235 }, | 166 }, |
236 { | 167 { |
237 "cmd": [ | 168 "cmd": [ |
238 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb", | 169 "[SLAVE_BUILD]/skia/platform_tools/ios/bin/ios_rm", |
239 "shell", | 170 "skiabot/skia_tmp_dir/SK_IMAGE_VERSION" |
240 "rm", | |
241 "-f", | |
242 "/storage/emulated/legacy/skiabot/skia_tmp_dir/SKP_VERSION" | |
243 ], | 171 ], |
244 "env": { | 172 "env": { |
245 "BUILDTYPE": "Debug", | 173 "BUILDTYPE": "Debug", |
246 "CHROME_HEADLESS": "1", | 174 "CHROME_HEADLESS": "1", |
247 "SKIA_OUT": "[SLAVE_BUILD]/out" | 175 "SKIA_OUT": "[SLAVE_BUILD]/out", |
| 176 "XCODEBUILD": "[SLAVE_BUILD]/xcodebuild" |
248 }, | 177 }, |
249 "name": "rm SKP_VERSION" | 178 "name": "rm skiabot/skia_tmp_dir/SK_IMAGE_VERSION" |
250 }, | 179 }, |
251 { | 180 { |
252 "cmd": [ | 181 "cmd": [ |
253 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb", | 182 "[SLAVE_BUILD]/skia/platform_tools/ios/bin/ios_rm", |
254 "shell", | 183 "skiabot/skia_images" |
255 "rm", | |
256 "-r", | |
257 "/storage/emulated/legacy/skiabot/skia_skp/skps" | |
258 ], | 184 ], |
259 "env": { | 185 "env": { |
260 "BUILDTYPE": "Debug", | 186 "BUILDTYPE": "Debug", |
261 "CHROME_HEADLESS": "1", | 187 "CHROME_HEADLESS": "1", |
262 "SKIA_OUT": "[SLAVE_BUILD]/out" | 188 "SKIA_OUT": "[SLAVE_BUILD]/out", |
| 189 "XCODEBUILD": "[SLAVE_BUILD]/xcodebuild" |
263 }, | 190 }, |
264 "name": "rmdir skps" | 191 "name": "rmdir skiabot/skia_images" |
265 }, | 192 }, |
266 { | 193 { |
267 "cmd": [ | 194 "cmd": [ |
268 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb", | 195 "[SLAVE_BUILD]/skia/platform_tools/ios/bin/ios_mkdir", |
269 "shell", | 196 "skiabot/skia_images" |
270 "if", | |
271 "[", | |
272 "-e", | |
273 "/storage/emulated/legacy/skiabot/skia_skp/skps", | |
274 "];", | |
275 "then", | |
276 "echo", | |
277 "FILE_EXISTS;", | |
278 "fi" | |
279 ], | 197 ], |
280 "env": { | 198 "env": { |
281 "BUILDTYPE": "Debug", | 199 "BUILDTYPE": "Debug", |
282 "CHROME_HEADLESS": "1", | 200 "CHROME_HEADLESS": "1", |
283 "SKIA_OUT": "[SLAVE_BUILD]/out" | 201 "SKIA_OUT": "[SLAVE_BUILD]/out", |
| 202 "XCODEBUILD": "[SLAVE_BUILD]/xcodebuild" |
284 }, | 203 }, |
285 "name": "exists skps", | 204 "name": "mkdir skiabot/skia_images" |
286 "stdout": "/path/to/tmp/" | |
287 }, | 205 }, |
288 { | 206 { |
289 "cmd": [ | 207 "cmd": [ |
290 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb", | 208 "[SLAVE_BUILD]/skia/platform_tools/ios/bin/ios_push_if_needed", |
291 "shell", | 209 "[SLAVE_BUILD]/skimage", |
292 "mkdir", | 210 "skiabot/skia_images" |
293 "-p", | |
294 "/storage/emulated/legacy/skiabot/skia_skp/skps" | |
295 ], | 211 ], |
296 "env": { | 212 "env": { |
297 "BUILDTYPE": "Debug", | 213 "BUILDTYPE": "Debug", |
298 "CHROME_HEADLESS": "1", | 214 "CHROME_HEADLESS": "1", |
299 "SKIA_OUT": "[SLAVE_BUILD]/out" | 215 "SKIA_OUT": "[SLAVE_BUILD]/out", |
| 216 "XCODEBUILD": "[SLAVE_BUILD]/xcodebuild" |
300 }, | 217 }, |
301 "name": "mkdir skps" | 218 "name": "push skimage to skia_images" |
302 }, | 219 }, |
303 { | 220 { |
304 "cmd": [ | 221 "cmd": [ |
305 "[SLAVE_BUILD]/skia/platform_tools/android/bin/adb_push_if_needed", | 222 "[SLAVE_BUILD]/skia/platform_tools/ios/bin/ios_push_file", |
306 "--verbose", | 223 "[SLAVE_BUILD]/tmp/SK_IMAGE_VERSION", |
307 "[SLAVE_BUILD]/skp", | 224 "skiabot/skia_tmp_dir/SK_IMAGE_VERSION" |
308 "/storage/emulated/legacy/skiabot/skia_skp/skps" | |
309 ], | |
310 "env": { | |
311 "ANDROID_HOME": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
312 "ANDROID_SDK_ROOT": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
313 "BUILDTYPE": "Debug", | |
314 "CHROME_HEADLESS": "1", | |
315 "SKIA_ANDROID_VERBOSE_SETUP": "1", | |
316 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
317 }, | |
318 "name": "push skp" | |
319 }, | |
320 { | |
321 "cmd": [ | |
322 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb", | |
323 "push", | |
324 "[SLAVE_BUILD]/tmp/SKP_VERSION", | |
325 "/storage/emulated/legacy/skiabot/skia_tmp_dir/SKP_VERSION" | |
326 ], | 225 ], |
327 "env": { | 226 "env": { |
328 "BUILDTYPE": "Debug", | 227 "BUILDTYPE": "Debug", |
329 "CHROME_HEADLESS": "1", | 228 "CHROME_HEADLESS": "1", |
330 "SKIA_OUT": "[SLAVE_BUILD]/out" | 229 "SKIA_OUT": "[SLAVE_BUILD]/out", |
| 230 "XCODEBUILD": "[SLAVE_BUILD]/xcodebuild" |
331 }, | 231 }, |
332 "name": "push SKP_VERSION" | 232 "name": "push [SLAVE_BUILD]/tmp/SK_IMAGE_VERSION" |
333 }, | 233 }, |
334 { | 234 { |
335 "cmd": [ | 235 "cmd": [ |
336 "python", | 236 "python", |
337 "-u", | 237 "-u", |
338 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | 238 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
339 "[SLAVE_BUILD]/skia/infra/bots/assets/skimage/VERSION", | 239 "[SLAVE_BUILD]/skia/infra/bots/assets/svg/VERSION", |
340 "/path/to/tmp/" | 240 "/path/to/tmp/" |
341 ], | 241 ], |
342 "name": "Get downloaded skimage VERSION" | 242 "name": "Get downloaded SVG VERSION" |
343 }, | 243 }, |
344 { | 244 { |
345 "cmd": [ | 245 "cmd": [ |
346 "python", | 246 "python", |
347 "-u", | 247 "-u", |
348 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | 248 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
349 "42", | 249 "42", |
350 "[SLAVE_BUILD]/tmp/SK_IMAGE_VERSION" | |
351 ], | |
352 "name": "write SK_IMAGE_VERSION" | |
353 }, | |
354 { | |
355 "cmd": [ | |
356 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb", | |
357 "shell", | |
358 "cat", | |
359 "/storage/emulated/legacy/skiabot/skia_tmp_dir/SK_IMAGE_VERSION" | |
360 ], | |
361 "env": { | |
362 "BUILDTYPE": "Debug", | |
363 "CHROME_HEADLESS": "1", | |
364 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
365 }, | |
366 "name": "read SK_IMAGE_VERSION", | |
367 "stdout": "/path/to/tmp/" | |
368 }, | |
369 { | |
370 "cmd": [ | |
371 "python", | |
372 "-u", | |
373 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | |
374 "[SLAVE_BUILD]/skia/infra/bots/assets/svg/VERSION", | |
375 "/path/to/tmp/" | |
376 ], | |
377 "name": "Get downloaded SVG VERSION" | |
378 }, | |
379 { | |
380 "cmd": [ | |
381 "python", | |
382 "-u", | |
383 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | |
384 "42", | |
385 "[SLAVE_BUILD]/tmp/SVG_VERSION" | 250 "[SLAVE_BUILD]/tmp/SVG_VERSION" |
386 ], | 251 ], |
387 "name": "write SVG_VERSION" | 252 "name": "write SVG_VERSION" |
388 }, | 253 }, |
389 { | 254 { |
390 "cmd": [ | 255 "cmd": [ |
391 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb", | 256 "[SLAVE_BUILD]/skia/platform_tools/ios/bin/ios_cat_file", |
392 "shell", | 257 "skiabot/skia_tmp_dir/SVG_VERSION" |
393 "cat", | |
394 "/storage/emulated/legacy/skiabot/skia_tmp_dir/SVG_VERSION" | |
395 ], | 258 ], |
396 "env": { | 259 "env": { |
397 "BUILDTYPE": "Debug", | 260 "BUILDTYPE": "Debug", |
398 "CHROME_HEADLESS": "1", | 261 "CHROME_HEADLESS": "1", |
399 "SKIA_OUT": "[SLAVE_BUILD]/out" | 262 "SKIA_OUT": "[SLAVE_BUILD]/out", |
| 263 "XCODEBUILD": "[SLAVE_BUILD]/xcodebuild" |
400 }, | 264 }, |
401 "name": "read SVG_VERSION", | 265 "name": "read SVG_VERSION", |
402 "stdout": "/path/to/tmp/" | 266 "stdout": "/path/to/tmp/" |
403 }, | 267 }, |
404 { | 268 { |
405 "cmd": [ | 269 "cmd": [ |
| 270 "[SLAVE_BUILD]/skia/platform_tools/ios/bin/ios_rm", |
| 271 "skiabot/skia_tmp_dir/SVG_VERSION" |
| 272 ], |
| 273 "env": { |
| 274 "BUILDTYPE": "Debug", |
| 275 "CHROME_HEADLESS": "1", |
| 276 "SKIA_OUT": "[SLAVE_BUILD]/out", |
| 277 "XCODEBUILD": "[SLAVE_BUILD]/xcodebuild" |
| 278 }, |
| 279 "name": "rm skiabot/skia_tmp_dir/SVG_VERSION" |
| 280 }, |
| 281 { |
| 282 "cmd": [ |
| 283 "[SLAVE_BUILD]/skia/platform_tools/ios/bin/ios_rm", |
| 284 "skiabot/skia_svg/svgs" |
| 285 ], |
| 286 "env": { |
| 287 "BUILDTYPE": "Debug", |
| 288 "CHROME_HEADLESS": "1", |
| 289 "SKIA_OUT": "[SLAVE_BUILD]/out", |
| 290 "XCODEBUILD": "[SLAVE_BUILD]/xcodebuild" |
| 291 }, |
| 292 "name": "rmdir skiabot/skia_svg/svgs" |
| 293 }, |
| 294 { |
| 295 "cmd": [ |
| 296 "[SLAVE_BUILD]/skia/platform_tools/ios/bin/ios_mkdir", |
| 297 "skiabot/skia_svg/svgs" |
| 298 ], |
| 299 "env": { |
| 300 "BUILDTYPE": "Debug", |
| 301 "CHROME_HEADLESS": "1", |
| 302 "SKIA_OUT": "[SLAVE_BUILD]/out", |
| 303 "XCODEBUILD": "[SLAVE_BUILD]/xcodebuild" |
| 304 }, |
| 305 "name": "mkdir skiabot/skia_svg/svgs" |
| 306 }, |
| 307 { |
| 308 "cmd": [ |
| 309 "[SLAVE_BUILD]/skia/platform_tools/ios/bin/ios_push_if_needed", |
| 310 "[SLAVE_BUILD]/svg", |
| 311 "skiabot/skia_svg/svgs" |
| 312 ], |
| 313 "env": { |
| 314 "BUILDTYPE": "Debug", |
| 315 "CHROME_HEADLESS": "1", |
| 316 "SKIA_OUT": "[SLAVE_BUILD]/out", |
| 317 "XCODEBUILD": "[SLAVE_BUILD]/xcodebuild" |
| 318 }, |
| 319 "name": "push svg to svgs" |
| 320 }, |
| 321 { |
| 322 "cmd": [ |
| 323 "[SLAVE_BUILD]/skia/platform_tools/ios/bin/ios_push_file", |
| 324 "[SLAVE_BUILD]/tmp/SVG_VERSION", |
| 325 "skiabot/skia_tmp_dir/SVG_VERSION" |
| 326 ], |
| 327 "env": { |
| 328 "BUILDTYPE": "Debug", |
| 329 "CHROME_HEADLESS": "1", |
| 330 "SKIA_OUT": "[SLAVE_BUILD]/out", |
| 331 "XCODEBUILD": "[SLAVE_BUILD]/xcodebuild" |
| 332 }, |
| 333 "name": "push [SLAVE_BUILD]/tmp/SVG_VERSION" |
| 334 }, |
| 335 { |
| 336 "cmd": [ |
406 "python", | 337 "python", |
407 "-u", | 338 "-u", |
408 "\nimport os, sys\nfrom common import chromium_utils # Error? See https://
crbug.com/584783.\n\n\nif os.path.exists(sys.argv[1]):\n chromium_utils.RemoveD
irectory(sys.argv[1])\n", | 339 "\nimport os, sys\nfrom common import chromium_utils # Error? See https://
crbug.com/584783.\n\n\nif os.path.exists(sys.argv[1]):\n chromium_utils.RemoveD
irectory(sys.argv[1])\n", |
409 "[CUSTOM_[SWARM_OUT_DIR]]/dm" | 340 "[CUSTOM_[SWARM_OUT_DIR]]/dm" |
410 ], | 341 ], |
411 "env": { | 342 "env": { |
412 "PYTHONPATH": "[SLAVE_BUILD]/skia/infra/bots/.recipe_deps/build/scripts" | 343 "PYTHONPATH": "[SLAVE_BUILD]/skia/infra/bots/.recipe_deps/build/scripts" |
413 }, | 344 }, |
414 "name": "rmtree dm", | 345 "name": "rmtree dm", |
415 "~followup_annotations": [ | 346 "~followup_annotations": [ |
(...skipping 24 matching lines...) Expand all Loading... |
440 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", | 371 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", |
441 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", | 372 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", |
442 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" %
path@@@", | 373 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" %
path@@@", |
443 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", | 374 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", |
444 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", | 375 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", |
445 "@@@STEP_LOG_END@python.inline@@@" | 376 "@@@STEP_LOG_END@python.inline@@@" |
446 ] | 377 ] |
447 }, | 378 }, |
448 { | 379 { |
449 "cmd": [ | 380 "cmd": [ |
450 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb", | 381 "[SLAVE_BUILD]/skia/platform_tools/ios/bin/ios_rm", |
451 "shell", | 382 "skiabot/skia_dm" |
452 "rm", | |
453 "-r", | |
454 "/storage/emulated/legacy/skiabot/skia_dm" | |
455 ], | 383 ], |
456 "env": { | 384 "env": { |
457 "BUILDTYPE": "Debug", | 385 "BUILDTYPE": "Debug", |
458 "CHROME_HEADLESS": "1", | 386 "CHROME_HEADLESS": "1", |
459 "SKIA_OUT": "[SLAVE_BUILD]/out" | 387 "SKIA_OUT": "[SLAVE_BUILD]/out", |
| 388 "XCODEBUILD": "[SLAVE_BUILD]/xcodebuild" |
460 }, | 389 }, |
461 "name": "rmdir skia_dm" | 390 "name": "rmdir skiabot/skia_dm" |
462 }, | 391 }, |
463 { | 392 { |
464 "cmd": [ | 393 "cmd": [ |
465 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb", | 394 "[SLAVE_BUILD]/skia/platform_tools/ios/bin/ios_mkdir", |
466 "shell", | 395 "skiabot/skia_dm" |
467 "if", | |
468 "[", | |
469 "-e", | |
470 "/storage/emulated/legacy/skiabot/skia_dm", | |
471 "];", | |
472 "then", | |
473 "echo", | |
474 "FILE_EXISTS;", | |
475 "fi" | |
476 ], | 396 ], |
477 "env": { | 397 "env": { |
478 "BUILDTYPE": "Debug", | 398 "BUILDTYPE": "Debug", |
479 "CHROME_HEADLESS": "1", | 399 "CHROME_HEADLESS": "1", |
480 "SKIA_OUT": "[SLAVE_BUILD]/out" | 400 "SKIA_OUT": "[SLAVE_BUILD]/out", |
| 401 "XCODEBUILD": "[SLAVE_BUILD]/xcodebuild" |
481 }, | 402 }, |
482 "name": "exists skia_dm", | 403 "name": "mkdir skiabot/skia_dm" |
483 "stdout": "/path/to/tmp/" | |
484 }, | 404 }, |
485 { | 405 { |
486 "cmd": [ | 406 "cmd": [ |
487 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb", | |
488 "shell", | |
489 "mkdir", | |
490 "-p", | |
491 "/storage/emulated/legacy/skiabot/skia_dm" | |
492 ], | |
493 "env": { | |
494 "BUILDTYPE": "Debug", | |
495 "CHROME_HEADLESS": "1", | |
496 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
497 }, | |
498 "name": "mkdir skia_dm" | |
499 }, | |
500 { | |
501 "cmd": [ | |
502 "python", | 407 "python", |
503 "-u", | 408 "-u", |
504 "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os.
path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not
a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n", | 409 "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os.
path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not
a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n", |
505 "[SLAVE_BUILD]/tmp", | 410 "[SLAVE_BUILD]/tmp", |
506 "511" | 411 "511" |
507 ], | 412 ], |
508 "name": "makedirs tmp_dir", | 413 "name": "makedirs tmp_dir", |
509 "~followup_annotations": [ | 414 "~followup_annotations": [ |
510 "@@@STEP_LOG_LINE@python.inline@@@@", | 415 "@@@STEP_LOG_LINE@python.inline@@@@", |
511 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", | 416 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
562 "@@@STEP_LOG_LINE@python.inline@ if retry == RETRIES:@@@", | 467 "@@@STEP_LOG_LINE@python.inline@ if retry == RETRIES:@@@", |
563 "@@@STEP_LOG_LINE@python.inline@ raise@@@", | 468 "@@@STEP_LOG_LINE@python.inline@ raise@@@", |
564 "@@@STEP_LOG_LINE@python.inline@ waittime = WAIT_BASE * math.pow(2, ret
ry)@@@", | 469 "@@@STEP_LOG_LINE@python.inline@ waittime = WAIT_BASE * math.pow(2, ret
ry)@@@", |
565 "@@@STEP_LOG_LINE@python.inline@ print 'Retry in %d seconds.' % waittim
e@@@", | 470 "@@@STEP_LOG_LINE@python.inline@ print 'Retry in %d seconds.' % waittim
e@@@", |
566 "@@@STEP_LOG_LINE@python.inline@ time.sleep(waittime)@@@", | 471 "@@@STEP_LOG_LINE@python.inline@ time.sleep(waittime)@@@", |
567 "@@@STEP_LOG_END@python.inline@@@" | 472 "@@@STEP_LOG_END@python.inline@@@" |
568 ] | 473 ] |
569 }, | 474 }, |
570 { | 475 { |
571 "cmd": [ | 476 "cmd": [ |
572 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb", | 477 "[SLAVE_BUILD]/skia/platform_tools/ios/bin/ios_push_file", |
573 "push", | |
574 "[SLAVE_BUILD]/tmp/uninteresting_hashes.txt", | 478 "[SLAVE_BUILD]/tmp/uninteresting_hashes.txt", |
575 "/storage/emulated/legacy/skiabot/skia_tmp_dir/uninteresting_hashes.txt" | 479 "skiabot/skia_tmp_dir/uninteresting_hashes.txt" |
576 ], | 480 ], |
577 "env": { | 481 "env": { |
578 "BUILDTYPE": "Debug", | 482 "BUILDTYPE": "Debug", |
579 "CHROME_HEADLESS": "1", | 483 "CHROME_HEADLESS": "1", |
580 "SKIA_OUT": "[SLAVE_BUILD]/out" | 484 "SKIA_OUT": "[SLAVE_BUILD]/out", |
| 485 "XCODEBUILD": "[SLAVE_BUILD]/xcodebuild" |
581 }, | 486 }, |
582 "name": "push uninteresting_hashes.txt" | 487 "name": "push [SLAVE_BUILD]/tmp/uninteresting_hashes.txt" |
583 }, | 488 }, |
584 { | 489 { |
585 "cmd": [ | 490 "cmd": [ |
586 "[SLAVE_BUILD]/skia/platform_tools/android/bin/android_run_skia", | 491 "[SLAVE_BUILD]/skia/platform_tools/ios/bin/ios_run_skia", |
587 "--verbose", | 492 "--dm", |
588 "--logcat", | |
589 "-d", | |
590 "arm_v7_neon", | |
591 "-t", | |
592 "Debug", | |
593 "dm", | |
594 "--undefok", | 493 "--undefok", |
595 "--resourcePath", | 494 "--resourcePath", |
596 "/storage/emulated/legacy/skiabot/skia_resources", | 495 "skiabot/skia_resources", |
597 "--skps", | 496 "--skps", |
598 "/storage/emulated/legacy/skiabot/skia_skp/skps", | 497 "skiabot/skia_skp/skps", |
599 "--images", | 498 "--images", |
600 "/storage/emulated/legacy/skiabot/skia_images/dm", | 499 "skiabot/skia_images/dm", |
601 "--colorImages", | 500 "--colorImages", |
602 "/storage/emulated/legacy/skiabot/skia_images/colorspace", | 501 "skiabot/skia_images/colorspace", |
603 "--nameByHash", | 502 "--nameByHash", |
604 "--properties", | 503 "--properties", |
605 "gitHash", | 504 "gitHash", |
606 "abc123", | 505 "abc123", |
607 "master", | 506 "master", |
608 "client.skia", | 507 "client.skia", |
609 "builder", | 508 "builder", |
610 "Test-Android-GCC-Nexus7-GPU-Tegra3-Arm7-Debug", | 509 "Test-iOS-Clang-iPad4-GPU-SGX554-Arm7-Debug", |
611 "build_number", | 510 "build_number", |
612 "6", | 511 "6", |
613 "--svgs", | 512 "--svgs", |
614 "/storage/emulated/legacy/skiabot/skia_svg/svgs", | 513 "skiabot/skia_svg/svgs", |
615 "--key", | 514 "--key", |
616 "arch", | 515 "arch", |
617 "Arm7", | 516 "Arm7", |
618 "compiler", | 517 "compiler", |
619 "GCC", | 518 "Clang", |
620 "configuration", | 519 "configuration", |
621 "Debug", | 520 "Debug", |
622 "cpu_or_gpu", | 521 "cpu_or_gpu", |
623 "GPU", | 522 "GPU", |
624 "cpu_or_gpu_value", | 523 "cpu_or_gpu_value", |
625 "Tegra3", | 524 "SGX554", |
626 "model", | 525 "model", |
627 "Nexus7", | 526 "iPad4", |
628 "os", | 527 "os", |
629 "Android", | 528 "iOS", |
630 "--uninterestingHashesFile", | 529 "--uninterestingHashesFile", |
631 "/storage/emulated/legacy/skiabot/skia_tmp_dir/uninteresting_hashes.txt", | 530 "skiabot/skia_tmp_dir/uninteresting_hashes.txt", |
632 "--writePath", | 531 "--writePath", |
633 "/storage/emulated/legacy/skiabot/skia_dm", | 532 "skiabot/skia_dm", |
634 "--nocpu", | 533 "--nocpu", |
635 "--config", | 534 "--config", |
636 "8888", | 535 "8888", |
637 "gpu", | 536 "gpu", |
638 "gpusrgb", | 537 "gpusrgb", |
| 538 "pdf", |
639 "serialize-8888", | 539 "serialize-8888", |
640 "tiles_rt-8888", | 540 "tiles_rt-8888", |
641 "pic-8888", | 541 "pic-8888", |
642 "--src", | 542 "--src", |
643 "tests", | 543 "tests", |
644 "gm", | 544 "gm", |
645 "image", | 545 "image", |
646 "colorImage", | 546 "colorImage", |
647 "svg", | 547 "svg", |
648 "--blacklist", | 548 "--blacklist", |
649 "gpusrgb", | 549 "gpusrgb", |
650 "image", | 550 "image", |
651 "_", | 551 "_", |
652 "_", | 552 "_", |
| 553 "gpu", |
| 554 "skp", |
| 555 "_", |
| 556 "_", |
| 557 "_", |
| 558 "image", |
| 559 "gen_platf", |
| 560 "rgba32abf.bmp", |
| 561 "_", |
| 562 "image", |
| 563 "gen_platf", |
| 564 "rgb24prof.bmp", |
| 565 "_", |
| 566 "image", |
| 567 "gen_platf", |
| 568 "rgb24lprof.bmp", |
| 569 "_", |
| 570 "image", |
| 571 "gen_platf", |
| 572 "8bpp-pixeldata-cropped.bmp", |
| 573 "_", |
| 574 "image", |
| 575 "gen_platf", |
| 576 "4bpp-pixeldata-cropped.bmp", |
| 577 "_", |
| 578 "image", |
| 579 "gen_platf", |
| 580 "32bpp-pixeldata-cropped.bmp", |
| 581 "_", |
| 582 "image", |
| 583 "gen_platf", |
| 584 "24bpp-pixeldata-cropped.bmp", |
| 585 "_", |
| 586 "image", |
| 587 "gen_platf", |
| 588 "frame_larger_than_image.gif", |
653 "_", | 589 "_", |
654 "test", | 590 "test", |
655 "_", | 591 "_", |
656 "GrShape", | 592 "GrShape", |
657 "serialize-8888", | 593 "serialize-8888", |
658 "gm", | 594 "gm", |
659 "_", | 595 "_", |
660 "bleed_image", | 596 "bleed_image", |
661 "serialize-8888", | 597 "serialize-8888", |
662 "gm", | 598 "gm", |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
755 "_", | 691 "_", |
756 "scaled_tilemodes", | 692 "scaled_tilemodes", |
757 "serialize-8888", | 693 "serialize-8888", |
758 "gm", | 694 "gm", |
759 "_", | 695 "_", |
760 "bleed_alpha_image", | 696 "bleed_alpha_image", |
761 "serialize-8888", | 697 "serialize-8888", |
762 "gm", | 698 "gm", |
763 "_", | 699 "_", |
764 "bleed_alpha_image_shader", | 700 "bleed_alpha_image_shader", |
765 "serialize-8888", | |
766 "gm", | |
767 "_", | |
768 "verylargebitmap", | |
769 "serialize-8888", | |
770 "gm", | |
771 "_", | |
772 "verylarge_picture_image", | |
773 "pic-8888", | 701 "pic-8888", |
774 "gm", | 702 "gm", |
775 "_", | 703 "_", |
776 "drawfilter", | 704 "drawfilter", |
777 "pic-8888", | 705 "pic-8888", |
778 "gm", | 706 "gm", |
779 "_", | 707 "_", |
780 "image-cacherator-from-picture", | 708 "image-cacherator-from-picture", |
781 "serialize-8888", | 709 "serialize-8888", |
782 "gm", | 710 "gm", |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
893 "_", | 821 "_", |
894 "image", | 822 "image", |
895 "_", | 823 "_", |
896 ".PEF", | 824 ".PEF", |
897 "_", | 825 "_", |
898 "image", | 826 "image", |
899 "_", | 827 "_", |
900 ".SRW" | 828 ".SRW" |
901 ], | 829 ], |
902 "env": { | 830 "env": { |
903 "ANDROID_HOME": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
904 "ANDROID_SDK_ROOT": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
905 "BUILDTYPE": "Debug", | 831 "BUILDTYPE": "Debug", |
906 "CHROME_HEADLESS": "1", | 832 "CHROME_HEADLESS": "1", |
907 "SKIA_ANDROID_VERBOSE_SETUP": "1", | 833 "SKIA_OUT": "[SLAVE_BUILD]/out", |
908 "SKIA_OUT": "[SLAVE_BUILD]/out" | 834 "XCODEBUILD": "[SLAVE_BUILD]/xcodebuild" |
909 }, | 835 }, |
910 "name": "dm" | 836 "name": "dm" |
911 }, | 837 }, |
912 { | 838 { |
913 "cmd": [ | 839 "cmd": [ |
914 "[SLAVE_BUILD]/skia/platform_tools/android/bin/adb_pull_if_needed", | 840 "[SLAVE_BUILD]/skia/platform_tools/ios/bin/ios_pull_if_needed", |
915 "--verbose", | 841 "skiabot/skia_dm", |
916 "/storage/emulated/legacy/skiabot/skia_dm", | |
917 "[CUSTOM_[SWARM_OUT_DIR]]/dm" | 842 "[CUSTOM_[SWARM_OUT_DIR]]/dm" |
918 ], | 843 ], |
919 "env": { | 844 "env": { |
920 "ANDROID_HOME": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
921 "ANDROID_SDK_ROOT": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
922 "BUILDTYPE": "Debug", | 845 "BUILDTYPE": "Debug", |
923 "CHROME_HEADLESS": "1", | 846 "CHROME_HEADLESS": "1", |
924 "SKIA_ANDROID_VERBOSE_SETUP": "1", | 847 "SKIA_OUT": "[SLAVE_BUILD]/out", |
925 "SKIA_OUT": "[SLAVE_BUILD]/out" | 848 "XCODEBUILD": "[SLAVE_BUILD]/xcodebuild" |
926 }, | 849 }, |
927 "name": "pull skia_dm" | 850 "name": "pull skia_dm" |
928 }, | 851 }, |
929 { | 852 { |
930 "cmd": [ | 853 "cmd": [ |
931 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb", | 854 "[SLAVE_BUILD]/skia/platform_tools/ios/bin/ios_restart" |
932 "shell", | |
933 "dumpsys", | |
934 "batteryproperties" | |
935 ], | 855 ], |
936 "env": { | 856 "env": { |
937 "BUILDTYPE": "Debug", | 857 "BUILDTYPE": "Debug", |
938 "CHROME_HEADLESS": "1", | 858 "CHROME_HEADLESS": "1", |
939 "SKIA_OUT": "[SLAVE_BUILD]/out" | 859 "SKIA_OUT": "[SLAVE_BUILD]/out", |
940 }, | 860 "XCODEBUILD": "[SLAVE_BUILD]/xcodebuild" |
941 "name": "final battery stats" | |
942 }, | |
943 { | |
944 "cmd": [ | |
945 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb", | |
946 "reboot" | |
947 ], | |
948 "env": { | |
949 "BUILDTYPE": "Debug", | |
950 "CHROME_HEADLESS": "1", | |
951 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
952 }, | 861 }, |
953 "name": "reboot" | 862 "name": "reboot" |
954 }, | 863 }, |
955 { | 864 { |
956 "cmd": [ | 865 "cmd": [ |
957 "sleep", | 866 "sleep", |
958 "10" | 867 "20" |
959 ], | 868 ], |
960 "env": { | 869 "env": { |
961 "BUILDTYPE": "Debug", | 870 "BUILDTYPE": "Debug", |
962 "CHROME_HEADLESS": "1", | 871 "CHROME_HEADLESS": "1", |
963 "SKIA_OUT": "[SLAVE_BUILD]/out" | 872 "SKIA_OUT": "[SLAVE_BUILD]/out", |
| 873 "XCODEBUILD": "[SLAVE_BUILD]/xcodebuild" |
964 }, | 874 }, |
965 "name": "wait for reboot" | 875 "name": "wait for reboot" |
966 }, | 876 }, |
967 { | 877 { |
968 "cmd": [ | |
969 "[SLAVE_BUILD]/skia/platform_tools/android/bin/adb_wait_for_device" | |
970 ], | |
971 "env": { | |
972 "ANDROID_HOME": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
973 "ANDROID_SDK_ROOT": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
974 "BUILDTYPE": "Debug", | |
975 "CHROME_HEADLESS": "1", | |
976 "SKIA_ANDROID_VERBOSE_SETUP": "1", | |
977 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
978 }, | |
979 "name": "wait for device (3)" | |
980 }, | |
981 { | |
982 "cmd": [ | |
983 "[SLAVE_BUILD]/skia/platform_tools/android/bin/adb_wait_for_charge" | |
984 ], | |
985 "env": { | |
986 "ANDROID_HOME": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
987 "ANDROID_SDK_ROOT": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
988 "BUILDTYPE": "Debug", | |
989 "CHROME_HEADLESS": "1", | |
990 "SKIA_ANDROID_VERBOSE_SETUP": "1", | |
991 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
992 }, | |
993 "name": "wait for charge (3)" | |
994 }, | |
995 { | |
996 "cmd": [ | |
997 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb", | |
998 "kill-server" | |
999 ], | |
1000 "env": { | |
1001 "BUILDTYPE": "Debug", | |
1002 "CHROME_HEADLESS": "1", | |
1003 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
1004 }, | |
1005 "name": "kill-server" | |
1006 }, | |
1007 { | |
1008 "name": "$result", | 878 "name": "$result", |
1009 "recipe_result": null, | 879 "recipe_result": null, |
1010 "status_code": 0 | 880 "status_code": 0 |
1011 } | 881 } |
1012 ] | 882 ] |
OLD | NEW |