| 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 "cwd": "[SLAVE_BUILD]", |
| 10 "name": "cleanup index.lock", | 10 "name": "cleanup index.lock", |
| (...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 170 "[SLAVE_BUILD]/src", | 170 "[SLAVE_BUILD]/src", |
| 171 "--build-tool", | 171 "--build-tool", |
| 172 "ninja", | 172 "ninja", |
| 173 "--compiler", | 173 "--compiler", |
| 174 "goma", | 174 "goma", |
| 175 "--goma-dir", | 175 "--goma-dir", |
| 176 "[BUILD]/goma", | 176 "[BUILD]/goma", |
| 177 "--clobber", | 177 "--clobber", |
| 178 "--", | 178 "--", |
| 179 "cronet_package", | 179 "cronet_package", |
| 180 "cronet_perf_test_apk", |
| 180 "cronet_sample_test_apk", | 181 "cronet_sample_test_apk", |
| 181 "cronet_test_instrumentation_apk" | 182 "cronet_test_instrumentation_apk" |
| 182 ], | 183 ], |
| 183 "cwd": "[SLAVE_BUILD]", | 184 "cwd": "[SLAVE_BUILD]", |
| 184 "env": { | 185 "env": { |
| 185 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 186 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 186 }, | 187 }, |
| 187 "name": "compile" | 188 "name": "compile" |
| 188 }, | 189 }, |
| 189 { | 190 { |
| (...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 448 "~followup_annotations": [ | 449 "~followup_annotations": [ |
| 449 "@@@STEP_LOG_LINE@python.inline@@@@", | 450 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 450 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", | 451 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", |
| 451 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", | 452 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", |
| 452 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", | 453 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", |
| 453 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", | 454 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", |
| 454 "@@@STEP_LOG_LINE@python.inline@ print l@@@", | 455 "@@@STEP_LOG_LINE@python.inline@ print l@@@", |
| 455 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", | 456 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", |
| 456 "@@@STEP_LOG_END@python.inline@@@" | 457 "@@@STEP_LOG_END@python.inline@@@" |
| 457 ] | 458 ] |
| 459 }, |
| 460 { |
| 461 "cmd": [ |
| 462 "python", |
| 463 "-u", |
| 464 "\nimport subprocess, sys\nproc = subprocess.Popen(\n sys.argv[1], stdo
ut=subprocess.PIPE, stderr=subprocess.PIPE)\nout, err = proc.communicate()\nwith
open(sys.argv[2], 'w') as f:\n f.writelines(out)\n", |
| 465 "[SLAVE_BUILD]/src/build/get_landmines.py", |
| 466 "[SLAVE_BUILD]/src/.landmines" |
| 467 ], |
| 468 "cwd": "[SLAVE_BUILD]", |
| 469 "name": "clear landmines", |
| 470 "~followup_annotations": [ |
| 471 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 472 "@@@STEP_LOG_LINE@python.inline@import subprocess, sys@@@", |
| 473 "@@@STEP_LOG_LINE@python.inline@proc = subprocess.Popen(@@@", |
| 474 "@@@STEP_LOG_LINE@python.inline@ sys.argv[1], stdout=subprocess.PIPE, s
tderr=subprocess.PIPE)@@@", |
| 475 "@@@STEP_LOG_LINE@python.inline@out, err = proc.communicate()@@@", |
| 476 "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[2], 'w') as f:@@@", |
| 477 "@@@STEP_LOG_LINE@python.inline@ f.writelines(out)@@@", |
| 478 "@@@STEP_LOG_END@python.inline@@@" |
| 479 ] |
| 480 }, |
| 481 { |
| 482 "cmd": [ |
| 483 "python", |
| 484 "-u", |
| 485 "[DEPOT_TOOLS]/gclient.py", |
| 486 "runhooks" |
| 487 ], |
| 488 "cwd": "[SLAVE_BUILD]", |
| 489 "env": { |
| 490 "GYP_DEFINES": "component=static_library gomadir='[BUILD]/goma' target_arc
h=x64 use_goma=1" |
| 491 }, |
| 492 "name": "gclient runhooks (2)" |
| 493 }, |
| 494 { |
| 495 "cmd": [ |
| 496 "python", |
| 497 "-u", |
| 498 "[BUILD]/scripts/slave/compile.py", |
| 499 "--target", |
| 500 "Release", |
| 501 "--src-dir", |
| 502 "[SLAVE_BUILD]/src", |
| 503 "--build-tool", |
| 504 "ninja", |
| 505 "--compiler", |
| 506 "goma", |
| 507 "--goma-dir", |
| 508 "[BUILD]/goma", |
| 509 "--", |
| 510 "quic_server", |
| 511 "quic_client" |
| 512 ], |
| 513 "cwd": "[SLAVE_BUILD]", |
| 514 "name": "compile (2)" |
| 515 }, |
| 516 { |
| 517 "cmd": [ |
| 518 "python", |
| 519 "-u", |
| 520 "[SLAVE_BUILD]/src/components/cronet/android/test/javaperftests/run.py" |
| 521 ], |
| 522 "cwd": "[SLAVE_BUILD]", |
| 523 "name": "performance test" |
| 458 } | 524 } |
| 459 ] | 525 ] |
| OLD | NEW |