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

Side by Side Diff: scripts/slave/recipes/cronet.expected/android_cronet_builder__dbg_.json

Issue 1115453002: Recipes: make cwd default to slave_build (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: rebase Created 5 years, 7 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 | Annotate | Revision Log
OLDNEW
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
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
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/Debug/debug_info_dumps", 124 "[SLAVE_BUILD]/src/out/Debug/debug_info_dumps",
121 "[SLAVE_BUILD]/src/out/Debug/test_logs", 125 "[SLAVE_BUILD]/src/out/Debug/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 gomadir='[BUILD]/goma' ta rget_arch=arm use_goma=1 use_icu_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 gomadir='[BUILD]/goma' ta rget_arch=arm use_goma=1 use_icu_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 "Debug", 168 "Debug",
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 "--compiler", 173 "--compiler",
168 "goma", 174 "goma",
169 "--goma-dir", 175 "--goma-dir",
170 "[BUILD]/goma", 176 "[BUILD]/goma",
171 "--clobber", 177 "--clobber",
172 "--", 178 "--",
173 "cronet_package", 179 "cronet_package",
174 "cronet_sample_test_apk", 180 "cronet_sample_test_apk",
175 "cronet_test_instrumentation_apk" 181 "cronet_test_instrumentation_apk"
176 ], 182 ],
183 "cwd": "[SLAVE_BUILD]",
177 "env": { 184 "env": {
178 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 185 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
179 }, 186 },
180 "name": "compile" 187 "name": "compile"
181 }, 188 },
182 { 189 {
183 "cmd": [ 190 "cmd": [
184 "python", 191 "python",
185 "-u", 192 "-u",
186 "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py", 193 "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py",
187 "--", 194 "--",
188 "[DEPOT_TOOLS]/gsutil.py", 195 "[DEPOT_TOOLS]/gsutil.py",
189 "--force-version", 196 "--force-version",
190 "3.25", 197 "3.25",
191 "--", 198 "--",
192 "cp", 199 "cp",
193 "[SLAVE_BUILD]/src/out/Debug/cronet/VERSION", 200 "[SLAVE_BUILD]/src/out/Debug/cronet/VERSION",
194 "gs://chromium-cronet/android/cronet-Debug-4f4b02f6b7fa20a3a25682c457bbc8a d589c8a00/VERSION" 201 "gs://chromium-cronet/android/cronet-Debug-4f4b02f6b7fa20a3a25682c457bbc8a d589c8a00/VERSION"
195 ], 202 ],
203 "cwd": "[SLAVE_BUILD]",
196 "name": "gsutil upload_cronet_version", 204 "name": "gsutil upload_cronet_version",
197 "~followup_annotations": [ 205 "~followup_annotations": [
198 "@@@STEP_LINK@Cronet version@https://storage.cloud.google.com/chromium-cro net/android/cronet-Debug-4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00/VERSION@@@" 206 "@@@STEP_LINK@Cronet version@https://storage.cloud.google.com/chromium-cro net/android/cronet-Debug-4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00/VERSION@@@"
199 ] 207 ]
200 }, 208 },
201 { 209 {
202 "cmd": [ 210 "cmd": [
203 "python", 211 "python",
204 "-u", 212 "-u",
205 "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py", 213 "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py",
206 "--", 214 "--",
207 "[DEPOT_TOOLS]/gsutil.py", 215 "[DEPOT_TOOLS]/gsutil.py",
208 "--force-version", 216 "--force-version",
209 "3.25", 217 "3.25",
210 "--", 218 "--",
211 "cp", 219 "cp",
212 "-R", 220 "-R",
213 "[SLAVE_BUILD]/src/out/Debug/cronet", 221 "[SLAVE_BUILD]/src/out/Debug/cronet",
214 "gs://chromium-cronet/android/cronet-Debug-4f4b02f6b7fa20a3a25682c457bbc8a d589c8a00" 222 "gs://chromium-cronet/android/cronet-Debug-4f4b02f6b7fa20a3a25682c457bbc8a d589c8a00"
215 ], 223 ],
224 "cwd": "[SLAVE_BUILD]",
216 "name": "gsutil upload_cronet_package", 225 "name": "gsutil upload_cronet_package",
217 "~followup_annotations": [ 226 "~followup_annotations": [
218 "@@@STEP_LINK@Cronet package@https://storage.cloud.google.com/chromium-cro net/android/cronet-Debug-4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00@@@" 227 "@@@STEP_LINK@Cronet package@https://storage.cloud.google.com/chromium-cro net/android/cronet-Debug-4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00@@@"
219 ] 228 ]
220 }, 229 },
221 { 230 {
222 "cmd": [ 231 "cmd": [
223 "[BUILD]/scripts/slave/daemonizer.py", 232 "[BUILD]/scripts/slave/daemonizer.py",
224 "--", 233 "--",
225 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py", 234 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py",
226 "[SLAVE_BUILD]/src/out/logcat" 235 "[SLAVE_BUILD]/src/out/logcat"
227 ], 236 ],
237 "cwd": "[SLAVE_BUILD]",
228 "env": { 238 "env": {
229 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 239 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
230 }, 240 },
231 "name": "spawn_logcat_monitor" 241 "name": "spawn_logcat_monitor"
232 }, 242 },
233 { 243 {
234 "cmd": [ 244 "cmd": [
235 "python", 245 "python",
236 "-u", 246 "-u",
237 "[BUILD]/scripts/slave/android/authorize_adb_devices.py", 247 "[BUILD]/scripts/slave/android/authorize_adb_devices.py",
238 "--adb-path", 248 "--adb-path",
239 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" 249 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb"
240 ], 250 ],
251 "cwd": "[SLAVE_BUILD]",
241 "env": { 252 "env": {
242 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 253 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
243 }, 254 },
244 "name": "authorize_adb_devices" 255 "name": "authorize_adb_devices"
245 }, 256 },
246 { 257 {
247 "cmd": [ 258 "cmd": [
248 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", 259 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py",
249 "--json-output", 260 "--json-output",
250 "/path/to/tmp/json" 261 "/path/to/tmp/json"
251 ], 262 ],
263 "cwd": "[SLAVE_BUILD]",
252 "env": { 264 "env": {
253 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 265 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
254 }, 266 },
255 "name": "device_status_check", 267 "name": "device_status_check",
256 "~followup_annotations": [ 268 "~followup_annotations": [
257 "@@@STEP_TEXT@Online devices: 1@@@", 269 "@@@STEP_TEXT@Online devices: 1@@@",
258 "@@@STEP_LOG_LINE@json.output@[@@@", 270 "@@@STEP_LOG_LINE@json.output@[@@@",
259 "@@@STEP_LOG_LINE@json.output@ {@@@", 271 "@@@STEP_LOG_LINE@json.output@ {@@@",
260 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", 272 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@",
261 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", 273 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@",
(...skipping 20 matching lines...) Expand all
282 ] 294 ]
283 }, 295 },
284 { 296 {
285 "cmd": [ 297 "cmd": [
286 "python", 298 "python",
287 "-u", 299 "-u",
288 "[SLAVE_BUILD]/src/build/android/provision_devices.py", 300 "[SLAVE_BUILD]/src/build/android/provision_devices.py",
289 "-t", 301 "-t",
290 "Debug" 302 "Debug"
291 ], 303 ],
304 "cwd": "[SLAVE_BUILD]",
292 "env": { 305 "env": {
293 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 306 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
294 }, 307 },
295 "name": "provision_devices" 308 "name": "provision_devices"
296 }, 309 },
297 { 310 {
298 "cmd": [ 311 "cmd": [
299 "python", 312 "python",
300 "-u", 313 "-u",
301 "[SLAVE_BUILD]/src/build/android/test_runner.py", 314 "[SLAVE_BUILD]/src/build/android/test_runner.py",
302 "gtest", 315 "gtest",
303 "-s", 316 "-s",
304 "net_unittests", 317 "net_unittests",
305 "--verbose" 318 "--verbose"
306 ], 319 ],
320 "cwd": "[SLAVE_BUILD]",
307 "env": { 321 "env": {
308 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 322 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
309 }, 323 },
310 "name": "net_unittests" 324 "name": "net_unittests"
311 }, 325 },
312 { 326 {
313 "cmd": [ 327 "cmd": [
314 "[SLAVE_BUILD]/src/build/android/adb_install_apk.py", 328 "[SLAVE_BUILD]/src/build/android/adb_install_apk.py",
315 "--apk", 329 "--apk",
316 "CronetSample.apk", 330 "CronetSample.apk",
317 "--apk_package", 331 "--apk_package",
318 "org.chromium.cronet_sample_apk" 332 "org.chromium.cronet_sample_apk"
319 ], 333 ],
334 "cwd": "[SLAVE_BUILD]",
320 "env": { 335 "env": {
321 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 336 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
322 }, 337 },
323 "name": "install CronetSample.apk" 338 "name": "install CronetSample.apk"
324 }, 339 },
325 { 340 {
326 "cmd": [ 341 "cmd": [
327 "python", 342 "python",
328 "-u", 343 "-u",
329 "[SLAVE_BUILD]/src/build/android/test_runner.py", 344 "[SLAVE_BUILD]/src/build/android/test_runner.py",
330 "instrumentation", 345 "instrumentation",
331 "--test-apk", 346 "--test-apk",
332 "CronetSampleTest", 347 "CronetSampleTest",
333 "--verbose" 348 "--verbose"
334 ], 349 ],
350 "cwd": "[SLAVE_BUILD]",
335 "name": "Instrumentation test CronetSampleTest" 351 "name": "Instrumentation test CronetSampleTest"
336 }, 352 },
337 { 353 {
338 "cmd": [ 354 "cmd": [
339 "[SLAVE_BUILD]/src/build/android/adb_install_apk.py", 355 "[SLAVE_BUILD]/src/build/android/adb_install_apk.py",
340 "--apk", 356 "--apk",
341 "CronetTest.apk", 357 "CronetTest.apk",
342 "--apk_package", 358 "--apk_package",
343 "org.chromium.net" 359 "org.chromium.net"
344 ], 360 ],
361 "cwd": "[SLAVE_BUILD]",
345 "env": { 362 "env": {
346 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 363 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
347 }, 364 },
348 "name": "install CronetTest.apk" 365 "name": "install CronetTest.apk"
349 }, 366 },
350 { 367 {
351 "cmd": [ 368 "cmd": [
352 "python", 369 "python",
353 "-u", 370 "-u",
354 "[SLAVE_BUILD]/src/build/android/test_runner.py", 371 "[SLAVE_BUILD]/src/build/android/test_runner.py",
355 "instrumentation", 372 "instrumentation",
356 "--test-apk", 373 "--test-apk",
357 "CronetTestInstrumentation", 374 "CronetTestInstrumentation",
358 "--verbose" 375 "--verbose"
359 ], 376 ],
377 "cwd": "[SLAVE_BUILD]",
360 "name": "Instrumentation test CronetTestInstrumentation" 378 "name": "Instrumentation test CronetTestInstrumentation"
361 }, 379 },
362 { 380 {
363 "cmd": [ 381 "cmd": [
364 "python", 382 "python",
365 "-u", 383 "-u",
366 "[BUILD]/scripts/slave/tee.py", 384 "[BUILD]/scripts/slave/tee.py",
367 "[SLAVE_BUILD]/src/out/Debug/full_log", 385 "[SLAVE_BUILD]/src/out/Debug/full_log",
368 "--", 386 "--",
369 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py", 387 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py",
370 "[SLAVE_BUILD]/src/out/logcat" 388 "[SLAVE_BUILD]/src/out/logcat"
371 ], 389 ],
390 "cwd": "[SLAVE_BUILD]",
372 "name": "logcat_dump" 391 "name": "logcat_dump"
373 }, 392 },
374 { 393 {
375 "cmd": [ 394 "cmd": [
376 "[SLAVE_BUILD]/src/third_party/android_platform/development/scripts/stack" , 395 "[SLAVE_BUILD]/src/third_party/android_platform/development/scripts/stack" ,
377 "--arch", 396 "--arch",
378 "arm", 397 "arm",
379 "--more-info", 398 "--more-info",
380 "[SLAVE_BUILD]/src/out/Debug/full_log" 399 "[SLAVE_BUILD]/src/out/Debug/full_log"
381 ], 400 ],
401 "cwd": "[SLAVE_BUILD]",
382 "env": { 402 "env": {
383 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 403 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
384 }, 404 },
385 "name": "stack_tool_with_logcat_dump" 405 "name": "stack_tool_with_logcat_dump"
386 }, 406 },
387 { 407 {
388 "cmd": [ 408 "cmd": [
389 "[SLAVE_BUILD]/src/build/android/tombstones.py", 409 "[SLAVE_BUILD]/src/build/android/tombstones.py",
390 "-a", 410 "-a",
391 "-s", 411 "-s",
392 "-w" 412 "-w"
393 ], 413 ],
414 "cwd": "[SLAVE_BUILD]",
394 "env": { 415 "env": {
395 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 416 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
396 }, 417 },
397 "name": "stack_tool_for_tombstones" 418 "name": "stack_tool_for_tombstones"
398 }, 419 },
399 { 420 {
400 "cmd": [ 421 "cmd": [
401 "python", 422 "python",
402 "-u", 423 "-u",
403 "\nimport glob, os, sys\nfor report in glob.glob(sys.argv[1]):\n with ope n(report, 'r') as f:\n for l in f.readlines():\n print l\n os.remove(re port)\n", 424 "\nimport glob, os, sys\nfor report in glob.glob(sys.argv[1]):\n with ope n(report, 'r') as f:\n for l in f.readlines():\n print l\n os.remove(re port)\n",
404 "[SLAVE_BUILD]/src/out/Debug/test_logs/*.log" 425 "[SLAVE_BUILD]/src/out/Debug/test_logs/*.log"
405 ], 426 ],
427 "cwd": "[SLAVE_BUILD]",
406 "name": "test_report", 428 "name": "test_report",
407 "~followup_annotations": [ 429 "~followup_annotations": [
408 "@@@STEP_LOG_LINE@python.inline@@@@", 430 "@@@STEP_LOG_LINE@python.inline@@@@",
409 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", 431 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@",
410 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", 432 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@",
411 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", 433 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@",
412 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", 434 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@",
413 "@@@STEP_LOG_LINE@python.inline@ print l@@@", 435 "@@@STEP_LOG_LINE@python.inline@ print l@@@",
414 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", 436 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@",
415 "@@@STEP_LOG_END@python.inline@@@" 437 "@@@STEP_LOG_END@python.inline@@@"
416 ] 438 ]
417 } 439 }
418 ] 440 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698