| OLD | NEW |
| (Empty) | |
| 1 [ |
| 2 { |
| 3 "cmd": [ |
| 4 "python", |
| 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", |
| 7 "[SLAVE_BUILD]" |
| 8 ], |
| 9 "name": "cleanup index.lock", |
| 10 "~followup_annotations": [ |
| 11 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 12 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", |
| 13 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 14 "@@@STEP_LOG_LINE@python.inline@build_path = sys.argv[1]@@@", |
| 15 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(build_path):@@@", |
| 16 "@@@STEP_LOG_LINE@python.inline@ for (path, dir, files) in os.walk(build_
path):@@@", |
| 17 "@@@STEP_LOG_LINE@python.inline@ for cur_file in files:@@@", |
| 18 "@@@STEP_LOG_LINE@python.inline@ if cur_file.endswith('index.lock'):@
@@", |
| 19 "@@@STEP_LOG_LINE@python.inline@ path_to_file = os.path.join(path,
cur_file)@@@", |
| 20 "@@@STEP_LOG_LINE@python.inline@ print 'deleting %s' % path_to_file
@@@", |
| 21 "@@@STEP_LOG_LINE@python.inline@ os.remove(path_to_file)@@@", |
| 22 "@@@STEP_LOG_END@python.inline@@@" |
| 23 ] |
| 24 }, |
| 25 { |
| 26 "abort_on_failure": true, |
| 27 "cmd": [ |
| 28 "python", |
| 29 "-u", |
| 30 "[BUILD]/scripts/slave/bot_update.py", |
| 31 "--master", |
| 32 "chromium.testing.master", |
| 33 "--builder", |
| 34 "dartium_builder", |
| 35 "--slave", |
| 36 "TestSlavename", |
| 37 "--spec", |
| 38 "cache_dir = None\nsolutions = [{'deps_file': 'DEPS', 'managed': True, 'na
me': 'src/repo', 'url': 'svn://svn.chromium.org/chrome/trunk/src'}]\ntarget_os =
['android']", |
| 39 "--revision_mapping_file", |
| 40 "{}", |
| 41 "--output_json", |
| 42 "/path/to/tmp/json", |
| 43 "--revision", |
| 44 "4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00" |
| 45 ], |
| 46 "name": "bot_update", |
| 47 "~followup_annotations": [ |
| 48 "@@@STEP_LOG_LINE@json.output@{@@@", |
| 49 "@@@STEP_LOG_LINE@json.output@ \"did_run\": false@@@", |
| 50 "@@@STEP_LOG_LINE@json.output@}@@@", |
| 51 "@@@STEP_LOG_END@json.output@@@" |
| 52 ] |
| 53 }, |
| 54 { |
| 55 "cmd": [ |
| 56 "python", |
| 57 "-u", |
| 58 "[DEPOT_TOOLS]/gclient.py", |
| 59 "config", |
| 60 "--spec", |
| 61 "cache_dir = None\nsolutions = [{'deps_file': 'DEPS', 'managed': True, 'na
me': 'src/repo', 'url': 'svn://svn.chromium.org/chrome/trunk/src'}]\ntarget_os =
['android']" |
| 62 ], |
| 63 "name": "gclient setup" |
| 64 }, |
| 65 { |
| 66 "abort_on_failure": true, |
| 67 "cmd": [ |
| 68 "python", |
| 69 "-u", |
| 70 "[DEPOT_TOOLS]/gclient.py", |
| 71 "sync", |
| 72 "--nohooks", |
| 73 "--delete_unversioned_trees", |
| 74 "--force", |
| 75 "--verbose", |
| 76 "--revision", |
| 77 "src/repo@4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00", |
| 78 "--output-json", |
| 79 "/path/to/tmp/json" |
| 80 ], |
| 81 "name": "gclient sync", |
| 82 "~followup_annotations": [ |
| 83 "@@@STEP_LOG_LINE@json.output@{@@@", |
| 84 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", |
| 85 "@@@STEP_LOG_LINE@json.output@ \"src/\": {@@@", |
| 86 "@@@STEP_LOG_LINE@json.output@ \"revision\": 170242@@@", |
| 87 "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| 88 "@@@STEP_LOG_LINE@json.output@ \"src/native_client/\": {@@@", |
| 89 "@@@STEP_LOG_LINE@json.output@ \"revision\": 274981@@@", |
| 90 "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| 91 "@@@STEP_LOG_LINE@json.output@ \"src/repo/\": {@@@", |
| 92 "@@@STEP_LOG_LINE@json.output@ \"revision\": 126336@@@", |
| 93 "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| 94 "@@@STEP_LOG_LINE@json.output@ \"src/third_party/WebKit/\": {@@@", |
| 95 "@@@STEP_LOG_LINE@json.output@ \"revision\": 124383@@@", |
| 96 "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| 97 "@@@STEP_LOG_LINE@json.output@ \"src/third_party/webrtc/\": {@@@", |
| 98 "@@@STEP_LOG_LINE@json.output@ \"revision\": 120644@@@", |
| 99 "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| 100 "@@@STEP_LOG_LINE@json.output@ \"src/tools/swarm_client/\": {@@@", |
| 101 "@@@STEP_LOG_LINE@json.output@ \"revision\": 200767@@@", |
| 102 "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| 103 "@@@STEP_LOG_LINE@json.output@ \"src/tools/swarming_client/\": {@@@", |
| 104 "@@@STEP_LOG_LINE@json.output@ \"revision\": 276089@@@", |
| 105 "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| 106 "@@@STEP_LOG_LINE@json.output@ \"src/v8/\": {@@@", |
| 107 "@@@STEP_LOG_LINE@json.output@ \"revision\": 43426@@@", |
| 108 "@@@STEP_LOG_LINE@json.output@ }@@@", |
| 109 "@@@STEP_LOG_LINE@json.output@ }@@@", |
| 110 "@@@STEP_LOG_LINE@json.output@}@@@", |
| 111 "@@@STEP_LOG_END@json.output@@@", |
| 112 "@@@SET_BUILD_PROPERTY@got_nacl_revision@274981@@@", |
| 113 "@@@SET_BUILD_PROPERTY@got_webkit_revision@124383@@@", |
| 114 "@@@SET_BUILD_PROPERTY@got_src_revision@170242@@@", |
| 115 "@@@SET_BUILD_PROPERTY@got_webrtc_revision@120644@@@", |
| 116 "@@@SET_BUILD_PROPERTY@got_swarming_client_revision@276089@@@", |
| 117 "@@@SET_BUILD_PROPERTY@got_v8_revision@43426@@@", |
| 118 "@@@SET_BUILD_PROPERTY@got_swarm_client_revision@200767@@@" |
| 119 ] |
| 120 }, |
| 121 { |
| 122 "cmd": [ |
| 123 "python", |
| 124 "-u", |
| 125 "\nimport shutil, sys, os\nshutil.rmtree(sys.argv[1], True)\nshutil.rmtree
(sys.argv[2], True)\nfor base, _dirs, files in os.walk(sys.argv[3]):\n for f in
files:\n if f.endswith('.pyc'):\n os.remove(os.path.join(base, f))\n", |
| 126 "[SLAVE_BUILD]/src/out/Debug/debug_info_dumps", |
| 127 "[SLAVE_BUILD]/src/out/Debug/test_logs", |
| 128 "[SLAVE_BUILD]/src" |
| 129 ], |
| 130 "name": "clean local files", |
| 131 "~followup_annotations": [ |
| 132 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 133 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@", |
| 134 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@", |
| 135 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@", |
| 136 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv
[3]):@@@", |
| 137 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@", |
| 138 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@", |
| 139 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@"
, |
| 140 "@@@STEP_LOG_END@python.inline@@@" |
| 141 ] |
| 142 }, |
| 143 { |
| 144 "cmd": [ |
| 145 "python", |
| 146 "-u", |
| 147 "[DEPOT_TOOLS]/gclient.py", |
| 148 "runhooks" |
| 149 ], |
| 150 "env": { |
| 151 "EXTRA_LANDMINES_SCRIPT": "[SLAVE_BUILD]/src/clank/build/get_internal_land
mines.py", |
| 152 "GYP_CROSSCOMPILE": "1", |
| 153 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 gomadir='[
BUILD]/goma' target_arch=arm use_goma=1", |
| 154 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 155 }, |
| 156 "name": "gclient runhooks" |
| 157 }, |
| 158 { |
| 159 "abort_on_failure": true, |
| 160 "cmd": [ |
| 161 "python", |
| 162 "-u", |
| 163 "[BUILD]/scripts/slave/compile.py", |
| 164 "--target", |
| 165 "Debug", |
| 166 "--src-dir", |
| 167 "[SLAVE_BUILD]/src", |
| 168 "--build-tool", |
| 169 "ninja", |
| 170 "--compiler", |
| 171 "goma", |
| 172 "--goma-dir", |
| 173 "[BUILD]/goma", |
| 174 "--", |
| 175 "chrome_apk", |
| 176 "content_shell_apk" |
| 177 ], |
| 178 "env": { |
| 179 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 180 }, |
| 181 "name": "compile" |
| 182 }, |
| 183 { |
| 184 "always_run": true, |
| 185 "cmd": [ |
| 186 "rm", |
| 187 "-rf" |
| 188 ], |
| 189 "name": "cleanup_build" |
| 190 }, |
| 191 { |
| 192 "cmd": [ |
| 193 "python", |
| 194 "-u", |
| 195 "[SLAVE_BUILD]/src/dart/tools/bots/dartium_android.py", |
| 196 "--build-products-dir", |
| 197 "[SLAVE_BUILD]/src/out/Debug" |
| 198 ], |
| 199 "name": "dartium_test" |
| 200 } |
| 201 ] |
| OLD | NEW |