| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 from . import chromium_perf | 5 from . import chromium_perf |
| 6 | 6 |
| 7 import DEPS | 7 import DEPS |
| 8 CHROMIUM_CONFIG_CTX = DEPS['chromium'].CONFIG_CTX | 8 CHROMIUM_CONFIG_CTX = DEPS['chromium'].CONFIG_CTX |
| 9 GCLIENT_CONFIG_CTX = DEPS['gclient'].CONFIG_CTX | 9 GCLIENT_CONFIG_CTX = DEPS['gclient'].CONFIG_CTX |
| 10 | 10 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 | 24 |
| 25 @GCLIENT_CONFIG_CTX(includes=['chromium_perf']) | 25 @GCLIENT_CONFIG_CTX(includes=['chromium_perf']) |
| 26 def tryserver_chromium_perf(c): | 26 def tryserver_chromium_perf(c): |
| 27 soln = c.solutions.add() | 27 soln = c.solutions.add() |
| 28 soln.name = 'catapult' | 28 soln.name = 'catapult' |
| 29 soln.url = ('https://chromium.googlesource.com/external/github.com/' | 29 soln.url = ('https://chromium.googlesource.com/external/github.com/' |
| 30 'catapult-project/catapult.git') | 30 'catapult-project/catapult.git') |
| 31 | 31 |
| 32 | 32 |
| 33 def _AddBuildSpec(name, platform, target_bits=64): | 33 def _AddBuildSpec(name, platform, target_bits=64): |
| 34 # We run sizes with no perf_id for perf tryjobs. http://crbug.com/610772 |
| 34 SPEC['builders'][name] = chromium_perf.BuildSpec( | 35 SPEC['builders'][name] = chromium_perf.BuildSpec( |
| 35 'tryserver_chromium_perf', None, platform, target_bits) | 36 'tryserver_chromium_perf', None, platform, target_bits) |
| 36 | 37 |
| 37 | 38 |
| 38 def _AddTestSpec(name, platform, target_bits=64): | 39 def _AddTestSpec(name, platform, target_bits=64): |
| 39 # TODO(dtu): Change this to TestSpec after try job builds are all offloaded | 40 SPEC['builders'][name] = chromium_perf.TestSpec( |
| 40 # to builders. | 41 'tryserver_chromium_perf', platform, target_bits) |
| 41 spec = chromium_perf.BuildSpec( | |
| 42 'tryserver_chromium_perf', None, platform, target_bits) | |
| 43 del spec['tests'] | |
| 44 SPEC['builders'][name] = spec | |
| 45 | 42 |
| 46 | 43 |
| 47 _AddBuildSpec('win_perf_bisect_builder', 'win', target_bits=32) | 44 _AddBuildSpec('win_perf_bisect_builder', 'win', target_bits=32) |
| 48 _AddBuildSpec('winx64_bisect_builder', 'win') | 45 _AddBuildSpec('winx64_bisect_builder', 'win') |
| 49 _AddBuildSpec('mac_perf_bisect_builder', 'mac') | 46 _AddBuildSpec('mac_perf_bisect_builder', 'mac') |
| 50 _AddBuildSpec('linux_perf_bisect_builder', 'linux') | 47 _AddBuildSpec('linux_perf_bisect_builder', 'linux') |
| 51 | 48 |
| 52 | 49 |
| 53 _AddTestSpec('winx64_10_perf_cq', 'win') | 50 _AddTestSpec('winx64_10_perf_cq', 'win') |
| 54 _AddTestSpec('mac_retina_perf_cq', 'mac') | 51 _AddTestSpec('mac_retina_perf_cq', 'mac') |
| (...skipping 14 matching lines...) Expand all Loading... |
| 69 _AddTestSpec('winx64ati_perf_bisect', 'win') | 66 _AddTestSpec('winx64ati_perf_bisect', 'win') |
| 70 _AddTestSpec('winx64intel_perf_bisect', 'win') | 67 _AddTestSpec('winx64intel_perf_bisect', 'win') |
| 71 _AddTestSpec('winx64nvidia_perf_bisect', 'win') | 68 _AddTestSpec('winx64nvidia_perf_bisect', 'win') |
| 72 | 69 |
| 73 _AddTestSpec('mac_10_11_perf_bisect', 'mac') | 70 _AddTestSpec('mac_10_11_perf_bisect', 'mac') |
| 74 _AddTestSpec('mac_10_10_perf_bisect', 'mac') | 71 _AddTestSpec('mac_10_10_perf_bisect', 'mac') |
| 75 _AddTestSpec('mac_retina_perf_bisect', 'mac') | 72 _AddTestSpec('mac_retina_perf_bisect', 'mac') |
| 76 _AddTestSpec('mac_hdd_perf_bisect', 'mac') | 73 _AddTestSpec('mac_hdd_perf_bisect', 'mac') |
| 77 | 74 |
| 78 _AddTestSpec('linux_perf_bisect', 'linux') | 75 _AddTestSpec('linux_perf_bisect', 'linux') |
| OLD | NEW |