| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 """Utility class to build the chromium master BuildFactory's. | 5 """Utility class to build the chromium master BuildFactory's. |
| 6 | 6 |
| 7 Based on gclient_factory.py and adds chromium-specific steps.""" | 7 Based on gclient_factory.py and adds chromium-specific steps.""" |
| 8 | 8 |
| 9 import re | 9 import re |
| 10 | 10 |
| (...skipping 663 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 674 'smoothness.top_25', | 674 'smoothness.top_25', |
| 675 'smoothness.tough_canvas_cases', | 675 'smoothness.tough_canvas_cases', |
| 676 'tab_switching.top_10', | 676 'tab_switching.top_10', |
| 677 ] | 677 ] |
| 678 for test_name in real_world_benchmarks: | 678 for test_name in real_world_benchmarks: |
| 679 Telemetry(test_name) | 679 Telemetry(test_name) |
| 680 | 680 |
| 681 # Other benchmarks: | 681 # Other benchmarks: |
| 682 if R('memory'): | 682 if R('memory'): |
| 683 f.AddMemoryTests(fp) | 683 f.AddMemoryTests(fp) |
| 684 if R('gpu_throughput'): | |
| 685 f.AddGpuThroughputTests(fp) | |
| 686 if R('tab_capture_performance'): | 684 if R('tab_capture_performance'): |
| 687 f.AddTabCapturePerformanceTests(fp) | 685 f.AddTabCapturePerformanceTests(fp) |
| 688 if R('idb_perf'): | 686 if R('idb_perf'): |
| 689 f.AddIDBPerfTests(fp) | 687 f.AddIDBPerfTests(fp) |
| 690 if R('indexeddb_perf'): | 688 if R('indexeddb_perf'): |
| 691 f.AddTelemetryTest('indexeddb_perf', factory_properties=fp) | 689 f.AddTelemetryTest('indexeddb_perf', factory_properties=fp) |
| 692 if R('shutdown'): | 690 if R('shutdown'): |
| 693 f.AddShutdownTests(fp) | 691 f.AddShutdownTests(fp) |
| 694 if R('startup_cold'): | 692 if R('startup_cold'): |
| 695 f.AddTelemetryTest('startup.cold.blank_page', factory_properties=fp) | 693 f.AddTelemetryTest('startup.cold.blank_page', factory_properties=fp) |
| (...skipping 676 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1372 mode=None, slave_type='BuilderTester', options=None, | 1370 mode=None, slave_type='BuilderTester', options=None, |
| 1373 compile_timeout=1200, build_url=None, project=None, | 1371 compile_timeout=1200, build_url=None, project=None, |
| 1374 factory_properties=None): | 1372 factory_properties=None): |
| 1375 # Make sure the solution is not already there. | 1373 # Make sure the solution is not already there. |
| 1376 if 'cros_deps' not in [s.name for s in self._solutions]: | 1374 if 'cros_deps' not in [s.name for s in self._solutions]: |
| 1377 self._solutions.append(gclient_factory.GClientSolution( | 1375 self._solutions.append(gclient_factory.GClientSolution( |
| 1378 config.Master.trunk_url + '/src/tools/cros.DEPS', name='cros_deps')) | 1376 config.Master.trunk_url + '/src/tools/cros.DEPS', name='cros_deps')) |
| 1379 return self.ChromiumFactory(target, clobber, tests, mode, slave_type, | 1377 return self.ChromiumFactory(target, clobber, tests, mode, slave_type, |
| 1380 options, compile_timeout, build_url, project, | 1378 options, compile_timeout, build_url, project, |
| 1381 factory_properties) | 1379 factory_properties) |
| OLD | NEW |