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

Side by Side Diff: scripts/slave/recipes/cronet.expected/android_cronet_builder__dbg_.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 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
495 "name": "shutdown_device_monitor" 495 "name": "shutdown_device_monitor"
496 }, 496 },
497 { 497 {
498 "cmd": [ 498 "cmd": [
499 "python", 499 "python",
500 "-u", 500 "-u",
501 "[BUILD]/scripts/slave/tee.py", 501 "[BUILD]/scripts/slave/tee.py",
502 "[SLAVE_BUILD]/src/out/Debug/full_log", 502 "[SLAVE_BUILD]/src/out/Debug/full_log",
503 "--", 503 "--",
504 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py", 504 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py",
505 "[SLAVE_BUILD]/src/out/logcat" 505 "[SLAVE_BUILD]/src/out/logcat_dir"
506 ], 506 ],
507 "cwd": "[SLAVE_BUILD]", 507 "cwd": "[SLAVE_BUILD]",
508 "name": "logcat_dump" 508 "name": "logcat_dump"
509 }, 509 },
510 { 510 {
511 "cmd": [ 511 "cmd": [
512 "[SLAVE_BUILD]/src/third_party/android_platform/development/scripts/stack" , 512 "[SLAVE_BUILD]/src/third_party/android_platform/development/scripts/stack" ,
513 "--arch", 513 "--arch",
514 "arm", 514 "arm",
515 "--more-info", 515 "--more-info",
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
553 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", 553 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@",
554 "@@@STEP_LOG_END@python.inline@@@" 554 "@@@STEP_LOG_END@python.inline@@@"
555 ] 555 ]
556 }, 556 },
557 { 557 {
558 "name": "$result", 558 "name": "$result",
559 "recipe_result": null, 559 "recipe_result": null,
560 "status_code": 0 560 "status_code": 0
561 } 561 }
562 ] 562 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698