Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(442)

Side by Side Diff: scripts/slave/recipes/flutter/flutter.expected/enumerate_xcode_installations.json

Issue 1768473002: setup the correct version of Xcode (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: address comments Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 [ 1 [
2 { 2 {
3 "cmd": [ 3 "cmd": [
4 "python", 4 "python",
5 "-u", 5 "-u",
6 "\nimport os, sys\nfrom common import chromium_utils # Error? See https:// crbug.com/584783.\n\npath = sys.argv[1]\nif os.path.exists(path):\n for p in (o s.path.join(path, x) for x in os.listdir(path)):\n if os.path.isdir(p):\n chromium_utils.RemoveDirectory(p)\n else:\n os.unlink(p)\n",
7 "[SLAVE_BUILD]"
8 ],
9 "cwd": "[SLAVE_BUILD]",
10 "name": "rmcontents everything",
11 "~followup_annotations": [
12 "@@@STEP_LOG_LINE@python.inline@@@@",
13 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@",
14 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@",
15 "@@@STEP_LOG_LINE@python.inline@@@@",
16 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
17 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(path):@@@",
18 "@@@STEP_LOG_LINE@python.inline@ for p in (os.path.join(path, x) for x in os.listdir(path)):@@@",
19 "@@@STEP_LOG_LINE@python.inline@ if os.path.isdir(p):@@@",
20 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(p)@@@ ",
21 "@@@STEP_LOG_LINE@python.inline@ else:@@@",
22 "@@@STEP_LOG_LINE@python.inline@ os.unlink(p)@@@",
23 "@@@STEP_LOG_END@python.inline@@@"
24 ]
25 },
26 {
27 "cmd": [
28 "python",
29 "-u",
30 "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", 6 "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py",
31 "--path", 7 "--path",
32 "[SLAVE_BUILD]/flutter", 8 "[SLAVE_BUILD]/flutter",
33 "--url", 9 "--url",
34 "https://chromium.googlesource.com/external/github.com/flutter/flutter" 10 "https://chromium.googlesource.com/external/github.com/flutter/flutter"
35 ], 11 ],
36 "cwd": "[SLAVE_BUILD]", 12 "cwd": "[SLAVE_BUILD]",
37 "name": "git setup" 13 "name": "git setup"
38 }, 14 },
39 { 15 {
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 "submodule", 74 "submodule",
99 "update", 75 "update",
100 "--init", 76 "--init",
101 "--recursive" 77 "--recursive"
102 ], 78 ],
103 "cwd": "[SLAVE_BUILD]/flutter", 79 "cwd": "[SLAVE_BUILD]/flutter",
104 "name": "submodule update" 80 "name": "submodule update"
105 }, 81 },
106 { 82 {
107 "cmd": [ 83 "cmd": [
108 "[SLAVE_BUILD]/flutter/infra/download_android_tools.py" 84 "python",
85 "-u",
86 "[BUILD]/scripts/slave/ios/find_xcode.py",
87 "--json-file",
88 "/path/to/tmp/json"
109 ], 89 ],
110 "cwd": "[SLAVE_BUILD]", 90 "cwd": "[SLAVE_BUILD]",
111 "name": "download android tools" 91 "env": {
92 "ANDROID_HOME": "[SLAVE_BUILD]/flutter/infra/android_tools",
93 "PATH": "[SLAVE_BUILD]/flutter/bin:[SLAVE_BUILD]/flutter/bin/cache/dart-sd k/bin:%(PATH)s",
94 "PUB_CACHE": "[SLAVE_BUILD]/.pub-cache"
95 },
96 "name": "enumerate_xcode_installations",
97 "~followup_annotations": [
98 "@@@STEP_LOG_LINE@json.output@{@@@",
99 "@@@STEP_LOG_LINE@json.output@ \"some\": \"json\"@@@",
100 "@@@STEP_LOG_LINE@json.output@}@@@",
101 "@@@STEP_LOG_END@json.output@@@"
102 ]
112 }, 103 },
113 { 104 {
114 "cmd": [ 105 "cmd": [
115 "flutter", 106 "flutter",
116 "doctor" 107 "doctor"
117 ], 108 ],
118 "cwd": "[SLAVE_BUILD]", 109 "cwd": "[SLAVE_BUILD]",
119 "env": { 110 "env": {
120 "ANDROID_HOME": "[SLAVE_BUILD]/flutter/infra/android_tools", 111 "ANDROID_HOME": "[SLAVE_BUILD]/flutter/infra/android_tools",
121 "PATH": "[SLAVE_BUILD]/flutter/bin:[SLAVE_BUILD]/flutter/bin/cache/dart-sd k/bin:%(PATH)s", 112 "PATH": "[SLAVE_BUILD]/flutter/bin:[SLAVE_BUILD]/flutter/bin/cache/dart-sd k/bin:%(PATH)s",
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
395 "-u", 386 "-u",
396 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", 387 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py",
397 "--", 388 "--",
398 "[DEPOT_TOOLS]/gsutil.py", 389 "[DEPOT_TOOLS]/gsutil.py",
399 "----", 390 "----",
400 "-m", 391 "-m",
401 "rsync", 392 "rsync",
402 "-d", 393 "-d",
403 "-r", 394 "-r",
404 "[SLAVE_BUILD]/flutter/packages/flutter/doc/api", 395 "[SLAVE_BUILD]/flutter/packages/flutter/doc/api",
405 "gs://docs.flutter.io/flutter" 396 "gs://docs.flutter.io/packages/flutter"
406 ], 397 ],
407 "cwd": "[SLAVE_BUILD]", 398 "cwd": "[SLAVE_BUILD]",
408 "env": { 399 "env": {
409 "ANDROID_HOME": "[SLAVE_BUILD]/flutter/infra/android_tools", 400 "ANDROID_HOME": "[SLAVE_BUILD]/flutter/infra/android_tools",
410 "PATH": "[SLAVE_BUILD]/flutter/bin:[SLAVE_BUILD]/flutter/bin/cache/dart-sd k/bin:%(PATH)s", 401 "PATH": "[SLAVE_BUILD]/flutter/bin:[SLAVE_BUILD]/flutter/bin/cache/dart-sd k/bin:%(PATH)s",
411 "PUB_CACHE": "[SLAVE_BUILD]/.pub-cache" 402 "PUB_CACHE": "[SLAVE_BUILD]/.pub-cache"
412 }, 403 },
413 "name": "gsutil rsync flutter/doc/api" 404 "name": "gsutil rsync flutter/doc/api"
414 }, 405 },
415 { 406 {
(...skipping 16 matching lines...) Expand all
432 "-u", 423 "-u",
433 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", 424 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py",
434 "--", 425 "--",
435 "[DEPOT_TOOLS]/gsutil.py", 426 "[DEPOT_TOOLS]/gsutil.py",
436 "----", 427 "----",
437 "-m", 428 "-m",
438 "rsync", 429 "rsync",
439 "-d", 430 "-d",
440 "-r", 431 "-r",
441 "[SLAVE_BUILD]/flutter/packages/playfair/doc/api", 432 "[SLAVE_BUILD]/flutter/packages/playfair/doc/api",
442 "gs://docs.flutter.io/playfair" 433 "gs://docs.flutter.io/packages/playfair"
443 ], 434 ],
444 "cwd": "[SLAVE_BUILD]", 435 "cwd": "[SLAVE_BUILD]",
445 "env": { 436 "env": {
446 "ANDROID_HOME": "[SLAVE_BUILD]/flutter/infra/android_tools", 437 "ANDROID_HOME": "[SLAVE_BUILD]/flutter/infra/android_tools",
447 "PATH": "[SLAVE_BUILD]/flutter/bin:[SLAVE_BUILD]/flutter/bin/cache/dart-sd k/bin:%(PATH)s", 438 "PATH": "[SLAVE_BUILD]/flutter/bin:[SLAVE_BUILD]/flutter/bin/cache/dart-sd k/bin:%(PATH)s",
448 "PUB_CACHE": "[SLAVE_BUILD]/.pub-cache" 439 "PUB_CACHE": "[SLAVE_BUILD]/.pub-cache"
449 }, 440 },
450 "name": "gsutil rsync playfair/doc/api" 441 "name": "gsutil rsync playfair/doc/api"
451 }, 442 },
452 { 443 {
(...skipping 16 matching lines...) Expand all
469 "-u", 460 "-u",
470 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", 461 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py",
471 "--", 462 "--",
472 "[DEPOT_TOOLS]/gsutil.py", 463 "[DEPOT_TOOLS]/gsutil.py",
473 "----", 464 "----",
474 "-m", 465 "-m",
475 "rsync", 466 "rsync",
476 "-d", 467 "-d",
477 "-r", 468 "-r",
478 "[SLAVE_BUILD]/flutter/packages/cassowary/doc/api", 469 "[SLAVE_BUILD]/flutter/packages/cassowary/doc/api",
479 "gs://docs.flutter.io/cassowary" 470 "gs://docs.flutter.io/packages/cassowary"
480 ], 471 ],
481 "cwd": "[SLAVE_BUILD]", 472 "cwd": "[SLAVE_BUILD]",
482 "env": { 473 "env": {
483 "ANDROID_HOME": "[SLAVE_BUILD]/flutter/infra/android_tools", 474 "ANDROID_HOME": "[SLAVE_BUILD]/flutter/infra/android_tools",
484 "PATH": "[SLAVE_BUILD]/flutter/bin:[SLAVE_BUILD]/flutter/bin/cache/dart-sd k/bin:%(PATH)s", 475 "PATH": "[SLAVE_BUILD]/flutter/bin:[SLAVE_BUILD]/flutter/bin/cache/dart-sd k/bin:%(PATH)s",
485 "PUB_CACHE": "[SLAVE_BUILD]/.pub-cache" 476 "PUB_CACHE": "[SLAVE_BUILD]/.pub-cache"
486 }, 477 },
487 "name": "gsutil rsync cassowary/doc/api" 478 "name": "gsutil rsync cassowary/doc/api"
488 }, 479 },
489 { 480 {
(...skipping 16 matching lines...) Expand all
506 "-u", 497 "-u",
507 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", 498 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py",
508 "--", 499 "--",
509 "[DEPOT_TOOLS]/gsutil.py", 500 "[DEPOT_TOOLS]/gsutil.py",
510 "----", 501 "----",
511 "-m", 502 "-m",
512 "rsync", 503 "rsync",
513 "-d", 504 "-d",
514 "-r", 505 "-r",
515 "[SLAVE_BUILD]/flutter/packages/flutter_test/doc/api", 506 "[SLAVE_BUILD]/flutter/packages/flutter_test/doc/api",
516 "gs://docs.flutter.io/flutter_test" 507 "gs://docs.flutter.io/packages/flutter_test"
517 ], 508 ],
518 "cwd": "[SLAVE_BUILD]", 509 "cwd": "[SLAVE_BUILD]",
519 "env": { 510 "env": {
520 "ANDROID_HOME": "[SLAVE_BUILD]/flutter/infra/android_tools", 511 "ANDROID_HOME": "[SLAVE_BUILD]/flutter/infra/android_tools",
521 "PATH": "[SLAVE_BUILD]/flutter/bin:[SLAVE_BUILD]/flutter/bin/cache/dart-sd k/bin:%(PATH)s", 512 "PATH": "[SLAVE_BUILD]/flutter/bin:[SLAVE_BUILD]/flutter/bin/cache/dart-sd k/bin:%(PATH)s",
522 "PUB_CACHE": "[SLAVE_BUILD]/.pub-cache" 513 "PUB_CACHE": "[SLAVE_BUILD]/.pub-cache"
523 }, 514 },
524 "name": "gsutil rsync flutter_test/doc/api" 515 "name": "gsutil rsync flutter_test/doc/api"
525 }, 516 },
526 { 517 {
(...skipping 16 matching lines...) Expand all
543 "-u", 534 "-u",
544 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", 535 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py",
545 "--", 536 "--",
546 "[DEPOT_TOOLS]/gsutil.py", 537 "[DEPOT_TOOLS]/gsutil.py",
547 "----", 538 "----",
548 "-m", 539 "-m",
549 "rsync", 540 "rsync",
550 "-d", 541 "-d",
551 "-r", 542 "-r",
552 "[SLAVE_BUILD]/flutter/packages/flutter_sprites/doc/api", 543 "[SLAVE_BUILD]/flutter/packages/flutter_sprites/doc/api",
553 "gs://docs.flutter.io/flutter_sprites" 544 "gs://docs.flutter.io/packages/flutter_sprites"
554 ], 545 ],
555 "cwd": "[SLAVE_BUILD]", 546 "cwd": "[SLAVE_BUILD]",
556 "env": { 547 "env": {
557 "ANDROID_HOME": "[SLAVE_BUILD]/flutter/infra/android_tools", 548 "ANDROID_HOME": "[SLAVE_BUILD]/flutter/infra/android_tools",
558 "PATH": "[SLAVE_BUILD]/flutter/bin:[SLAVE_BUILD]/flutter/bin/cache/dart-sd k/bin:%(PATH)s", 549 "PATH": "[SLAVE_BUILD]/flutter/bin:[SLAVE_BUILD]/flutter/bin/cache/dart-sd k/bin:%(PATH)s",
559 "PUB_CACHE": "[SLAVE_BUILD]/.pub-cache" 550 "PUB_CACHE": "[SLAVE_BUILD]/.pub-cache"
560 }, 551 },
561 "name": "gsutil rsync flutter_sprites/doc/api" 552 "name": "gsutil rsync flutter_sprites/doc/api"
562 }, 553 },
563 { 554 {
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
607 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[ 1])@@@", 598 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[ 1])@@@",
608 "@@@STEP_LOG_END@python.inline@@@" 599 "@@@STEP_LOG_END@python.inline@@@"
609 ] 600 ]
610 }, 601 },
611 { 602 {
612 "name": "$result", 603 "name": "$result",
613 "recipe_result": null, 604 "recipe_result": null,
614 "status_code": 0 605 "status_code": 0
615 } 606 }
616 ] 607 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698