| 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 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 181 "src", | 181 "src", |
| 182 "foo", | 182 "foo", |
| 183 "src/repo" | 183 "src/repo" |
| 184 ], | 184 ], |
| 185 "name": "tree truth steps" | 185 "name": "tree truth steps" |
| 186 }, | 186 }, |
| 187 { | 187 { |
| 188 "cmd": [ | 188 "cmd": [ |
| 189 "python", | 189 "python", |
| 190 "-u", | 190 "-u", |
| 191 "\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", | 191 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
| 192 "[SLAVE_BUILD]/src/chrome/VERSION", | 192 "[SLAVE_BUILD]/src/chrome/VERSION", |
| 193 "/path/to/tmp/" | 193 "/path/to/tmp/" |
| 194 ], | 194 ], |
| 195 "name": "get version" | 195 "name": "get version" |
| 196 }, | 196 }, |
| 197 { | 197 { |
| 198 "cmd": [ | 198 "cmd": [ |
| 199 "[SLAVE_BUILD]/src/testing/scripts/host_info.py", | 199 "[SLAVE_BUILD]/src/testing/scripts/host_info.py", |
| 200 "--args", | 200 "--args", |
| 201 "[\"--known-devices-file\", \"[HOME]/.android/known_devices.json\"]", | 201 "[\"--known-devices-file\", \"[HOME]/.android/known_devices.json\"]", |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 282 "[DEPOT_TOOLS]/git_number.py" | 282 "[DEPOT_TOOLS]/git_number.py" |
| 283 ], | 283 ], |
| 284 "cwd": "[SLAVE_BUILD]/src", | 284 "cwd": "[SLAVE_BUILD]/src", |
| 285 "name": "git_number", | 285 "name": "git_number", |
| 286 "stdout": "/path/to/tmp/" | 286 "stdout": "/path/to/tmp/" |
| 287 }, | 287 }, |
| 288 { | 288 { |
| 289 "cmd": [ | 289 "cmd": [ |
| 290 "python", | 290 "python", |
| 291 "-u", | 291 "-u", |
| 292 "\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", | 292 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
| 293 "[SLAVE_BUILD]/src/chrome/VERSION", | 293 "[SLAVE_BUILD]/src/chrome/VERSION", |
| 294 "/path/to/tmp/" | 294 "/path/to/tmp/" |
| 295 ], | 295 ], |
| 296 "name": "get version (2)" | 296 "name": "get version (2)" |
| 297 }, | 297 }, |
| 298 { | 298 { |
| 299 "cmd": [ | 299 "cmd": [ |
| 300 "[SLAVE_BUILD]/src/build/android/adb_install_apk.py", | 300 "[SLAVE_BUILD]/src/build/android/adb_install_apk.py", |
| 301 "Chrome.apk", | 301 "Chrome.apk", |
| 302 "-v", | 302 "-v", |
| (...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 668 ] | 668 ] |
| 669 }, | 669 }, |
| 670 { | 670 { |
| 671 "cmd": [], | 671 "cmd": [], |
| 672 "name": "fix_device_file_format" | 672 "name": "fix_device_file_format" |
| 673 }, | 673 }, |
| 674 { | 674 { |
| 675 "cmd": [ | 675 "cmd": [ |
| 676 "python", | 676 "python", |
| 677 "-u", | 677 "-u", |
| 678 "\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", | 678 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
| 679 "[HOME]/.android/known_devices.json", | 679 "[HOME]/.android/known_devices.json", |
| 680 "/path/to/tmp/" | 680 "/path/to/tmp/" |
| 681 ], | 681 ], |
| 682 "name": "fix_device_file_format.read_device_file", | 682 "name": "fix_device_file_format.read_device_file", |
| 683 "~followup_annotations": [ | 683 "~followup_annotations": [ |
| 684 "@@@STEP_NEST_LEVEL@1@@@", | 684 "@@@STEP_NEST_LEVEL@1@@@", |
| 685 "@@@STEP_TEXT@file format is compatible@@@" | 685 "@@@STEP_TEXT@file format is compatible@@@" |
| 686 ] | 686 ] |
| 687 }, | 687 }, |
| 688 { | 688 { |
| (...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 957 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release", | 957 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release", |
| 958 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 958 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 959 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 959 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 960 }, | 960 }, |
| 961 "name": "stack_tool_with_logcat_dump" | 961 "name": "stack_tool_with_logcat_dump" |
| 962 }, | 962 }, |
| 963 { | 963 { |
| 964 "cmd": [ | 964 "cmd": [ |
| 965 "python", | 965 "python", |
| 966 "-u", | 966 "-u", |
| 967 "\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", | 967 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
| 968 "[SLAVE_BUILD]/src/chrome/VERSION", | 968 "[SLAVE_BUILD]/src/chrome/VERSION", |
| 969 "/path/to/tmp/" | 969 "/path/to/tmp/" |
| 970 ], | 970 ], |
| 971 "name": "get version (3)" | 971 "name": "get version (3)" |
| 972 }, | 972 }, |
| 973 { | 973 { |
| 974 "cmd": [ | 974 "cmd": [ |
| 975 "[SLAVE_BUILD]/src/build/android/tombstones.py", | 975 "[SLAVE_BUILD]/src/build/android/tombstones.py", |
| 976 "-a", | 976 "-a", |
| 977 "-s", | 977 "-s", |
| (...skipping 18 matching lines...) Expand all Loading... |
| 996 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 996 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 997 }, | 997 }, |
| 998 "name": "stack_tool_for_asan" | 998 "name": "stack_tool_for_asan" |
| 999 }, | 999 }, |
| 1000 { | 1000 { |
| 1001 "name": "$result", | 1001 "name": "$result", |
| 1002 "recipe_result": null, | 1002 "recipe_result": null, |
| 1003 "status_code": 0 | 1003 "status_code": 0 |
| 1004 } | 1004 } |
| 1005 ] | 1005 ] |
| OLD | NEW |