OLD | NEW |
1 [ | 1 [ |
2 { | 2 { |
3 "cmd": [ | 3 "cmd": [ |
4 "python", | 4 "python", |
5 "-u", | 5 "-u", |
6 "\nimport os, sys\n\nbuild_path = sys.argv[1]\nif os.path.exists(build_pat
h):\n for (path, dir, files) in os.walk(build_path):\n for cur_file in files
:\n if cur_file.endswith('index.lock'):\n path_to_file = os.path.joi
n(path, cur_file)\n print 'deleting %s' % path_to_file\n os.remove
(path_to_file)\n", | 6 "\nimport os, sys\n\nbuild_path = sys.argv[1]\nif os.path.exists(build_pat
h):\n for (path, dir, files) in os.walk(build_path):\n for cur_file in files
:\n if cur_file.endswith('index.lock'):\n path_to_file = os.path.joi
n(path, cur_file)\n print 'deleting %s' % path_to_file\n os.remove
(path_to_file)\n", |
7 "[SLAVE_BUILD]" | 7 "[SLAVE_BUILD]" |
8 ], | 8 ], |
| 9 "cwd": "[SLAVE_BUILD]", |
9 "name": "cleanup index.lock", | 10 "name": "cleanup index.lock", |
10 "~followup_annotations": [ | 11 "~followup_annotations": [ |
11 "@@@STEP_LOG_LINE@python.inline@@@@", | 12 "@@@STEP_LOG_LINE@python.inline@@@@", |
12 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", | 13 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", |
13 "@@@STEP_LOG_LINE@python.inline@@@@", | 14 "@@@STEP_LOG_LINE@python.inline@@@@", |
14 "@@@STEP_LOG_LINE@python.inline@build_path = sys.argv[1]@@@", | 15 "@@@STEP_LOG_LINE@python.inline@build_path = sys.argv[1]@@@", |
15 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(build_path):@@@", | 16 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(build_path):@@@", |
16 "@@@STEP_LOG_LINE@python.inline@ for (path, dir, files) in os.walk(build_
path):@@@", | 17 "@@@STEP_LOG_LINE@python.inline@ for (path, dir, files) in os.walk(build_
path):@@@", |
17 "@@@STEP_LOG_LINE@python.inline@ for cur_file in files:@@@", | 18 "@@@STEP_LOG_LINE@python.inline@ for cur_file in files:@@@", |
18 "@@@STEP_LOG_LINE@python.inline@ if cur_file.endswith('index.lock'):@
@@", | 19 "@@@STEP_LOG_LINE@python.inline@ if cur_file.endswith('index.lock'):@
@@", |
(...skipping 18 matching lines...) Expand all Loading... |
37 "cache_dir = None\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True
, 'name': 'src', 'url': 'https://chromium.googlesource.com/chromium/src'}]\ntarg
et_os = ['android']", | 38 "cache_dir = None\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True
, 'name': 'src', 'url': 'https://chromium.googlesource.com/chromium/src'}]\ntarg
et_os = ['android']", |
38 "--root", | 39 "--root", |
39 "src", | 40 "src", |
40 "--revision_mapping_file", | 41 "--revision_mapping_file", |
41 "{}", | 42 "{}", |
42 "--output_json", | 43 "--output_json", |
43 "/path/to/tmp/json", | 44 "/path/to/tmp/json", |
44 "--revision", | 45 "--revision", |
45 "src@4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00" | 46 "src@4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00" |
46 ], | 47 ], |
| 48 "cwd": "[SLAVE_BUILD]", |
47 "name": "bot_update", | 49 "name": "bot_update", |
48 "~followup_annotations": [ | 50 "~followup_annotations": [ |
49 "@@@STEP_LOG_LINE@json.output@{@@@", | 51 "@@@STEP_LOG_LINE@json.output@{@@@", |
50 "@@@STEP_LOG_LINE@json.output@ \"did_run\": false, @@@", | 52 "@@@STEP_LOG_LINE@json.output@ \"did_run\": false, @@@", |
51 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false@@@", | 53 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false@@@", |
52 "@@@STEP_LOG_LINE@json.output@}@@@", | 54 "@@@STEP_LOG_LINE@json.output@}@@@", |
53 "@@@STEP_LOG_END@json.output@@@" | 55 "@@@STEP_LOG_END@json.output@@@" |
54 ] | 56 ] |
55 }, | 57 }, |
56 { | 58 { |
57 "cmd": [ | 59 "cmd": [ |
58 "python", | 60 "python", |
59 "-u", | 61 "-u", |
60 "[DEPOT_TOOLS]/gclient.py", | 62 "[DEPOT_TOOLS]/gclient.py", |
61 "config", | 63 "config", |
62 "--spec", | 64 "--spec", |
63 "cache_dir = None\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True
, 'name': 'src', 'url': 'https://chromium.googlesource.com/chromium/src'}]\ntarg
et_os = ['android']" | 65 "cache_dir = None\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True
, 'name': 'src', 'url': 'https://chromium.googlesource.com/chromium/src'}]\ntarg
et_os = ['android']" |
64 ], | 66 ], |
| 67 "cwd": "[SLAVE_BUILD]", |
65 "name": "gclient setup" | 68 "name": "gclient setup" |
66 }, | 69 }, |
67 { | 70 { |
68 "cmd": [ | 71 "cmd": [ |
69 "python", | 72 "python", |
70 "-u", | 73 "-u", |
71 "[DEPOT_TOOLS]/gclient.py", | 74 "[DEPOT_TOOLS]/gclient.py", |
72 "sync", | 75 "sync", |
73 "--nohooks", | 76 "--nohooks", |
74 "--force", | 77 "--force", |
75 "--verbose", | 78 "--verbose", |
76 "--delete_unversioned_trees", | 79 "--delete_unversioned_trees", |
77 "--revision", | 80 "--revision", |
78 "src@4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00", | 81 "src@4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00", |
79 "--output-json", | 82 "--output-json", |
80 "/path/to/tmp/json" | 83 "/path/to/tmp/json" |
81 ], | 84 ], |
| 85 "cwd": "[SLAVE_BUILD]", |
82 "name": "gclient sync", | 86 "name": "gclient sync", |
83 "~followup_annotations": [ | 87 "~followup_annotations": [ |
84 "@@@STEP_LOG_LINE@json.output@{@@@", | 88 "@@@STEP_LOG_LINE@json.output@{@@@", |
85 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", | 89 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", |
86 "@@@STEP_LOG_LINE@json.output@ \"src/\": {@@@", | 90 "@@@STEP_LOG_LINE@json.output@ \"src/\": {@@@", |
87 "@@@STEP_LOG_LINE@json.output@ \"revision\": 170242@@@", | 91 "@@@STEP_LOG_LINE@json.output@ \"revision\": 170242@@@", |
88 "@@@STEP_LOG_LINE@json.output@ }, @@@", | 92 "@@@STEP_LOG_LINE@json.output@ }, @@@", |
89 "@@@STEP_LOG_LINE@json.output@ \"src/native_client/\": {@@@", | 93 "@@@STEP_LOG_LINE@json.output@ \"src/native_client/\": {@@@", |
90 "@@@STEP_LOG_LINE@json.output@ \"revision\": 274981@@@", | 94 "@@@STEP_LOG_LINE@json.output@ \"revision\": 274981@@@", |
91 "@@@STEP_LOG_LINE@json.output@ }, @@@", | 95 "@@@STEP_LOG_LINE@json.output@ }, @@@", |
(...skipping 23 matching lines...) Expand all Loading... |
115 { | 119 { |
116 "cmd": [ | 120 "cmd": [ |
117 "python", | 121 "python", |
118 "-u", | 122 "-u", |
119 "\nimport shutil, sys, os\nshutil.rmtree(sys.argv[1], True)\nshutil.rmtree
(sys.argv[2], True)\ntry:\n os.remove(sys.argv[3])\nexcept OSError:\n pass\nfo
r base, _dirs, files in os.walk(sys.argv[4]):\n for f in files:\n if f.endsw
ith('.pyc'):\n os.remove(os.path.join(base, f))\n", | 123 "\nimport shutil, sys, os\nshutil.rmtree(sys.argv[1], True)\nshutil.rmtree
(sys.argv[2], True)\ntry:\n os.remove(sys.argv[3])\nexcept OSError:\n pass\nfo
r base, _dirs, files in os.walk(sys.argv[4]):\n for f in files:\n if f.endsw
ith('.pyc'):\n os.remove(os.path.join(base, f))\n", |
120 "[SLAVE_BUILD]/src/out/Release/debug_info_dumps", | 124 "[SLAVE_BUILD]/src/out/Release/debug_info_dumps", |
121 "[SLAVE_BUILD]/src/out/Release/test_logs", | 125 "[SLAVE_BUILD]/src/out/Release/test_logs", |
122 "[SLAVE_BUILD]/src/out/build_product.zip", | 126 "[SLAVE_BUILD]/src/out/build_product.zip", |
123 "[SLAVE_BUILD]/src" | 127 "[SLAVE_BUILD]/src" |
124 ], | 128 ], |
| 129 "cwd": "[SLAVE_BUILD]", |
125 "name": "clean local files", | 130 "name": "clean local files", |
126 "~followup_annotations": [ | 131 "~followup_annotations": [ |
127 "@@@STEP_LOG_LINE@python.inline@@@@", | 132 "@@@STEP_LOG_LINE@python.inline@@@@", |
128 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@", | 133 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@", |
129 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@", | 134 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@", |
130 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@", | 135 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@", |
131 "@@@STEP_LOG_LINE@python.inline@try:@@@", | 136 "@@@STEP_LOG_LINE@python.inline@try:@@@", |
132 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@", | 137 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@", |
133 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@", | 138 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@", |
134 "@@@STEP_LOG_LINE@python.inline@ pass@@@", | 139 "@@@STEP_LOG_LINE@python.inline@ pass@@@", |
135 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv
[4]):@@@", | 140 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv
[4]):@@@", |
136 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@", | 141 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@", |
137 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@", | 142 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@", |
138 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@"
, | 143 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@"
, |
139 "@@@STEP_LOG_END@python.inline@@@" | 144 "@@@STEP_LOG_END@python.inline@@@" |
140 ] | 145 ] |
141 }, | 146 }, |
142 { | 147 { |
143 "cmd": [ | 148 "cmd": [ |
144 "python", | 149 "python", |
145 "-u", | 150 "-u", |
146 "[DEPOT_TOOLS]/gclient.py", | 151 "[DEPOT_TOOLS]/gclient.py", |
147 "runhooks" | 152 "runhooks" |
148 ], | 153 ], |
| 154 "cwd": "[SLAVE_BUILD]", |
149 "env": { | 155 "env": { |
150 "GYP_CROSSCOMPILE": "1", | 156 "GYP_CROSSCOMPILE": "1", |
151 "GYP_DEFINES": "OS=android component=static_library disable_file_support=1
disable_ftp_support=1 enable_websockets=0 fastbuild=1 target_arch=mipsel use_ic
u_alternatives_on_android=1", | 157 "GYP_DEFINES": "OS=android component=static_library disable_file_support=1
disable_ftp_support=1 enable_websockets=0 fastbuild=1 target_arch=mipsel use_ic
u_alternatives_on_android=1", |
152 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 158 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
153 }, | 159 }, |
154 "name": "gclient runhooks" | 160 "name": "gclient runhooks" |
155 }, | 161 }, |
156 { | 162 { |
157 "cmd": [ | 163 "cmd": [ |
158 "python", | 164 "python", |
159 "-u", | 165 "-u", |
160 "[BUILD]/scripts/slave/compile.py", | 166 "[BUILD]/scripts/slave/compile.py", |
161 "--target", | 167 "--target", |
162 "Release", | 168 "Release", |
163 "--src-dir", | 169 "--src-dir", |
164 "[SLAVE_BUILD]/src", | 170 "[SLAVE_BUILD]/src", |
165 "--build-tool", | 171 "--build-tool", |
166 "ninja", | 172 "ninja", |
167 "--clobber", | 173 "--clobber", |
168 "--", | 174 "--", |
169 "cronet_package", | 175 "cronet_package", |
170 "cronet_sample_test_apk", | 176 "cronet_sample_test_apk", |
171 "cronet_test_instrumentation_apk" | 177 "cronet_test_instrumentation_apk" |
172 ], | 178 ], |
| 179 "cwd": "[SLAVE_BUILD]", |
173 "env": { | 180 "env": { |
174 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 181 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
175 }, | 182 }, |
176 "name": "compile" | 183 "name": "compile" |
177 }, | 184 }, |
178 { | 185 { |
179 "cmd": [ | 186 "cmd": [ |
180 "python", | 187 "python", |
181 "-u", | 188 "-u", |
182 "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py", | 189 "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py", |
183 "--", | 190 "--", |
184 "[DEPOT_TOOLS]/gsutil.py", | 191 "[DEPOT_TOOLS]/gsutil.py", |
185 "--force-version", | 192 "--force-version", |
186 "3.25", | 193 "3.25", |
187 "--", | 194 "--", |
188 "cp", | 195 "cp", |
189 "[SLAVE_BUILD]/src/out/Release/cronet/VERSION", | 196 "[SLAVE_BUILD]/src/out/Release/cronet/VERSION", |
190 "gs://chromium-cronet/android/cronet-Release-4f4b02f6b7fa20a3a25682c457bbc
8ad589c8a00/VERSION" | 197 "gs://chromium-cronet/android/cronet-Release-4f4b02f6b7fa20a3a25682c457bbc
8ad589c8a00/VERSION" |
191 ], | 198 ], |
| 199 "cwd": "[SLAVE_BUILD]", |
192 "name": "gsutil upload_cronet_version", | 200 "name": "gsutil upload_cronet_version", |
193 "~followup_annotations": [ | 201 "~followup_annotations": [ |
194 "@@@STEP_LINK@Cronet version@https://storage.cloud.google.com/chromium-cro
net/android/cronet-Release-4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00/VERSION@@@" | 202 "@@@STEP_LINK@Cronet version@https://storage.cloud.google.com/chromium-cro
net/android/cronet-Release-4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00/VERSION@@@" |
195 ] | 203 ] |
196 }, | 204 }, |
197 { | 205 { |
198 "cmd": [ | 206 "cmd": [ |
199 "python", | 207 "python", |
200 "-u", | 208 "-u", |
201 "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py", | 209 "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py", |
202 "--", | 210 "--", |
203 "[DEPOT_TOOLS]/gsutil.py", | 211 "[DEPOT_TOOLS]/gsutil.py", |
204 "--force-version", | 212 "--force-version", |
205 "3.25", | 213 "3.25", |
206 "--", | 214 "--", |
207 "cp", | 215 "cp", |
208 "-R", | 216 "-R", |
209 "[SLAVE_BUILD]/src/out/Release/cronet", | 217 "[SLAVE_BUILD]/src/out/Release/cronet", |
210 "gs://chromium-cronet/android/cronet-Release-4f4b02f6b7fa20a3a25682c457bbc
8ad589c8a00" | 218 "gs://chromium-cronet/android/cronet-Release-4f4b02f6b7fa20a3a25682c457bbc
8ad589c8a00" |
211 ], | 219 ], |
| 220 "cwd": "[SLAVE_BUILD]", |
212 "name": "gsutil upload_cronet_package", | 221 "name": "gsutil upload_cronet_package", |
213 "~followup_annotations": [ | 222 "~followup_annotations": [ |
214 "@@@STEP_LINK@Cronet package@https://storage.cloud.google.com/chromium-cro
net/android/cronet-Release-4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00@@@" | 223 "@@@STEP_LINK@Cronet package@https://storage.cloud.google.com/chromium-cro
net/android/cronet-Release-4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00@@@" |
215 ] | 224 ] |
216 } | 225 } |
217 ] | 226 ] |
OLD | NEW |