| 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 "name": "cleanup index.lock", | 9 "name": "cleanup index.lock", |
| 10 "~followup_annotations": [ | 10 "~followup_annotations": [ |
| (...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 221 "env": { | 221 "env": { |
| 222 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 222 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 223 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 223 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 224 }, | 224 }, |
| 225 "name": "compile" | 225 "name": "compile" |
| 226 }, | 226 }, |
| 227 { | 227 { |
| 228 "cmd": [ | 228 "cmd": [ |
| 229 "python", | 229 "python", |
| 230 "-u", | 230 "-u", |
| 231 "\nimport shutil\nimport sys\n# Apparently, shutil.copy fails if files are
binary-equal on *nix OSes.\n# See http://crbug.com/636168#c8.\nif hasattr(shuti
l, '_samefile'):\n if shutil._samefile(sys.argv[1], sys.argv[2]):\n sys.exit
(0)\nshutil.copy(sys.argv[1], sys.argv[2])\n", | 231 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
| 232 "[SLAVE_BUILD]/src/chrome/VERSION", | 232 "[SLAVE_BUILD]/src/chrome/VERSION", |
| 233 "/path/to/tmp/" | 233 "/path/to/tmp/" |
| 234 ], | 234 ], |
| 235 "name": "get version" | 235 "name": "get version" |
| 236 }, | 236 }, |
| 237 { | 237 { |
| 238 "cmd": [ | 238 "cmd": [ |
| 239 "python", | 239 "python", |
| 240 "-u", | 240 "-u", |
| 241 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", | 241 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", |
| (...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 604 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Debug", | 604 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Debug", |
| 605 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 605 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 606 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 606 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 607 }, | 607 }, |
| 608 "name": "stack_tool_with_logcat_dump" | 608 "name": "stack_tool_with_logcat_dump" |
| 609 }, | 609 }, |
| 610 { | 610 { |
| 611 "cmd": [ | 611 "cmd": [ |
| 612 "python", | 612 "python", |
| 613 "-u", | 613 "-u", |
| 614 "\nimport shutil\nimport sys\n# Apparently, shutil.copy fails if files are
binary-equal on *nix OSes.\n# See http://crbug.com/636168#c8.\nif hasattr(shuti
l, '_samefile'):\n if shutil._samefile(sys.argv[1], sys.argv[2]):\n sys.exit
(0)\nshutil.copy(sys.argv[1], sys.argv[2])\n", | 614 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
| 615 "[SLAVE_BUILD]/src/chrome/VERSION", | 615 "[SLAVE_BUILD]/src/chrome/VERSION", |
| 616 "/path/to/tmp/" | 616 "/path/to/tmp/" |
| 617 ], | 617 ], |
| 618 "name": "get version (2)" | 618 "name": "get version (2)" |
| 619 }, | 619 }, |
| 620 { | 620 { |
| 621 "cmd": [ | 621 "cmd": [ |
| 622 "[SLAVE_BUILD]/src/build/android/tombstones.py", | 622 "[SLAVE_BUILD]/src/build/android/tombstones.py", |
| 623 "-a", | 623 "-a", |
| 624 "-s", | 624 "-s", |
| (...skipping 24 matching lines...) Expand all Loading... |
| 649 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", | 649 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", |
| 650 "@@@STEP_LOG_END@python.inline@@@" | 650 "@@@STEP_LOG_END@python.inline@@@" |
| 651 ] | 651 ] |
| 652 }, | 652 }, |
| 653 { | 653 { |
| 654 "name": "$result", | 654 "name": "$result", |
| 655 "recipe_result": null, | 655 "recipe_result": null, |
| 656 "status_code": 0 | 656 "status_code": 0 |
| 657 } | 657 } |
| 658 ] | 658 ] |
| OLD | NEW |