OLD | NEW |
1 [ | 1 [ |
2 { | 2 { |
3 "cmd": [ | 3 "cmd": [ |
4 "python", | 4 "python", |
5 "-u", | 5 "-u", |
6 "[DEPOT_TOOLS]/gclient.py", | 6 "[DEPOT_TOOLS]/gclient.py", |
7 "config", | 7 "config", |
8 "--spec", | 8 "--spec", |
9 "cache_dir = None\nsolutions = [{'deps_file': 'DEPS', 'managed': True, 'na
me': 'src', 'url': 'svn://svn-mirror.golo.chromium.org/chrome/trunk/src'}]\ntarg
et_os = ['android']" | 9 "cache_dir = None\nsolutions = [{'deps_file': 'DEPS', 'managed': True, 'na
me': 'src', 'url': 'svn://svn-mirror.golo.chromium.org/chrome/trunk/src'}]\ntarg
et_os = ['android']" |
10 ], | 10 ], |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 "cronet_package", | 112 "cronet_package", |
113 "cronet_sample_test_apk" | 113 "cronet_sample_test_apk" |
114 ], | 114 ], |
115 "env": { | 115 "env": { |
116 "PATH": "[BUILD_INTERNAL]/scripts/slave/android:./:%(PATH)s" | 116 "PATH": "[BUILD_INTERNAL]/scripts/slave/android:./:%(PATH)s" |
117 }, | 117 }, |
118 "name": "compile" | 118 "name": "compile" |
119 }, | 119 }, |
120 { | 120 { |
121 "cmd": [ | 121 "cmd": [ |
| 122 "[DEPOT_TOOLS]/git_number.py" |
| 123 ], |
| 124 "cwd": "[SLAVE_BUILD]/src", |
| 125 "name": "git_number", |
| 126 "stdout": "/path/to/tmp/" |
| 127 }, |
| 128 { |
| 129 "always_run": true, |
| 130 "cmd": [ |
| 131 "python", |
| 132 "-u", |
| 133 "[BUILD]/scripts/slave/android/archive_build.py", |
| 134 "--target", |
| 135 "Debug", |
| 136 "--name", |
| 137 "build_product_3000.zip" |
| 138 ], |
| 139 "cwd": "[SLAVE_BUILD]/src", |
| 140 "name": "zip_build_product" |
| 141 }, |
| 142 { |
| 143 "cmd": [ |
| 144 "python", |
| 145 "-u", |
| 146 "[BUILD]/scripts/slave/recipe_modules/gsutil/resources/gsutil_wrapper.py", |
| 147 "[DEPOT_TOOLS]/third_party/gsutil/gsutil", |
| 148 "cp", |
| 149 "[SLAVE_BUILD]/src/out/build_product_3000.zip", |
| 150 "gs://chromium-cronet/android/cronet-3000.zip" |
| 151 ], |
| 152 "name": "gsutil upload_build_product", |
| 153 "~followup_annotations": [ |
| 154 "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/chromium-cron
et/android/cronet-3000.zip@@@" |
| 155 ] |
| 156 }, |
| 157 { |
| 158 "can_fail_build": false, |
| 159 "cmd": [ |
| 160 "[BUILD]/scripts/slave/daemonizer.py", |
| 161 "--", |
| 162 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py", |
| 163 "[SLAVE_BUILD]/src/out/logcat" |
| 164 ], |
| 165 "env": { |
| 166 "PATH": "[BUILD_INTERNAL]/scripts/slave/android:./:%(PATH)s" |
| 167 }, |
| 168 "name": "spawn_logcat_monitor" |
| 169 }, |
| 170 { |
| 171 "cmd": [ |
122 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py" | 172 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py" |
123 ], | 173 ], |
124 "env": { | 174 "env": { |
125 "PATH": "[BUILD_INTERNAL]/scripts/slave/android:./:%(PATH)s" | 175 "PATH": "[BUILD_INTERNAL]/scripts/slave/android:./:%(PATH)s" |
126 }, | 176 }, |
127 "name": "device_status_check" | 177 "name": "device_status_check" |
128 }, | 178 }, |
129 { | 179 { |
| 180 "can_fail_build": false, |
| 181 "cmd": [ |
| 182 "[SLAVE_BUILD]/src/build/android/provision_devices.py", |
| 183 "-t", |
| 184 "Debug" |
| 185 ], |
| 186 "env": { |
| 187 "PATH": "[BUILD_INTERNAL]/scripts/slave/android:./:%(PATH)s" |
| 188 }, |
| 189 "name": "provision_devices" |
| 190 }, |
| 191 { |
130 "cmd": [ | 192 "cmd": [ |
131 "python", | 193 "python", |
132 "-u", | 194 "-u", |
133 "[SLAVE_BUILD]/src/build/android/adb_install_apk.py", | 195 "[SLAVE_BUILD]/src/build/android/adb_install_apk.py", |
134 "--apk", | 196 "--apk", |
135 "CronetSample.apk" | 197 "CronetSample.apk" |
136 ], | 198 ], |
137 "name": "install CronetSample" | 199 "name": "install CronetSample" |
138 }, | 200 }, |
139 { | 201 { |
140 "cmd": [ | 202 "cmd": [ |
141 "python", | 203 "python", |
142 "-u", | 204 "-u", |
143 "[SLAVE_BUILD]/src/build/android/test_runner.py", | 205 "[SLAVE_BUILD]/src/build/android/test_runner.py", |
144 "instrumentation", | 206 "instrumentation", |
145 "--test-apk", | 207 "--test-apk", |
146 "CronetSampleTest" | 208 "CronetSampleTest" |
147 ], | 209 ], |
148 "name": "test CronetSample" | 210 "name": "test CronetSample" |
149 }, | 211 }, |
150 { | 212 { |
151 "cmd": [ | |
152 "[DEPOT_TOOLS]/git_number.py" | |
153 ], | |
154 "cwd": "[SLAVE_BUILD]/src", | |
155 "name": "git_number", | |
156 "stdout": "/path/to/tmp/" | |
157 }, | |
158 { | |
159 "always_run": true, | 213 "always_run": true, |
160 "cmd": [ | 214 "cmd": [ |
161 "python", | 215 "python", |
162 "-u", | 216 "-u", |
163 "[BUILD]/scripts/slave/android/archive_build.py", | 217 "[BUILD]/scripts/slave/tee.py", |
164 "--target", | 218 "[SLAVE_BUILD]/src/out/Debug/full_log", |
165 "Debug", | 219 "--", |
166 "--name", | 220 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py", |
167 "build_product_3000.zip" | 221 "[SLAVE_BUILD]/src/out/logcat" |
168 ], | 222 ], |
169 "cwd": "[SLAVE_BUILD]/src", | 223 "name": "logcat_dump" |
170 "name": "zip_build_product" | |
171 }, | 224 }, |
172 { | 225 { |
| 226 "always_run": true, |
173 "cmd": [ | 227 "cmd": [ |
174 "python", | 228 "python", |
175 "-u", | 229 "-u", |
176 "[BUILD]/scripts/slave/recipe_modules/gsutil/resources/gsutil_wrapper.py", | 230 "\nimport glob, os, sys\nfor report in glob.glob(sys.argv[1]):\n with ope
n(report, 'r') as f:\n for l in f.readlines():\n print l\n os.remove(re
port)\n", |
177 "[DEPOT_TOOLS]/third_party/gsutil/gsutil", | 231 "[SLAVE_BUILD]/src/out/Debug/test_logs/*.log" |
178 "cp", | |
179 "[SLAVE_BUILD]/src/out/build_product_3000.zip", | |
180 "gs://chromium-cronet/android/cronet-3000.zip" | |
181 ], | 232 ], |
182 "name": "gsutil upload_build_product", | 233 "name": "test_report", |
183 "~followup_annotations": [ | 234 "~followup_annotations": [ |
184 "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/chromium-cron
et/android/cronet-3000.zip@@@" | 235 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 236 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", |
| 237 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", |
| 238 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", |
| 239 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", |
| 240 "@@@STEP_LOG_LINE@python.inline@ print l@@@", |
| 241 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", |
| 242 "@@@STEP_LOG_END@python.inline@@@" |
185 ] | 243 ] |
186 }, | 244 }, |
187 { | 245 { |
188 "always_run": true, | 246 "always_run": true, |
189 "cmd": [ | 247 "cmd": [ |
190 "rm", | 248 "rm", |
191 "-rf", | 249 "-rf", |
192 "[SLAVE_BUILD]/src/out/build_product_3000.zip" | 250 "[SLAVE_BUILD]/src/out/build_product_3000.zip" |
193 ], | 251 ], |
194 "name": "cleanup_build" | 252 "name": "cleanup_build" |
195 } | 253 } |
196 ] | 254 ] |
OLD | NEW |