OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import collections | 5 import collections |
6 | 6 |
7 from . import steps | 7 from . import steps |
8 | 8 |
9 | 9 |
10 _builders = collections.defaultdict(dict) | 10 _builders = collections.defaultdict(dict) |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 target_bits=target_bits) | 46 target_bits=target_bits) |
47 | 47 |
48 if platform == 'android': | 48 if platform == 'android': |
49 spec['chromium_apply_config'].append('android') | 49 spec['chromium_apply_config'].append('android') |
50 spec['chromium_config_kwargs']['TARGET_ARCH'] = 'arm' | 50 spec['chromium_config_kwargs']['TARGET_ARCH'] = 'arm' |
51 spec['gclient_apply_config'] = ['android', 'perf'] | 51 spec['gclient_apply_config'] = ['android', 'perf'] |
52 else: | 52 else: |
53 spec['compile_targets'] = ['chromium_builder_perf'] | 53 spec['compile_targets'] = ['chromium_builder_perf'] |
54 spec['gclient_apply_config'] = ['chrome_internal'] | 54 spec['gclient_apply_config'] = ['chrome_internal'] |
55 | 55 |
56 if platform == 'win': | |
57 spec['tests'] = { steps.SizesStep(results_url=None, perf_id=None) } | |
58 | |
59 return spec | 56 return spec |
60 | 57 |
61 | 58 |
62 def _TestSpec(parent_builder, perf_id, platform, target_bits, max_battery_temp, | 59 def _TestSpec(parent_builder, perf_id, platform, target_bits, max_battery_temp, |
63 shard_index, num_host_shards, num_device_shards, | 60 shard_index, num_host_shards, num_device_shards, |
64 known_devices_file): | 61 known_devices_file): |
65 spec = _BaseSpec( | 62 spec = _BaseSpec( |
66 bot_type='tester', | 63 bot_type='tester', |
67 chromium_apply_config=[], | 64 chromium_apply_config=[], |
68 disable_tests=platform == 'android', | 65 disable_tests=platform == 'android', |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 _AddTestSpec('Mac 10.10 Perf', 'chromium-rel-mac10', 'mac', | 153 _AddTestSpec('Mac 10.10 Perf', 'chromium-rel-mac10', 'mac', |
157 num_host_shards=5) | 154 num_host_shards=5) |
158 _AddTestSpec('Mac Retina Perf', 'chromium-rel-mac-retina', 'mac', | 155 _AddTestSpec('Mac Retina Perf', 'chromium-rel-mac-retina', 'mac', |
159 num_host_shards=5) | 156 num_host_shards=5) |
160 _AddTestSpec('Mac HDD Perf', 'chromium-rel-mac-hdd', 'mac', | 157 _AddTestSpec('Mac HDD Perf', 'chromium-rel-mac-hdd', 'mac', |
161 num_host_shards=5) | 158 num_host_shards=5) |
162 | 159 |
163 | 160 |
164 _AddTestSpec('Linux Perf', 'linux-release', 'linux', | 161 _AddTestSpec('Linux Perf', 'linux-release', 'linux', |
165 num_host_shards=5) | 162 num_host_shards=5) |
OLD | NEW |