| OLD | NEW |
| 1 # -*- python -*- | 1 # -*- python -*- |
| 2 # ex: set syntax=python: | 2 # ex: set syntax=python: |
| 3 # Copyright 2014 The Chromium Authors. All rights reserved. | 3 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 4 # Use of this source code is governed by a BSD-style license that can be | 4 # Use of this source code is governed by a BSD-style license that can be |
| 5 # found in the LICENSE file. | 5 # found in the LICENSE file. |
| 6 | 6 |
| 7 def distribute_slaves(slave_numbers, builders, os_ver, pool=None, gce=False): | 7 def distribute_slaves(slave_numbers, builders, os_ver, pool=None, gce=False): |
| 8 hostname_format = 'vm%d-m4' if not gce else 'slave%d-c4' | 8 hostname_format = 'vm%d-m4' if not gce else 'slave%d-c4' |
| 9 return [ | 9 return [ |
| 10 { | 10 { |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 optional_slaves_gn, optional_builders_gn, 'win7', 'win_optional_gn') | 56 optional_slaves_gn, optional_builders_gn, 'win7', 'win_optional_gn') |
| 57 | 57 |
| 58 optional_slaves_chromium = [181, 185, 186, 187, 192] | 58 optional_slaves_chromium = [181, 185, 186, 187, 192] |
| 59 optional_builders_chromium = [ | 59 optional_builders_chromium = [ |
| 60 # directory: win | 60 # directory: win |
| 61 'win_chromium_compile_rel_ng', | 61 'win_chromium_compile_rel_ng', |
| 62 'win_chromium_dbg_ng', | 62 'win_chromium_dbg_ng', |
| 63 'win_chromium_syzyasan_rel', | 63 'win_chromium_syzyasan_rel', |
| 64 'win_chromium_variable', | 64 'win_chromium_variable', |
| 65 'win_optional_gpu_tests_rel', | 65 'win_optional_gpu_tests_rel', |
| 66 # directory: win_gn |
| 67 'win_chromium_variable_gn', |
| 66 # directory: win_nacl_sdk | 68 # directory: win_nacl_sdk |
| 67 'win_nacl_sdk', | 69 'win_nacl_sdk', |
| 68 # directory: win_nacl_sdk_build | 70 # directory: win_nacl_sdk_build |
| 69 'win_nacl_sdk_build', | 71 'win_nacl_sdk_build', |
| 70 ] | 72 ] |
| 71 optional_pool_chromium = distribute_slaves( | 73 optional_pool_chromium = distribute_slaves( |
| 72 optional_slaves_chromium, | 74 optional_slaves_chromium, |
| 73 optional_builders_chromium, | 75 optional_builders_chromium, |
| 74 'win7', | 76 'win7', |
| 75 'win_optional_chromium') | 77 'win_optional_chromium') |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 cq_pool + | 140 cq_pool + |
| 139 optional_pool + | 141 optional_pool + |
| 140 win8_pool + | 142 win8_pool + |
| 141 win_pgo_pool + | 143 win_pgo_pool + |
| 142 experimental_pool + | 144 experimental_pool + |
| 143 clang_win_pool + | 145 clang_win_pool + |
| 144 clang_win_gce_pool) | 146 clang_win_gce_pool) |
| 145 | 147 |
| 146 | 148 |
| 147 slaves = windows() | 149 slaves = windows() |
| OLD | NEW |