OLD | NEW |
1 # -*- python -*- | 1 # -*- python -*- |
2 # ex: set syntax=python: | 2 # ex: set syntax=python: |
3 | 3 |
4 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 4 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
5 # Use of this source code is governed by a BSD-style license that can be | 5 # Use of this source code is governed by a BSD-style license that can be |
6 # found in the LICENSE file. | 6 # found in the LICENSE file. |
7 | 7 |
8 # See master.experimental/slaves.cfg for documentation. | 8 # See master.experimental/slaves.cfg for documentation. |
9 | 9 |
10 shards = { | 10 shards = { |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 for platform in platforms: | 43 for platform in platforms: |
44 for slave in platform_to_slavelist[platform]: | 44 for slave in platform_to_slavelist[platform]: |
45 builders = [] | 45 builders = [] |
46 categories = [] | 46 categories = [] |
47 for when in ['', 'nightly-']: | 47 for when in ['', 'nightly-']: |
48 for index, libc in enumerate(libcs): | 48 for index, libc in enumerate(libcs): |
49 order = {'': index, 'nightly-': index + len(libcs)}[when] | 49 order = {'': index, 'nightly-': index + len(libcs)}[when] |
50 for shard in range(shards[platform][libc]): | 50 for shard in range(shards[platform][libc]): |
51 builders.append('%s%s-%s-%d' % (when, platform, libc, shard)) | 51 builders.append('%s%s-%s-%d' % (when, platform, libc, shard)) |
52 categories.append('%02d%s%s' % (order, when, libc)) | 52 categories.append('%02d%s%s' % (order, when, libc)) |
53 if platform == 'linux': | |
54 builders.append('linux-sdk') | |
55 categories.append('99sdk') | |
56 slaves.append({ | 53 slaves.append({ |
57 'master': 'NativeClientPorts', | 54 'master': 'NativeClientPorts', |
58 'builder': builders, | 55 'builder': builders, |
59 'categories': categories, | 56 'categories': categories, |
60 'hostname': slave, | 57 'hostname': slave, |
61 'os': platform, | 58 'os': platform, |
62 'version': platform_to_version[platform], | 59 'version': platform_to_version[platform], |
63 'bits': '64', | 60 'bits': '64', |
64 }) | 61 }) |
OLD | NEW |