blob: b0f50b6cb2b887fc2c7a0ed70975c1223d01676e [file] [log] [blame]
Mike Klein20980082017-02-02 13:45:15 -05001[
2 {
3 "cmd": [
Eric Borenb7023162018-05-04 13:46:15 -04004 "python",
5 "-u",
6 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
7 "--json-output",
8 "/path/to/tmp/json",
9 "ensure-directory",
10 "--mode",
11 "0777",
12 "[START_DIR]/tmp"
13 ],
14 "infra_step": true,
15 "name": "makedirs tmp_dir"
16 },
17 {
18 "cmd": [
Stephan Altmueller63e843d2017-04-25 11:38:38 -040019 "ios.py"
20 ],
21 "env": {
Stephan Altmueller63e843d2017-04-25 11:38:38 -040022 "CHROME_HEADLESS": "1",
23 "IOS_BUNDLE_ID": "com.google.nanobench",
24 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
Eric Boren0f690102018-05-15 15:04:58 -040025 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
Stephan Altmueller63e843d2017-04-25 11:38:38 -040026 },
27 "infra_step": true,
28 "name": "setup_device"
29 },
30 {
31 "cmd": [
32 "ideviceinstaller",
33 "-i",
Eric Boren322a8592018-06-01 10:08:53 -040034 "[START_DIR]/build/dm.app"
Stephan Altmueller63e843d2017-04-25 11:38:38 -040035 ],
36 "env": {
Stephan Altmueller63e843d2017-04-25 11:38:38 -040037 "CHROME_HEADLESS": "1",
38 "IOS_BUNDLE_ID": "com.google.nanobench",
39 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
Eric Boren0f690102018-05-15 15:04:58 -040040 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
Stephan Altmueller63e843d2017-04-25 11:38:38 -040041 },
42 "infra_step": true,
43 "name": "install_dm"
44 },
45 {
46 "cmd": [
47 "ideviceinstaller",
48 "-i",
Eric Boren322a8592018-06-01 10:08:53 -040049 "[START_DIR]/build/nanobench.app"
Stephan Altmueller63e843d2017-04-25 11:38:38 -040050 ],
51 "env": {
Stephan Altmueller63e843d2017-04-25 11:38:38 -040052 "CHROME_HEADLESS": "1",
53 "IOS_BUNDLE_ID": "com.google.nanobench",
54 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
Eric Boren0f690102018-05-15 15:04:58 -040055 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
Stephan Altmueller63e843d2017-04-25 11:38:38 -040056 },
57 "infra_step": true,
58 "name": "install_nanobench"
59 },
60 {
61 "cmd": [
Mike Klein20f00782017-02-02 18:55:03 -050062 "[START_DIR]/skia/platform_tools/ios/bin/ios_push_if_needed",
63 "[START_DIR]/skia/resources",
Mike Kleine0b048c2017-02-03 13:31:05 -050064 "resources"
Mike Klein20f00782017-02-02 18:55:03 -050065 ],
Eric Borenbbb24f22017-03-21 08:20:33 -040066 "env": {
Eric Borenbbb24f22017-03-21 08:20:33 -040067 "CHROME_HEADLESS": "1",
68 "IOS_BUNDLE_ID": "com.google.nanobench",
Stephan Altmueller63e843d2017-04-25 11:38:38 -040069 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
Eric Boren0f690102018-05-15 15:04:58 -040070 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
Eric Borenbbb24f22017-03-21 08:20:33 -040071 },
Stephan Altmueller63e843d2017-04-25 11:38:38 -040072 "infra_step": true,
Mike Klein20f00782017-02-02 18:55:03 -050073 "name": "push_if_needed [START_DIR]/skia/resources"
74 },
75 {
76 "cmd": [
Mike Klein20980082017-02-02 13:45:15 -050077 "python",
78 "-u",
Eric Boren3e2ffd72017-06-16 13:10:22 -040079 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
80 "--json-output",
81 "/path/to/tmp/json",
82 "copy",
Mike Klein20980082017-02-02 13:45:15 -050083 "[START_DIR]/skia/infra/bots/assets/skp/VERSION",
84 "/path/to/tmp/"
85 ],
Eric Borenbbb24f22017-03-21 08:20:33 -040086 "env": {
Stephan Altmueller63e843d2017-04-25 11:38:38 -040087 "IOS_BUNDLE_ID": "com.google.nanobench",
88 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice"
Eric Borenbbb24f22017-03-21 08:20:33 -040089 },
Eric Borena1590852017-03-20 12:48:31 -040090 "infra_step": true,
Ben Wagnerf20710e2018-03-19 16:52:37 -040091 "name": "Get skp VERSION"
Mike Klein20980082017-02-02 13:45:15 -050092 },
93 {
94 "cmd": [
95 "python",
96 "-u",
Eric Boren3e2ffd72017-06-16 13:10:22 -040097 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
98 "--json-output",
99 "/path/to/tmp/json",
100 "copy",
Mike Klein20980082017-02-02 13:45:15 -0500101 "42",
102 "[START_DIR]/tmp/SKP_VERSION"
103 ],
Eric Borenbbb24f22017-03-21 08:20:33 -0400104 "env": {
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400105 "IOS_BUNDLE_ID": "com.google.nanobench",
106 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice"
Eric Borenbbb24f22017-03-21 08:20:33 -0400107 },
Eric Borena1590852017-03-20 12:48:31 -0400108 "infra_step": true,
Mike Klein20980082017-02-02 13:45:15 -0500109 "name": "write SKP_VERSION"
110 },
111 {
112 "cmd": [
Mike Kleine0b048c2017-02-03 13:31:05 -0500113 "[START_DIR]/skia/platform_tools/ios/bin/ios_cat_file",
114 "tmp/SKP_VERSION"
115 ],
Eric Borenbbb24f22017-03-21 08:20:33 -0400116 "env": {
Eric Borenbbb24f22017-03-21 08:20:33 -0400117 "CHROME_HEADLESS": "1",
118 "IOS_BUNDLE_ID": "com.google.nanobench",
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400119 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
Eric Boren0f690102018-05-15 15:04:58 -0400120 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
Eric Borenbbb24f22017-03-21 08:20:33 -0400121 },
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400122 "infra_step": true,
Mike Kleine0b048c2017-02-03 13:31:05 -0500123 "name": "cat_file tmp/SKP_VERSION",
124 "stdout": "/path/to/tmp/"
125 },
126 {
127 "cmd": [
128 "[START_DIR]/skia/platform_tools/ios/bin/ios_rm",
129 "tmp/SKP_VERSION"
130 ],
Eric Borenbbb24f22017-03-21 08:20:33 -0400131 "env": {
Eric Borenbbb24f22017-03-21 08:20:33 -0400132 "CHROME_HEADLESS": "1",
133 "IOS_BUNDLE_ID": "com.google.nanobench",
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400134 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
Eric Boren0f690102018-05-15 15:04:58 -0400135 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
Eric Borenbbb24f22017-03-21 08:20:33 -0400136 },
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400137 "infra_step": true,
Mike Kleine0b048c2017-02-03 13:31:05 -0500138 "name": "rm tmp/SKP_VERSION"
139 },
140 {
141 "cmd": [
142 "[START_DIR]/skia/platform_tools/ios/bin/ios_rm",
143 "skps"
144 ],
Eric Borenbbb24f22017-03-21 08:20:33 -0400145 "env": {
Eric Borenbbb24f22017-03-21 08:20:33 -0400146 "CHROME_HEADLESS": "1",
147 "IOS_BUNDLE_ID": "com.google.nanobench",
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400148 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
Eric Boren0f690102018-05-15 15:04:58 -0400149 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
Eric Borenbbb24f22017-03-21 08:20:33 -0400150 },
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400151 "infra_step": true,
Mike Kleine0b048c2017-02-03 13:31:05 -0500152 "name": "rm skps"
153 },
154 {
155 "cmd": [
156 "[START_DIR]/skia/platform_tools/ios/bin/ios_mkdir",
157 "skps"
158 ],
Eric Borenbbb24f22017-03-21 08:20:33 -0400159 "env": {
Eric Borenbbb24f22017-03-21 08:20:33 -0400160 "CHROME_HEADLESS": "1",
161 "IOS_BUNDLE_ID": "com.google.nanobench",
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400162 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
Eric Boren0f690102018-05-15 15:04:58 -0400163 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
Eric Borenbbb24f22017-03-21 08:20:33 -0400164 },
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400165 "infra_step": true,
Mike Kleine0b048c2017-02-03 13:31:05 -0500166 "name": "mkdir skps"
167 },
168 {
169 "cmd": [
170 "[START_DIR]/skia/platform_tools/ios/bin/ios_push_if_needed",
171 "[START_DIR]/skp",
172 "skps"
173 ],
Eric Borenbbb24f22017-03-21 08:20:33 -0400174 "env": {
Eric Borenbbb24f22017-03-21 08:20:33 -0400175 "CHROME_HEADLESS": "1",
176 "IOS_BUNDLE_ID": "com.google.nanobench",
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400177 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
Eric Boren0f690102018-05-15 15:04:58 -0400178 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
Eric Borenbbb24f22017-03-21 08:20:33 -0400179 },
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400180 "infra_step": true,
Mike Kleine0b048c2017-02-03 13:31:05 -0500181 "name": "push_if_needed [START_DIR]/skp"
182 },
183 {
184 "cmd": [
185 "[START_DIR]/skia/platform_tools/ios/bin/ios_push_file",
186 "[START_DIR]/tmp/SKP_VERSION",
187 "tmp/SKP_VERSION"
188 ],
Eric Borenbbb24f22017-03-21 08:20:33 -0400189 "env": {
Eric Borenbbb24f22017-03-21 08:20:33 -0400190 "CHROME_HEADLESS": "1",
191 "IOS_BUNDLE_ID": "com.google.nanobench",
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400192 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
Eric Boren0f690102018-05-15 15:04:58 -0400193 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
Eric Borenbbb24f22017-03-21 08:20:33 -0400194 },
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400195 "infra_step": true,
Mike Kleine0b048c2017-02-03 13:31:05 -0500196 "name": "push_file [START_DIR]/tmp/SKP_VERSION"
197 },
198 {
199 "cmd": [
Mike Klein20980082017-02-02 13:45:15 -0500200 "python",
201 "-u",
Eric Boren3e2ffd72017-06-16 13:10:22 -0400202 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
203 "--json-output",
204 "/path/to/tmp/json",
205 "copy",
Mike Klein20980082017-02-02 13:45:15 -0500206 "[START_DIR]/skia/infra/bots/assets/skimage/VERSION",
207 "/path/to/tmp/"
208 ],
Eric Borenbbb24f22017-03-21 08:20:33 -0400209 "env": {
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400210 "IOS_BUNDLE_ID": "com.google.nanobench",
211 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice"
Eric Borenbbb24f22017-03-21 08:20:33 -0400212 },
Eric Borena1590852017-03-20 12:48:31 -0400213 "infra_step": true,
Ben Wagnerf20710e2018-03-19 16:52:37 -0400214 "name": "Get skimage VERSION"
Mike Klein20980082017-02-02 13:45:15 -0500215 },
216 {
217 "cmd": [
218 "python",
219 "-u",
Eric Boren3e2ffd72017-06-16 13:10:22 -0400220 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
221 "--json-output",
222 "/path/to/tmp/json",
223 "copy",
Mike Klein20980082017-02-02 13:45:15 -0500224 "42",
225 "[START_DIR]/tmp/SK_IMAGE_VERSION"
226 ],
Eric Borenbbb24f22017-03-21 08:20:33 -0400227 "env": {
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400228 "IOS_BUNDLE_ID": "com.google.nanobench",
229 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice"
Eric Borenbbb24f22017-03-21 08:20:33 -0400230 },
Eric Borena1590852017-03-20 12:48:31 -0400231 "infra_step": true,
Mike Klein20980082017-02-02 13:45:15 -0500232 "name": "write SK_IMAGE_VERSION"
233 },
234 {
235 "cmd": [
Mike Kleine0b048c2017-02-03 13:31:05 -0500236 "[START_DIR]/skia/platform_tools/ios/bin/ios_cat_file",
237 "tmp/SK_IMAGE_VERSION"
238 ],
Eric Borenbbb24f22017-03-21 08:20:33 -0400239 "env": {
Eric Borenbbb24f22017-03-21 08:20:33 -0400240 "CHROME_HEADLESS": "1",
241 "IOS_BUNDLE_ID": "com.google.nanobench",
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400242 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
Eric Boren0f690102018-05-15 15:04:58 -0400243 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
Eric Borenbbb24f22017-03-21 08:20:33 -0400244 },
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400245 "infra_step": true,
Mike Kleine0b048c2017-02-03 13:31:05 -0500246 "name": "cat_file tmp/SK_IMAGE_VERSION",
247 "stdout": "/path/to/tmp/"
248 },
249 {
250 "cmd": [
251 "[START_DIR]/skia/platform_tools/ios/bin/ios_rm",
252 "tmp/SK_IMAGE_VERSION"
253 ],
Eric Borenbbb24f22017-03-21 08:20:33 -0400254 "env": {
Eric Borenbbb24f22017-03-21 08:20:33 -0400255 "CHROME_HEADLESS": "1",
256 "IOS_BUNDLE_ID": "com.google.nanobench",
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400257 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
Eric Boren0f690102018-05-15 15:04:58 -0400258 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
Eric Borenbbb24f22017-03-21 08:20:33 -0400259 },
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400260 "infra_step": true,
Mike Kleine0b048c2017-02-03 13:31:05 -0500261 "name": "rm tmp/SK_IMAGE_VERSION"
262 },
263 {
264 "cmd": [
265 "[START_DIR]/skia/platform_tools/ios/bin/ios_rm",
266 "images"
267 ],
Eric Borenbbb24f22017-03-21 08:20:33 -0400268 "env": {
Eric Borenbbb24f22017-03-21 08:20:33 -0400269 "CHROME_HEADLESS": "1",
270 "IOS_BUNDLE_ID": "com.google.nanobench",
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400271 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
Eric Boren0f690102018-05-15 15:04:58 -0400272 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
Eric Borenbbb24f22017-03-21 08:20:33 -0400273 },
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400274 "infra_step": true,
Mike Kleine0b048c2017-02-03 13:31:05 -0500275 "name": "rm images"
276 },
277 {
278 "cmd": [
279 "[START_DIR]/skia/platform_tools/ios/bin/ios_mkdir",
280 "images"
281 ],
Eric Borenbbb24f22017-03-21 08:20:33 -0400282 "env": {
Eric Borenbbb24f22017-03-21 08:20:33 -0400283 "CHROME_HEADLESS": "1",
284 "IOS_BUNDLE_ID": "com.google.nanobench",
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400285 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
Eric Boren0f690102018-05-15 15:04:58 -0400286 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
Eric Borenbbb24f22017-03-21 08:20:33 -0400287 },
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400288 "infra_step": true,
Mike Kleine0b048c2017-02-03 13:31:05 -0500289 "name": "mkdir images"
290 },
291 {
292 "cmd": [
293 "[START_DIR]/skia/platform_tools/ios/bin/ios_push_if_needed",
294 "[START_DIR]/skimage",
295 "images"
296 ],
Eric Borenbbb24f22017-03-21 08:20:33 -0400297 "env": {
Eric Borenbbb24f22017-03-21 08:20:33 -0400298 "CHROME_HEADLESS": "1",
299 "IOS_BUNDLE_ID": "com.google.nanobench",
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400300 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
Eric Boren0f690102018-05-15 15:04:58 -0400301 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
Eric Borenbbb24f22017-03-21 08:20:33 -0400302 },
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400303 "infra_step": true,
Mike Kleine0b048c2017-02-03 13:31:05 -0500304 "name": "push_if_needed [START_DIR]/skimage"
305 },
306 {
307 "cmd": [
308 "[START_DIR]/skia/platform_tools/ios/bin/ios_push_file",
309 "[START_DIR]/tmp/SK_IMAGE_VERSION",
310 "tmp/SK_IMAGE_VERSION"
311 ],
Eric Borenbbb24f22017-03-21 08:20:33 -0400312 "env": {
Eric Borenbbb24f22017-03-21 08:20:33 -0400313 "CHROME_HEADLESS": "1",
314 "IOS_BUNDLE_ID": "com.google.nanobench",
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400315 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
Eric Boren0f690102018-05-15 15:04:58 -0400316 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
Eric Borenbbb24f22017-03-21 08:20:33 -0400317 },
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400318 "infra_step": true,
Mike Kleine0b048c2017-02-03 13:31:05 -0500319 "name": "push_file [START_DIR]/tmp/SK_IMAGE_VERSION"
320 },
321 {
322 "cmd": [
Mike Klein20980082017-02-02 13:45:15 -0500323 "python",
324 "-u",
Eric Boren3e2ffd72017-06-16 13:10:22 -0400325 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
326 "--json-output",
327 "/path/to/tmp/json",
328 "copy",
Mike Klein20980082017-02-02 13:45:15 -0500329 "[START_DIR]/skia/infra/bots/assets/svg/VERSION",
330 "/path/to/tmp/"
331 ],
Eric Borenbbb24f22017-03-21 08:20:33 -0400332 "env": {
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400333 "IOS_BUNDLE_ID": "com.google.nanobench",
334 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice"
Eric Borenbbb24f22017-03-21 08:20:33 -0400335 },
Eric Borena1590852017-03-20 12:48:31 -0400336 "infra_step": true,
Ben Wagnerf20710e2018-03-19 16:52:37 -0400337 "name": "Get svg VERSION"
Mike Klein20980082017-02-02 13:45:15 -0500338 },
339 {
340 "cmd": [
341 "python",
342 "-u",
Eric Boren3e2ffd72017-06-16 13:10:22 -0400343 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
344 "--json-output",
345 "/path/to/tmp/json",
346 "copy",
Mike Klein20980082017-02-02 13:45:15 -0500347 "42",
348 "[START_DIR]/tmp/SVG_VERSION"
349 ],
Eric Borenbbb24f22017-03-21 08:20:33 -0400350 "env": {
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400351 "IOS_BUNDLE_ID": "com.google.nanobench",
352 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice"
Eric Borenbbb24f22017-03-21 08:20:33 -0400353 },
Eric Borena1590852017-03-20 12:48:31 -0400354 "infra_step": true,
Mike Klein20980082017-02-02 13:45:15 -0500355 "name": "write SVG_VERSION"
356 },
357 {
358 "cmd": [
Mike Kleine0b048c2017-02-03 13:31:05 -0500359 "[START_DIR]/skia/platform_tools/ios/bin/ios_cat_file",
360 "tmp/SVG_VERSION"
Mike Klein20980082017-02-02 13:45:15 -0500361 ],
Eric Borenbbb24f22017-03-21 08:20:33 -0400362 "env": {
Eric Borenbbb24f22017-03-21 08:20:33 -0400363 "CHROME_HEADLESS": "1",
364 "IOS_BUNDLE_ID": "com.google.nanobench",
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400365 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
Eric Boren0f690102018-05-15 15:04:58 -0400366 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
Eric Borenbbb24f22017-03-21 08:20:33 -0400367 },
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400368 "infra_step": true,
Mike Kleine0b048c2017-02-03 13:31:05 -0500369 "name": "cat_file tmp/SVG_VERSION",
370 "stdout": "/path/to/tmp/"
371 },
372 {
373 "cmd": [
374 "[START_DIR]/skia/platform_tools/ios/bin/ios_rm",
375 "tmp/SVG_VERSION"
376 ],
Eric Borenbbb24f22017-03-21 08:20:33 -0400377 "env": {
Eric Borenbbb24f22017-03-21 08:20:33 -0400378 "CHROME_HEADLESS": "1",
379 "IOS_BUNDLE_ID": "com.google.nanobench",
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400380 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
Eric Boren0f690102018-05-15 15:04:58 -0400381 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
Eric Borenbbb24f22017-03-21 08:20:33 -0400382 },
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400383 "infra_step": true,
Mike Kleine0b048c2017-02-03 13:31:05 -0500384 "name": "rm tmp/SVG_VERSION"
385 },
386 {
387 "cmd": [
388 "[START_DIR]/skia/platform_tools/ios/bin/ios_rm",
389 "svgs"
390 ],
Eric Borenbbb24f22017-03-21 08:20:33 -0400391 "env": {
Eric Borenbbb24f22017-03-21 08:20:33 -0400392 "CHROME_HEADLESS": "1",
393 "IOS_BUNDLE_ID": "com.google.nanobench",
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400394 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
Eric Boren0f690102018-05-15 15:04:58 -0400395 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
Eric Borenbbb24f22017-03-21 08:20:33 -0400396 },
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400397 "infra_step": true,
Mike Kleine0b048c2017-02-03 13:31:05 -0500398 "name": "rm svgs"
Mike Klein20980082017-02-02 13:45:15 -0500399 },
400 {
401 "cmd": [
Mike Klein20f00782017-02-02 18:55:03 -0500402 "[START_DIR]/skia/platform_tools/ios/bin/ios_mkdir",
Mike Kleine0b048c2017-02-03 13:31:05 -0500403 "svgs"
Mike Klein20980082017-02-02 13:45:15 -0500404 ],
Eric Borenbbb24f22017-03-21 08:20:33 -0400405 "env": {
Eric Borenbbb24f22017-03-21 08:20:33 -0400406 "CHROME_HEADLESS": "1",
407 "IOS_BUNDLE_ID": "com.google.nanobench",
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400408 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
Eric Boren0f690102018-05-15 15:04:58 -0400409 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
Eric Borenbbb24f22017-03-21 08:20:33 -0400410 },
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400411 "infra_step": true,
Mike Kleine0b048c2017-02-03 13:31:05 -0500412 "name": "mkdir svgs"
413 },
414 {
415 "cmd": [
416 "[START_DIR]/skia/platform_tools/ios/bin/ios_push_if_needed",
417 "[START_DIR]/svg",
418 "svgs"
419 ],
Eric Borenbbb24f22017-03-21 08:20:33 -0400420 "env": {
Eric Borenbbb24f22017-03-21 08:20:33 -0400421 "CHROME_HEADLESS": "1",
422 "IOS_BUNDLE_ID": "com.google.nanobench",
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400423 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
Eric Boren0f690102018-05-15 15:04:58 -0400424 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
Eric Borenbbb24f22017-03-21 08:20:33 -0400425 },
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400426 "infra_step": true,
Mike Kleine0b048c2017-02-03 13:31:05 -0500427 "name": "push_if_needed [START_DIR]/svg"
428 },
429 {
430 "cmd": [
431 "[START_DIR]/skia/platform_tools/ios/bin/ios_push_file",
432 "[START_DIR]/tmp/SVG_VERSION",
433 "tmp/SVG_VERSION"
434 ],
Eric Borenbbb24f22017-03-21 08:20:33 -0400435 "env": {
Eric Borenbbb24f22017-03-21 08:20:33 -0400436 "CHROME_HEADLESS": "1",
437 "IOS_BUNDLE_ID": "com.google.nanobench",
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400438 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
Eric Boren0f690102018-05-15 15:04:58 -0400439 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
Eric Borenbbb24f22017-03-21 08:20:33 -0400440 },
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400441 "infra_step": true,
Mike Kleine0b048c2017-02-03 13:31:05 -0500442 "name": "push_file [START_DIR]/tmp/SVG_VERSION"
443 },
444 {
445 "cmd": [
446 "[START_DIR]/skia/platform_tools/ios/bin/ios_rm",
447 "perf"
448 ],
Eric Borenbbb24f22017-03-21 08:20:33 -0400449 "env": {
Eric Borenbbb24f22017-03-21 08:20:33 -0400450 "CHROME_HEADLESS": "1",
451 "IOS_BUNDLE_ID": "com.google.nanobench",
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400452 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
Eric Boren0f690102018-05-15 15:04:58 -0400453 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
Eric Borenbbb24f22017-03-21 08:20:33 -0400454 },
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400455 "infra_step": true,
Mike Kleine0b048c2017-02-03 13:31:05 -0500456 "name": "rm perf"
457 },
458 {
459 "cmd": [
460 "[START_DIR]/skia/platform_tools/ios/bin/ios_mkdir",
461 "perf"
462 ],
Eric Borenbbb24f22017-03-21 08:20:33 -0400463 "env": {
Eric Borenbbb24f22017-03-21 08:20:33 -0400464 "CHROME_HEADLESS": "1",
465 "IOS_BUNDLE_ID": "com.google.nanobench",
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400466 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
Eric Boren0f690102018-05-15 15:04:58 -0400467 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
Eric Borenbbb24f22017-03-21 08:20:33 -0400468 },
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400469 "infra_step": true,
Mike Kleine0b048c2017-02-03 13:31:05 -0500470 "name": "mkdir perf"
Mike Klein20980082017-02-02 13:45:15 -0500471 },
472 {
473 "cmd": [
Eric Borenf9aa9e52017-04-10 09:56:10 -0400474 "python",
475 "-u",
476 "import os\nprint os.environ.get('SWARMING_BOT_ID', '')\n"
477 ],
478 "env": {
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400479 "IOS_BUNDLE_ID": "com.google.nanobench",
480 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice"
Eric Borenf9aa9e52017-04-10 09:56:10 -0400481 },
482 "name": "get swarming bot id",
483 "stdout": "/path/to/tmp/",
484 "~followup_annotations": [
485 "@@@STEP_LOG_LINE@python.inline@import os@@@",
486 "@@@STEP_LOG_LINE@python.inline@print os.environ.get('SWARMING_BOT_ID', '')@@@",
487 "@@@STEP_LOG_END@python.inline@@@"
488 ]
489 },
490 {
491 "cmd": [
492 "python",
493 "-u",
494 "import os\nprint os.environ.get('SWARMING_TASK_ID', '')\n"
495 ],
496 "env": {
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400497 "IOS_BUNDLE_ID": "com.google.nanobench",
498 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice"
Eric Borenf9aa9e52017-04-10 09:56:10 -0400499 },
500 "name": "get swarming task id",
501 "stdout": "/path/to/tmp/",
502 "~followup_annotations": [
503 "@@@STEP_LOG_LINE@python.inline@import os@@@",
504 "@@@STEP_LOG_LINE@python.inline@print os.environ.get('SWARMING_TASK_ID', '')@@@",
505 "@@@STEP_LOG_END@python.inline@@@"
506 ]
507 },
508 {
509 "cmd": [
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400510 "idevice-app-runner",
511 "-s",
512 "com.google.nanobench",
Mike Kleinf6168ae2017-02-02 16:43:21 -0500513 "--args",
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400514 "-i",
515 "resources",
516 "--skps",
517 "skps",
518 "--images",
519 "images/nanobench",
520 "--svgs",
521 "svgs",
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400522 "--pre_log",
523 "--images",
524 "--gpuStatsDump",
525 "true",
526 "--scales",
527 "1.0",
528 "1.1",
529 "--skps",
530 "ignore_skps",
Ben Wagner32fa5102017-08-10 21:25:55 -0400531 "--nocpu",
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400532 "--config",
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400533 "gles",
Ben Wagner769faa22017-08-11 15:32:50 -0400534 "glessrgb",
Brian Osman5e117772018-06-20 14:53:06 -0400535 "glesesrgb",
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400536 "--match",
537 "~blurroundrect",
538 "~patch_grid",
539 "~desk_carsvg",
540 "~keymobi",
541 "~path_hairline",
542 "~GLInstancedArraysBench",
543 "~inc0.gif",
544 "~inc1.gif",
545 "~incInterlaced.gif",
546 "~inc0.jpg",
547 "~incGray.jpg",
548 "~inc0.wbmp",
549 "~inc1.wbmp",
550 "~inc0.webp",
551 "~inc1.webp",
552 "~inc0.ico",
553 "~inc1.ico",
554 "~inc0.png",
555 "~inc1.png",
556 "~inc2.png",
557 "~inc12.png",
558 "~inc13.png",
559 "~inc14.png",
560 "~inc0.webp",
561 "~inc1.webp",
562 "--outResultsFile",
563 "perf/nanobench_abc123_1337000001.json",
564 "--properties",
565 "gitHash",
566 "abc123",
567 "swarming_bot_id",
Ben Wagnerf835c222017-04-30 11:14:51 -0400568 "skia-bot-123",
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400569 "swarming_task_id",
Ben Wagnerf835c222017-04-30 11:14:51 -0400570 "123456",
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400571 "--key",
572 "arch",
Ben Wagner6e0a6b32017-09-26 14:11:15 -0400573 "arm64",
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400574 "compiler",
575 "Clang",
576 "cpu_or_gpu",
577 "GPU",
578 "cpu_or_gpu_value",
Ben Wagner6e0a6b32017-09-26 14:11:15 -0400579 "GT7800",
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400580 "model",
Ben Wagner6e0a6b32017-09-26 14:11:15 -0400581 "iPadPro",
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400582 "os",
583 "iOS"
Mike Klein33b003b2017-02-02 14:05:11 -0500584 ],
Kevin Lubick0a51b482017-02-06 12:45:29 -0500585 "env": {
Kevin Lubick0a51b482017-02-06 12:45:29 -0500586 "CHROME_HEADLESS": "1",
Mike Klein3b36c062017-02-06 13:44:12 -0500587 "IOS_BUNDLE_ID": "com.google.nanobench",
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400588 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
Eric Boren0f690102018-05-15 15:04:58 -0400589 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
Kevin Lubick0a51b482017-02-06 12:45:29 -0500590 },
Mike Kleinf6168ae2017-02-02 16:43:21 -0500591 "name": "nanobench"
Mike Klein20980082017-02-02 13:45:15 -0500592 },
593 {
594 "cmd": [
595 "python",
596 "-u",
Robert Iannucci8cd50412017-07-07 14:36:58 -0700597 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
598 "--json-output",
599 "/path/to/tmp/json",
600 "ensure-directory",
601 "--mode",
602 "0777",
Eric Borencd0a98c2018-06-20 13:23:16 -0400603 "[START_DIR]/[SWARM_OUT_DIR]"
Mike Klein20980082017-02-02 13:45:15 -0500604 ],
Eric Borenbbb24f22017-03-21 08:20:33 -0400605 "env": {
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400606 "IOS_BUNDLE_ID": "com.google.nanobench",
607 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice"
Eric Borenbbb24f22017-03-21 08:20:33 -0400608 },
Eric Boren3e2ffd72017-06-16 13:10:22 -0400609 "infra_step": true,
Robert Iannucci8cd50412017-07-07 14:36:58 -0700610 "name": "makedirs perf_dir"
Mike Klein20980082017-02-02 13:45:15 -0500611 },
612 {
Mike Klein20f00782017-02-02 18:55:03 -0500613 "cmd": [
614 "[START_DIR]/skia/platform_tools/ios/bin/ios_pull_if_needed",
Mike Kleine0b048c2017-02-03 13:31:05 -0500615 "perf",
Eric Borencd0a98c2018-06-20 13:23:16 -0400616 "[START_DIR]/[SWARM_OUT_DIR]"
Mike Klein20f00782017-02-02 18:55:03 -0500617 ],
Eric Borenbbb24f22017-03-21 08:20:33 -0400618 "env": {
Eric Borenbbb24f22017-03-21 08:20:33 -0400619 "CHROME_HEADLESS": "1",
620 "IOS_BUNDLE_ID": "com.google.nanobench",
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400621 "IOS_MOUNT_POINT": "[START_DIR]/mnt_iosdevice",
Eric Boren0f690102018-05-15 15:04:58 -0400622 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
Eric Borenbbb24f22017-03-21 08:20:33 -0400623 },
Stephan Altmueller63e843d2017-04-25 11:38:38 -0400624 "infra_step": true,
Mike Kleine0b048c2017-02-03 13:31:05 -0500625 "name": "pull_if_needed perf"
Mike Klein20f00782017-02-02 18:55:03 -0500626 },
627 {
Mike Klein20980082017-02-02 13:45:15 -0500628 "name": "$result",
629 "recipe_result": null,
630 "status_code": 0
631 }
632]