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

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

Issue 1768473002: setup the correct version of Xcode (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: remove spaces 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
« no previous file with comments | « scripts/slave/recipes/flutter/flutter.expected/mac.json ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 [
2 {
3 "cmd": [
4 "python",
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",
31 "--path",
32 "[SLAVE_BUILD]/flutter",
33 "--url",
34 "https://chromium.googlesource.com/external/github.com/flutter/flutter"
35 ],
36 "cwd": "[SLAVE_BUILD]",
37 "name": "git setup"
38 },
39 {
40 "cmd": [
41 "git",
42 "retry",
43 "fetch",
44 "origin",
45 "master",
46 "--recurse-submodules"
47 ],
48 "cwd": "[SLAVE_BUILD]/flutter",
49 "name": "git fetch"
50 },
51 {
52 "cmd": [
53 "git",
54 "checkout",
55 "-f",
56 "FETCH_HEAD"
57 ],
58 "cwd": "[SLAVE_BUILD]/flutter",
59 "name": "git checkout"
60 },
61 {
62 "cmd": [
63 "git",
64 "rev-parse",
65 "HEAD"
66 ],
67 "cwd": "[SLAVE_BUILD]/flutter",
68 "name": "read revision",
69 "stdout": "/path/to/tmp/",
70 "~followup_annotations": [
71 "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@",
72 "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@"
73 ]
74 },
75 {
76 "cmd": [
77 "git",
78 "clean",
79 "-f",
80 "-d",
81 "-x"
82 ],
83 "cwd": "[SLAVE_BUILD]/flutter",
84 "name": "git clean"
85 },
86 {
87 "cmd": [
88 "git",
89 "submodule",
90 "sync"
91 ],
92 "cwd": "[SLAVE_BUILD]/flutter",
93 "name": "submodule sync"
94 },
95 {
96 "cmd": [
97 "git",
98 "submodule",
99 "update",
100 "--init",
101 "--recursive"
102 ],
103 "cwd": "[SLAVE_BUILD]/flutter",
104 "name": "submodule update"
105 },
106 {
107 "cmd": [
108 "[SLAVE_BUILD]/flutter/infra/download_android_tools.py"
109 ],
110 "cwd": "[SLAVE_BUILD]",
111 "name": "download android tools"
112 },
113 {
114 "cmd": [
115 "python",
116 "-u",
117 "[BUILD]/scripts/slave/ios/find_xcode.py",
118 "--json-file",
119 "/path/to/tmp/json"
120 ],
121 "cwd": "[SLAVE_BUILD]",
122 "env": {
123 "ANDROID_HOME": "[SLAVE_BUILD]/flutter/infra/android_tools",
124 "PATH": "[SLAVE_BUILD]/flutter/bin:[SLAVE_BUILD]/flutter/bin/cache/dart-sd k/bin:%(PATH)s",
125 "PUB_CACHE": "[SLAVE_BUILD]/.pub-cache"
126 },
127 "name": "enumerate_xcode_installations",
128 "~followup_annotations": [
129 "@@@STEP_LOG_LINE@json.output@{@@@",
130 "@@@STEP_LOG_LINE@json.output@ \"installations\": {}@@@",
131 "@@@STEP_LOG_LINE@json.output@}@@@",
132 "@@@STEP_LOG_END@json.output@@@"
133 ]
134 },
135 {
136 "name": "$result",
137 "reason": "Xcode version 7 or above not found",
138 "status_code": 1
139 }
140 ]
OLDNEW
« no previous file with comments | « scripts/slave/recipes/flutter/flutter.expected/mac.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698