| 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 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 163 "name": "Version: some_builder_1234" | 163 "name": "Version: some_builder_1234" |
| 164 }, | 164 }, |
| 165 { | 165 { |
| 166 "cmd": [ | 166 "cmd": [ |
| 167 "python", | 167 "python", |
| 168 "-u", | 168 "-u", |
| 169 "[DEPOT_TOOLS]/gclient.py", | 169 "[DEPOT_TOOLS]/gclient.py", |
| 170 "runhooks" | 170 "runhooks" |
| 171 ], | 171 ], |
| 172 "env": { | 172 "env": { |
| 173 "EXTRA_LANDMINES_SCRIPT": "[SLAVE_BUILD]/src/clank/build/get_internal_land
mines.py", |
| 173 "GYP_DEFINES": "OS=android app_manifest_version_code=10 app_manifest_versi
on_name=some_builder_1234 chrome_build_id=3333 component=static_library fastbuil
d=1 target_arch=arm", | 174 "GYP_DEFINES": "OS=android app_manifest_version_code=10 app_manifest_versi
on_name=some_builder_1234 chrome_build_id=3333 component=static_library fastbuil
d=1 target_arch=arm", |
| 174 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 175 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 175 }, | 176 }, |
| 176 "name": "gclient runhooks" | 177 "name": "gclient runhooks" |
| 177 }, | 178 }, |
| 178 { | 179 { |
| 179 "abort_on_failure": true, | 180 "abort_on_failure": true, |
| 180 "cmd": [ | 181 "cmd": [ |
| 181 "python", | 182 "python", |
| 182 "-u", | 183 "-u", |
| 183 "[BUILD]/scripts/slave/compile.py", | 184 "[BUILD]/scripts/slave/compile.py", |
| 184 "--target", | 185 "--target", |
| 185 "Release", | 186 "Release", |
| 186 "--src-dir", | 187 "--src-dir", |
| 187 "[SLAVE_BUILD]/src", | 188 "[SLAVE_BUILD]/src", |
| 188 "--build-tool", | 189 "--build-tool", |
| 189 "ninja", | 190 "ninja", |
| 190 "--" | 191 "--" |
| 191 ], | 192 ], |
| 192 "env": { | 193 "env": { |
| 193 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 194 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 194 }, | 195 }, |
| 195 "name": "compile" | 196 "name": "compile" |
| 196 }, | 197 }, |
| 197 { | 198 { |
| 198 "cmd": [ | 199 "cmd": [ |
| 199 "[DEPOT_TOOLS]/git_number.py" | |
| 200 ], | |
| 201 "cwd": "[SLAVE_BUILD]/src", | |
| 202 "name": "git_number", | |
| 203 "stdout": "/path/to/tmp/" | |
| 204 }, | |
| 205 { | |
| 206 "always_run": true, | |
| 207 "cmd": [ | |
| 208 "python", | |
| 209 "-u", | |
| 210 "[BUILD]/scripts/slave/android/archive_build.py", | |
| 211 "--target", | |
| 212 "Release", | |
| 213 "--name", | |
| 214 "build_product.zip" | |
| 215 ], | |
| 216 "cwd": "[SLAVE_BUILD]/src", | |
| 217 "name": "zip_build_product" | |
| 218 }, | |
| 219 { | |
| 220 "cmd": [ | |
| 221 "python", | |
| 222 "-u", | |
| 223 "[BUILD]/scripts/slave/recipe_modules/gsutil/resources/gsutil_wrapper.py", | |
| 224 "--", | |
| 225 "[DEPOT_TOOLS]/third_party/gsutil/gsutil", | |
| 226 "cp", | |
| 227 "[SLAVE_BUILD]/src/out/build_product.zip", | |
| 228 "gs://build-bucket/restart_usb_builder/build_product_4f4b02f6b7fa20a3a2568
2c457bbc8ad589c8a00.zip" | |
| 229 ], | |
| 230 "name": "gsutil upload_build_product", | |
| 231 "~followup_annotations": [ | |
| 232 "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/build-bucket/
restart_usb_builder/build_product_4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00.zip@@
@" | |
| 233 ] | |
| 234 }, | |
| 235 { | |
| 236 "cmd": [ | |
| 237 "python", | 200 "python", |
| 238 "-u", | 201 "-u", |
| 239 "[BUILD]/scripts/slave/recipe_modules/adb/resources/list_devices.py", | 202 "[BUILD]/scripts/slave/recipe_modules/adb/resources/list_devices.py", |
| 240 "['[BUILD_INTERNAL]/scripts/slave/android/adb', 'devices']", | 203 "['[BUILD_INTERNAL]/scripts/slave/android/adb', 'devices']", |
| 241 "/path/to/tmp/json" | 204 "/path/to/tmp/json" |
| 242 ], | 205 ], |
| 243 "name": "List adb devices", | 206 "name": "List adb devices", |
| 244 "~followup_annotations": [ | 207 "~followup_annotations": [ |
| 245 "@@@STEP_LOG_LINE@json.output@[@@@", | 208 "@@@STEP_LOG_LINE@json.output@[@@@", |
| 246 "@@@STEP_LOG_LINE@json.output@ \"014E1F310401C009\"@@@", | 209 "@@@STEP_LOG_LINE@json.output@ \"014E1F310401C009\"@@@", |
| (...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 499 ], | 462 ], |
| 500 "env": { | 463 "env": { |
| 501 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 464 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 502 }, | 465 }, |
| 503 "name": "stack_tool_for_tombstones" | 466 "name": "stack_tool_for_tombstones" |
| 504 }, | 467 }, |
| 505 { | 468 { |
| 506 "always_run": true, | 469 "always_run": true, |
| 507 "cmd": [ | 470 "cmd": [ |
| 508 "rm", | 471 "rm", |
| 509 "-rf", | 472 "-rf" |
| 510 "[SLAVE_BUILD]/src/out/build_product.zip" | |
| 511 ], | 473 ], |
| 512 "name": "cleanup_build" | 474 "name": "cleanup_build" |
| 513 } | 475 } |
| 514 ] | 476 ] |
| OLD | NEW |