1[ 2 { 3 "cmd": [ 4 "python", 5 "-u", 6 "[START_DIR]/skia/bin/fetch-gn" 7 ], 8 "cwd": "[START_DIR]/skia", 9 "env": { 10 "BUILDTYPE": "Debug", 11 "CHROME_HEADLESS": "1", 12 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]", 13 "SKIA_OUT": "[START_DIR]/out" 14 }, 15 "infra_step": true, 16 "name": "fetch-gn" 17 }, 18 { 19 "cmd": [ 20 "[START_DIR]/skia/bin/gn", 21 "gen", 22 "[START_DIR]/out/Debug", 23 "--args=cc=\"clang\" cxx=\"clang++\" extra_cflags=[\"-O1\"]" 24 ], 25 "cwd": "[START_DIR]/skia", 26 "env": { 27 "BUILDTYPE": "Debug", 28 "CHROME_HEADLESS": "1", 29 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]", 30 "SKIA_OUT": "[START_DIR]/out" 31 }, 32 "name": "gn gen" 33 }, 34 { 35 "cmd": [ 36 "ninja", 37 "-k", 38 "0", 39 "-C", 40 "[START_DIR]/out/Debug" 41 ], 42 "cwd": "[START_DIR]/skia", 43 "env": { 44 "BUILDTYPE": "Debug", 45 "CHROME_HEADLESS": "1", 46 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]", 47 "SKIA_OUT": "[START_DIR]/out" 48 }, 49 "name": "ninja" 50 }, 51 { 52 "cmd": [ 53 "[START_DIR]/skia/platform_tools/ios/bin/ios_push_file", 54 "file.txt", 55 "file.txt" 56 ], 57 "env": { 58 "BUILDTYPE": "Debug", 59 "CHROME_HEADLESS": "1", 60 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]", 61 "SKIA_OUT": "[START_DIR]/out" 62 }, 63 "infra_step": true, 64 "name": "push_file file.txt" 65 }, 66 { 67 "cmd": [ 68 "python", 69 "-u", 70 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", 71 "--json-output", 72 "/path/to/tmp/json", 73 "rmtree", 74 "results_dir" 75 ], 76 "infra_step": true, 77 "name": "rmtree results_dir" 78 }, 79 { 80 "cmd": [ 81 "python", 82 "-u", 83 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", 84 "--json-output", 85 "/path/to/tmp/json", 86 "ensure-directory", 87 "--mode", 88 "0777", 89 "results_dir" 90 ], 91 "infra_step": true, 92 "name": "makedirs results_dir" 93 }, 94 { 95 "cmd": [ 96 "[START_DIR]/skia/platform_tools/ios/bin/ios_rm", 97 "device_results_dir" 98 ], 99 "env": { 100 "BUILDTYPE": "Debug", 101 "CHROME_HEADLESS": "1", 102 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]", 103 "SKIA_OUT": "[START_DIR]/out" 104 }, 105 "infra_step": true, 106 "name": "rm device_results_dir" 107 }, 108 { 109 "cmd": [ 110 "[START_DIR]/skia/platform_tools/ios/bin/ios_mkdir", 111 "device_results_dir" 112 ], 113 "env": { 114 "BUILDTYPE": "Debug", 115 "CHROME_HEADLESS": "1", 116 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]", 117 "SKIA_OUT": "[START_DIR]/out" 118 }, 119 "infra_step": true, 120 "name": "mkdir device_results_dir" 121 }, 122 { 123 "cmd": [ 124 "ios.py" 125 ], 126 "env": { 127 "BUILDTYPE": "Debug", 128 "CHROME_HEADLESS": "1", 129 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]", 130 "SKIA_OUT": "[START_DIR]/out" 131 }, 132 "infra_step": true, 133 "name": "setup_device" 134 }, 135 { 136 "cmd": [ 137 "ideviceinstaller", 138 "-i", 139 "[START_DIR]/out/Debug/dm.app" 140 ], 141 "env": { 142 "BUILDTYPE": "Debug", 143 "CHROME_HEADLESS": "1", 144 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]", 145 "SKIA_OUT": "[START_DIR]/out" 146 }, 147 "infra_step": true, 148 "name": "install_dm" 149 }, 150 { 151 "cmd": [ 152 "ideviceinstaller", 153 "-i", 154 "[START_DIR]/out/Debug/nanobench.app" 155 ], 156 "env": { 157 "BUILDTYPE": "Debug", 158 "CHROME_HEADLESS": "1", 159 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]", 160 "SKIA_OUT": "[START_DIR]/out" 161 }, 162 "infra_step": true, 163 "name": "install_nanobench" 164 }, 165 { 166 "cmd": [ 167 "[START_DIR]/skia/platform_tools/ios/bin/ios_push_if_needed", 168 "[START_DIR]/skia/resources", 169 "resources" 170 ], 171 "env": { 172 "BUILDTYPE": "Debug", 173 "CHROME_HEADLESS": "1", 174 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]", 175 "SKIA_OUT": "[START_DIR]/out" 176 }, 177 "infra_step": true, 178 "name": "push_if_needed [START_DIR]/skia/resources" 179 }, 180 { 181 "cmd": [ 182 "python", 183 "-u", 184 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", 185 "--json-output", 186 "/path/to/tmp/json", 187 "copy", 188 "[START_DIR]/skia/infra/bots/assets/skp/VERSION", 189 "/path/to/tmp/" 190 ], 191 "infra_step": true, 192 "name": "Get downloaded SKP VERSION" 193 }, 194 { 195 "cmd": [ 196 "python", 197 "-u", 198 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", 199 "--json-output", 200 "/path/to/tmp/json", 201 "copy", 202 "42", 203 "[START_DIR]/tmp/SKP_VERSION" 204 ], 205 "infra_step": true, 206 "name": "write SKP_VERSION" 207 }, 208 { 209 "cmd": [ 210 "[START_DIR]/skia/platform_tools/ios/bin/ios_cat_file", 211 "tmp/SKP_VERSION" 212 ], 213 "env": { 214 "BUILDTYPE": "Debug", 215 "CHROME_HEADLESS": "1", 216 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]", 217 "SKIA_OUT": "[START_DIR]/out" 218 }, 219 "infra_step": true, 220 "name": "cat_file tmp/SKP_VERSION", 221 "stdout": "/path/to/tmp/" 222 }, 223 { 224 "cmd": [ 225 "[START_DIR]/skia/platform_tools/ios/bin/ios_rm", 226 "tmp/SKP_VERSION" 227 ], 228 "env": { 229 "BUILDTYPE": "Debug", 230 "CHROME_HEADLESS": "1", 231 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]", 232 "SKIA_OUT": "[START_DIR]/out" 233 }, 234 "infra_step": true, 235 "name": "rm tmp/SKP_VERSION" 236 }, 237 { 238 "cmd": [ 239 "[START_DIR]/skia/platform_tools/ios/bin/ios_rm", 240 "skps" 241 ], 242 "env": { 243 "BUILDTYPE": "Debug", 244 "CHROME_HEADLESS": "1", 245 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]", 246 "SKIA_OUT": "[START_DIR]/out" 247 }, 248 "infra_step": true, 249 "name": "rm skps" 250 }, 251 { 252 "cmd": [ 253 "[START_DIR]/skia/platform_tools/ios/bin/ios_mkdir", 254 "skps" 255 ], 256 "env": { 257 "BUILDTYPE": "Debug", 258 "CHROME_HEADLESS": "1", 259 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]", 260 "SKIA_OUT": "[START_DIR]/out" 261 }, 262 "infra_step": true, 263 "name": "mkdir skps" 264 }, 265 { 266 "cmd": [ 267 "[START_DIR]/skia/platform_tools/ios/bin/ios_push_if_needed", 268 "[START_DIR]/skp", 269 "skps" 270 ], 271 "env": { 272 "BUILDTYPE": "Debug", 273 "CHROME_HEADLESS": "1", 274 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]", 275 "SKIA_OUT": "[START_DIR]/out" 276 }, 277 "infra_step": true, 278 "name": "push_if_needed [START_DIR]/skp" 279 }, 280 { 281 "cmd": [ 282 "[START_DIR]/skia/platform_tools/ios/bin/ios_push_file", 283 "[START_DIR]/tmp/SKP_VERSION", 284 "tmp/SKP_VERSION" 285 ], 286 "env": { 287 "BUILDTYPE": "Debug", 288 "CHROME_HEADLESS": "1", 289 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]", 290 "SKIA_OUT": "[START_DIR]/out" 291 }, 292 "infra_step": true, 293 "name": "push_file [START_DIR]/tmp/SKP_VERSION" 294 }, 295 { 296 "cmd": [ 297 "python", 298 "-u", 299 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", 300 "--json-output", 301 "/path/to/tmp/json", 302 "copy", 303 "[START_DIR]/skia/infra/bots/assets/skimage/VERSION", 304 "/path/to/tmp/" 305 ], 306 "infra_step": true, 307 "name": "Get downloaded skimage VERSION" 308 }, 309 { 310 "cmd": [ 311 "python", 312 "-u", 313 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", 314 "--json-output", 315 "/path/to/tmp/json", 316 "copy", 317 "42", 318 "[START_DIR]/tmp/SK_IMAGE_VERSION" 319 ], 320 "infra_step": true, 321 "name": "write SK_IMAGE_VERSION" 322 }, 323 { 324 "cmd": [ 325 "[START_DIR]/skia/platform_tools/ios/bin/ios_cat_file", 326 "tmp/SK_IMAGE_VERSION" 327 ], 328 "env": { 329 "BUILDTYPE": "Debug", 330 "CHROME_HEADLESS": "1", 331 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]", 332 "SKIA_OUT": "[START_DIR]/out" 333 }, 334 "infra_step": true, 335 "name": "cat_file tmp/SK_IMAGE_VERSION", 336 "stdout": "/path/to/tmp/" 337 }, 338 { 339 "cmd": [ 340 "[START_DIR]/skia/platform_tools/ios/bin/ios_rm", 341 "tmp/SK_IMAGE_VERSION" 342 ], 343 "env": { 344 "BUILDTYPE": "Debug", 345 "CHROME_HEADLESS": "1", 346 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]", 347 "SKIA_OUT": "[START_DIR]/out" 348 }, 349 "infra_step": true, 350 "name": "rm tmp/SK_IMAGE_VERSION" 351 }, 352 { 353 "cmd": [ 354 "[START_DIR]/skia/platform_tools/ios/bin/ios_rm", 355 "images" 356 ], 357 "env": { 358 "BUILDTYPE": "Debug", 359 "CHROME_HEADLESS": "1", 360 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]", 361 "SKIA_OUT": "[START_DIR]/out" 362 }, 363 "infra_step": true, 364 "name": "rm images" 365 }, 366 { 367 "cmd": [ 368 "[START_DIR]/skia/platform_tools/ios/bin/ios_mkdir", 369 "images" 370 ], 371 "env": { 372 "BUILDTYPE": "Debug", 373 "CHROME_HEADLESS": "1", 374 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]", 375 "SKIA_OUT": "[START_DIR]/out" 376 }, 377 "infra_step": true, 378 "name": "mkdir images" 379 }, 380 { 381 "cmd": [ 382 "[START_DIR]/skia/platform_tools/ios/bin/ios_push_if_needed", 383 "[START_DIR]/skimage", 384 "images" 385 ], 386 "env": { 387 "BUILDTYPE": "Debug", 388 "CHROME_HEADLESS": "1", 389 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]", 390 "SKIA_OUT": "[START_DIR]/out" 391 }, 392 "infra_step": true, 393 "name": "push_if_needed [START_DIR]/skimage" 394 }, 395 { 396 "cmd": [ 397 "[START_DIR]/skia/platform_tools/ios/bin/ios_push_file", 398 "[START_DIR]/tmp/SK_IMAGE_VERSION", 399 "tmp/SK_IMAGE_VERSION" 400 ], 401 "env": { 402 "BUILDTYPE": "Debug", 403 "CHROME_HEADLESS": "1", 404 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]", 405 "SKIA_OUT": "[START_DIR]/out" 406 }, 407 "infra_step": true, 408 "name": "push_file [START_DIR]/tmp/SK_IMAGE_VERSION" 409 }, 410 { 411 "cmd": [ 412 "python", 413 "-u", 414 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", 415 "--json-output", 416 "/path/to/tmp/json", 417 "copy", 418 "[START_DIR]/skia/infra/bots/assets/svg/VERSION", 419 "/path/to/tmp/" 420 ], 421 "infra_step": true, 422 "name": "Get downloaded SVG VERSION" 423 }, 424 { 425 "cmd": [ 426 "python", 427 "-u", 428 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", 429 "--json-output", 430 "/path/to/tmp/json", 431 "copy", 432 "42", 433 "[START_DIR]/tmp/SVG_VERSION" 434 ], 435 "infra_step": true, 436 "name": "write SVG_VERSION" 437 }, 438 { 439 "cmd": [ 440 "[START_DIR]/skia/platform_tools/ios/bin/ios_cat_file", 441 "tmp/SVG_VERSION" 442 ], 443 "env": { 444 "BUILDTYPE": "Debug", 445 "CHROME_HEADLESS": "1", 446 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]", 447 "SKIA_OUT": "[START_DIR]/out" 448 }, 449 "infra_step": true, 450 "name": "cat_file tmp/SVG_VERSION", 451 "stdout": "/path/to/tmp/" 452 }, 453 { 454 "cmd": [ 455 "[START_DIR]/skia/platform_tools/ios/bin/ios_rm", 456 "tmp/SVG_VERSION" 457 ], 458 "env": { 459 "BUILDTYPE": "Debug", 460 "CHROME_HEADLESS": "1", 461 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]", 462 "SKIA_OUT": "[START_DIR]/out" 463 }, 464 "infra_step": true, 465 "name": "rm tmp/SVG_VERSION" 466 }, 467 { 468 "cmd": [ 469 "[START_DIR]/skia/platform_tools/ios/bin/ios_rm", 470 "svgs" 471 ], 472 "env": { 473 "BUILDTYPE": "Debug", 474 "CHROME_HEADLESS": "1", 475 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]", 476 "SKIA_OUT": "[START_DIR]/out" 477 }, 478 "infra_step": true, 479 "name": "rm svgs" 480 }, 481 { 482 "cmd": [ 483 "[START_DIR]/skia/platform_tools/ios/bin/ios_mkdir", 484 "svgs" 485 ], 486 "env": { 487 "BUILDTYPE": "Debug", 488 "CHROME_HEADLESS": "1", 489 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]", 490 "SKIA_OUT": "[START_DIR]/out" 491 }, 492 "infra_step": true, 493 "name": "mkdir svgs" 494 }, 495 { 496 "cmd": [ 497 "[START_DIR]/skia/platform_tools/ios/bin/ios_push_if_needed", 498 "[START_DIR]/svg", 499 "svgs" 500 ], 501 "env": { 502 "BUILDTYPE": "Debug", 503 "CHROME_HEADLESS": "1", 504 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]", 505 "SKIA_OUT": "[START_DIR]/out" 506 }, 507 "infra_step": true, 508 "name": "push_if_needed [START_DIR]/svg" 509 }, 510 { 511 "cmd": [ 512 "[START_DIR]/skia/platform_tools/ios/bin/ios_push_file", 513 "[START_DIR]/tmp/SVG_VERSION", 514 "tmp/SVG_VERSION" 515 ], 516 "env": { 517 "BUILDTYPE": "Debug", 518 "CHROME_HEADLESS": "1", 519 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]", 520 "SKIA_OUT": "[START_DIR]/out" 521 }, 522 "infra_step": true, 523 "name": "push_file [START_DIR]/tmp/SVG_VERSION" 524 }, 525 { 526 "cmd": [ 527 "idevice-app-runner", 528 "-s", 529 "com.google.dm", 530 "--args", 531 "--some-flag" 532 ], 533 "env": { 534 "BUILDTYPE": "Debug", 535 "CHROME_HEADLESS": "1", 536 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]", 537 "SKIA_OUT": "[START_DIR]/out" 538 }, 539 "name": "dm" 540 }, 541 { 542 "cmd": [ 543 "[START_DIR]/skia/platform_tools/ios/bin/ios_pull_if_needed", 544 "dm", 545 "[CUSTOM_[SWARM_OUT_DIR]]/dm" 546 ], 547 "env": { 548 "BUILDTYPE": "Debug", 549 "CHROME_HEADLESS": "1", 550 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]", 551 "SKIA_OUT": "[START_DIR]/out" 552 }, 553 "infra_step": true, 554 "name": "pull_if_needed dm" 555 }, 556 { 557 "name": "$result", 558 "recipe_result": null, 559 "status_code": 0 560 } 561]