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

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

Issue 1768473002: setup the correct version of Xcode (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: refactor to recommended method of invoking find_xcode.py 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", 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]" 7 "[SLAVE_BUILD]"
8 ], 8 ],
9 "cwd": "[SLAVE_BUILD]", 9 "cwd": "[SLAVE_BUILD]",
10 "name": "rmcontents everything", 10 "name": "rmcontents everything",
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 "submodule", 98 "submodule",
99 "update", 99 "update",
100 "--init", 100 "--init",
101 "--recursive" 101 "--recursive"
102 ], 102 ],
103 "cwd": "[SLAVE_BUILD]/flutter", 103 "cwd": "[SLAVE_BUILD]/flutter",
104 "name": "submodule update" 104 "name": "submodule update"
105 }, 105 },
106 { 106 {
107 "cmd": [ 107 "cmd": [
108 "[SLAVE_BUILD]/flutter/infra/download_android_tools.py" 108 "python",
109 "-u",
110 "[BUILD]/scripts/slave/ios/find_xcode.py",
111 "--json-file",
112 "/path/to/tmp/json"
109 ], 113 ],
110 "cwd": "[SLAVE_BUILD]", 114 "cwd": "[SLAVE_BUILD]",
111 "name": "download android tools" 115 "env": {
116 "ANDROID_HOME": "[SLAVE_BUILD]/flutter/infra/android_tools",
117 "PATH": "[SLAVE_BUILD]/flutter/bin:[SLAVE_BUILD]/flutter/bin/cache/dart-sd k/bin:%(PATH)s",
118 "PUB_CACHE": "[SLAVE_BUILD]/.pub-cache"
119 },
120 "name": "enumerate_xcode_installations",
121 "~followup_annotations": [
122 "@@@STEP_LOG_LINE@json.output@{@@@",
123 "@@@STEP_LOG_LINE@json.output@ \"installations\": {@@@",
124 "@@@STEP_LOG_LINE@json.output@ \"/some/path\": \"7.2.1 build_number\"@@ @",
125 "@@@STEP_LOG_LINE@json.output@ }@@@",
126 "@@@STEP_LOG_LINE@json.output@}@@@",
127 "@@@STEP_LOG_END@json.output@@@"
128 ]
112 }, 129 },
113 { 130 {
114 "cmd": [ 131 "cmd": [
132 "python",
133 "-u",
134 "[BUILD]/scripts/slave/ios/find_xcode.py",
135 "--json-file",
136 "/path/to/tmp/json",
137 "--version",
138 "7.2.1"
139 ],
140 "cwd": "[SLAVE_BUILD]",
141 "env": {
142 "ANDROID_HOME": "[SLAVE_BUILD]/flutter/infra/android_tools",
143 "PATH": "[SLAVE_BUILD]/flutter/bin:[SLAVE_BUILD]/flutter/bin/cache/dart-sd k/bin:%(PATH)s",
144 "PUB_CACHE": "[SLAVE_BUILD]/.pub-cache"
145 },
146 "name": "set_xcode_version",
147 "~followup_annotations": [
148 "@@@STEP_LOG_LINE@json.output@{}@@@",
149 "@@@STEP_LOG_END@json.output@@@"
150 ]
151 },
152 {
153 "cmd": [
115 "flutter", 154 "flutter",
116 "doctor" 155 "doctor"
117 ], 156 ],
118 "cwd": "[SLAVE_BUILD]", 157 "cwd": "[SLAVE_BUILD]",
119 "env": { 158 "env": {
120 "ANDROID_HOME": "[SLAVE_BUILD]/flutter/infra/android_tools", 159 "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", 160 "PATH": "[SLAVE_BUILD]/flutter/bin:[SLAVE_BUILD]/flutter/bin/cache/dart-sd k/bin:%(PATH)s",
122 "PUB_CACHE": "[SLAVE_BUILD]/.pub-cache" 161 "PUB_CACHE": "[SLAVE_BUILD]/.pub-cache"
123 }, 162 },
124 "name": "flutter doctor" 163 "name": "flutter doctor"
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[ 1])@@@", 330 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[ 1])@@@",
292 "@@@STEP_LOG_END@python.inline@@@" 331 "@@@STEP_LOG_END@python.inline@@@"
293 ] 332 ]
294 }, 333 },
295 { 334 {
296 "name": "$result", 335 "name": "$result",
297 "recipe_result": null, 336 "recipe_result": null,
298 "status_code": 0 337 "status_code": 0
299 } 338 }
300 ] 339 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698