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

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

Issue 1465343002: [Android] Add context manager to record logcat during step(s). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Removed unused config. Created 5 years 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 "cwd": "[SLAVE_BUILD]",
10 "name": "cleanup index.lock", 10 "name": "cleanup index.lock",
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 "android-cronet" 222 "android-cronet"
223 ], 223 ],
224 "cwd": "[SLAVE_BUILD]", 224 "cwd": "[SLAVE_BUILD]",
225 "name": "sizes" 225 "name": "sizes"
226 }, 226 },
227 { 227 {
228 "cmd": [ 228 "cmd": [
229 "[BUILD]/scripts/slave/daemonizer.py", 229 "[BUILD]/scripts/slave/daemonizer.py",
230 "--", 230 "--",
231 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py", 231 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py",
232 "[SLAVE_BUILD]/src/out/logcat" 232 "[SLAVE_BUILD]/src/out/logcat_dir"
233 ], 233 ],
234 "cwd": "[SLAVE_BUILD]", 234 "cwd": "[SLAVE_BUILD]",
235 "env": { 235 "env": {
236 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 236 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
237 }, 237 },
238 "name": "spawn_logcat_monitor" 238 "name": "spawn_logcat_monitor"
239 }, 239 },
240 { 240 {
241 "cmd": [ 241 "cmd": [
242 "python", 242 "python",
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
500 "name": "shutdown_device_monitor" 500 "name": "shutdown_device_monitor"
501 }, 501 },
502 { 502 {
503 "cmd": [ 503 "cmd": [
504 "python", 504 "python",
505 "-u", 505 "-u",
506 "[BUILD]/scripts/slave/tee.py", 506 "[BUILD]/scripts/slave/tee.py",
507 "[SLAVE_BUILD]/src/out/Release/full_log", 507 "[SLAVE_BUILD]/src/out/Release/full_log",
508 "--", 508 "--",
509 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py", 509 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py",
510 "[SLAVE_BUILD]/src/out/logcat" 510 "[SLAVE_BUILD]/src/out/logcat_dir"
511 ], 511 ],
512 "cwd": "[SLAVE_BUILD]", 512 "cwd": "[SLAVE_BUILD]",
513 "name": "logcat_dump" 513 "name": "logcat_dump"
514 }, 514 },
515 { 515 {
516 "cmd": [ 516 "cmd": [
517 "[SLAVE_BUILD]/src/third_party/android_platform/development/scripts/stack" , 517 "[SLAVE_BUILD]/src/third_party/android_platform/development/scripts/stack" ,
518 "--arch", 518 "--arch",
519 "arm", 519 "arm",
520 "--more-info", 520 "--more-info",
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
558 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", 558 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@",
559 "@@@STEP_LOG_END@python.inline@@@" 559 "@@@STEP_LOG_END@python.inline@@@"
560 ] 560 ]
561 }, 561 },
562 { 562 {
563 "name": "$result", 563 "name": "$result",
564 "recipe_result": null, 564 "recipe_result": null,
565 "status_code": 0 565 "status_code": 0
566 } 566 }
567 ] 567 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698