OLD | NEW |
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 # Copyright 2014 The Chromium Authors. All rights reserved. | 2 # Copyright 2014 The Chromium Authors. All rights reserved. |
3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 | 5 |
6 # TODO(hinoka): Use logging. | 6 # TODO(hinoka): Use logging. |
7 | 7 |
8 import cStringIO | 8 import cStringIO |
9 import codecs | 9 import codecs |
10 import collections | 10 import collections |
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
205 RECOGNIZED_PATHS = { | 205 RECOGNIZED_PATHS = { |
206 # If SVN path matches key, the entire URL is rewritten to the Git url. | 206 # If SVN path matches key, the entire URL is rewritten to the Git url. |
207 '/chrome/trunk/src': | 207 '/chrome/trunk/src': |
208 CHROMIUM_SRC_URL, | 208 CHROMIUM_SRC_URL, |
209 '/chrome/trunk/deps/third_party/webrtc/webrtc.DEPS': | 209 '/chrome/trunk/deps/third_party/webrtc/webrtc.DEPS': |
210 CHROMIUM_GIT_HOST + '/chromium/deps/webrtc/webrtc.DEPS.git', | 210 CHROMIUM_GIT_HOST + '/chromium/deps/webrtc/webrtc.DEPS.git', |
211 '/svn/branches/bleeding_edge': | 211 '/svn/branches/bleeding_edge': |
212 CHROMIUM_GIT_HOST + '/v8/v8.git', | 212 CHROMIUM_GIT_HOST + '/v8/v8.git', |
213 '/chrome/trunk/src/tools/cros.DEPS': | 213 '/chrome/trunk/src/tools/cros.DEPS': |
214 CHROMIUM_GIT_HOST + '/chromium/src/tools/cros.DEPS.git', | 214 CHROMIUM_GIT_HOST + '/chromium/src/tools/cros.DEPS.git', |
215 '/webrtc/trunk': | |
216 CHROMIUM_GIT_HOST + '/external/webrtc.git', | |
217 } | 215 } |
218 RECOGNIZED_PATHS.update(internal_data.get('RECOGNIZED_PATHS', {})) | 216 RECOGNIZED_PATHS.update(internal_data.get('RECOGNIZED_PATHS', {})) |
219 | 217 |
220 ENABLED_MASTERS = [ | 218 ENABLED_MASTERS = [ |
221 'bot_update.always_on', | 219 'bot_update.always_on', |
222 'chromium.chrome', | 220 'chromium.chrome', |
223 'chromium.chromedriver', | 221 'chromium.chromedriver', |
224 'chromium.chromiumos', | 222 'chromium.chromiumos', |
225 'chromium', | 223 'chromium', |
226 'chromium.fyi', | 224 'chromium.fyi', |
(...skipping 29 matching lines...) Expand all Loading... |
256 'client.v8.branches': [ | 254 'client.v8.branches': [ |
257 # Note, bot_update can't be activated on other builders of | 255 # Note, bot_update can't be activated on other builders of |
258 # client.v8.branches, as they're all pure svn based (non-chromium). | 256 # client.v8.branches, as they're all pure svn based (non-chromium). |
259 'Chromium ASAN (symbolized)', | 257 'Chromium ASAN (symbolized)', |
260 'Chromium ASAN - debug', | 258 'Chromium ASAN - debug', |
261 'Chromium ASAN arm64 (symbolized)', | 259 'Chromium ASAN arm64 (symbolized)', |
262 'Chromium ASAN arm64 - debug', | 260 'Chromium ASAN arm64 - debug', |
263 'Chromium Win SyzyASAN', | 261 'Chromium Win SyzyASAN', |
264 ], | 262 ], |
265 'tryserver.webrtc': [ | 263 'tryserver.webrtc': [ |
266 'linux', | 264 'android_apk', |
267 'mac', | 265 'android_apk_rel', |
268 'win', | 266 ], |
269 ], | |
270 } | 267 } |
271 ENABLED_BUILDERS.update(internal_data.get('ENABLED_BUILDERS', {})) | 268 ENABLED_BUILDERS.update(internal_data.get('ENABLED_BUILDERS', {})) |
272 | 269 |
273 ENABLED_SLAVES = {} | 270 ENABLED_SLAVES = {} |
274 ENABLED_SLAVES.update(internal_data.get('ENABLED_SLAVES', {})) | 271 ENABLED_SLAVES.update(internal_data.get('ENABLED_SLAVES', {})) |
275 | 272 |
276 # Disabled filters get run AFTER enabled filters, so for example if a builder | 273 # Disabled filters get run AFTER enabled filters, so for example if a builder |
277 # config is enabled, but a bot on that builder is disabled, that bot will | 274 # config is enabled, but a bot on that builder is disabled, that bot will |
278 # be disabled. | 275 # be disabled. |
279 DISABLED_BUILDERS = {} | 276 DISABLED_BUILDERS = {} |
(...skipping 1383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1663 except Exception: | 1660 except Exception: |
1664 # Unexpected failure. | 1661 # Unexpected failure. |
1665 emit_flag(options.flag_file) | 1662 emit_flag(options.flag_file) |
1666 raise | 1663 raise |
1667 else: | 1664 else: |
1668 emit_flag(options.flag_file) | 1665 emit_flag(options.flag_file) |
1669 | 1666 |
1670 | 1667 |
1671 if __name__ == '__main__': | 1668 if __name__ == '__main__': |
1672 sys.exit(main()) | 1669 sys.exit(main()) |
OLD | NEW |