| 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 |
| 56 return spec | 59 return spec |
| 57 | 60 |
| 58 | 61 |
| 59 def _TestSpec(parent_builder, perf_id, platform, target_bits, max_battery_temp, | 62 def _TestSpec(parent_builder, perf_id, platform, target_bits, max_battery_temp, |
| 60 shard_index, num_host_shards, num_device_shards, | 63 shard_index, num_host_shards, num_device_shards, |
| 61 known_devices_file): | 64 known_devices_file): |
| 62 spec = _BaseSpec( | 65 spec = _BaseSpec( |
| 63 bot_type='tester', | 66 bot_type='tester', |
| 64 chromium_apply_config=[], | 67 chromium_apply_config=[], |
| 65 disable_tests=platform == 'android', | 68 disable_tests=platform == 'android', |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 _AddTestSpec('Mac 10.10 Perf', 'chromium-rel-mac10', 'mac', | 156 _AddTestSpec('Mac 10.10 Perf', 'chromium-rel-mac10', 'mac', |
| 154 num_host_shards=5) | 157 num_host_shards=5) |
| 155 _AddTestSpec('Mac Retina Perf', 'chromium-rel-mac-retina', 'mac', | 158 _AddTestSpec('Mac Retina Perf', 'chromium-rel-mac-retina', 'mac', |
| 156 num_host_shards=5) | 159 num_host_shards=5) |
| 157 _AddTestSpec('Mac HDD Perf', 'chromium-rel-mac-hdd', 'mac', | 160 _AddTestSpec('Mac HDD Perf', 'chromium-rel-mac-hdd', 'mac', |
| 158 num_host_shards=5) | 161 num_host_shards=5) |
| 159 | 162 |
| 160 | 163 |
| 161 _AddTestSpec('Linux Perf', 'linux-release', 'linux', | 164 _AddTestSpec('Linux Perf', 'linux-release', 'linux', |
| 162 num_host_shards=5) | 165 num_host_shards=5) |
| OLD | NEW |