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 infra.libs.infra_types import freeze | 5 from recipe_engine.types import freeze |
6 from recipe_engine import recipe_api | 6 from recipe_engine import recipe_api |
7 | 7 |
8 DEPS = [ | 8 DEPS = [ |
9 'bot_update', | 9 'bot_update', |
10 'chromium', | 10 'chromium', |
11 'chromium_android', | 11 'chromium_android', |
12 'gsutil', | 12 'gsutil', |
13 'path', | 13 'path', |
14 'properties', | 14 'properties', |
15 'python', | 15 'python', |
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 bot_config = _GetBotConfig(api) | 190 bot_config = _GetBotConfig(api) |
191 if bot_config.get('run_perf_tests', False): | 191 if bot_config.get('run_perf_tests', False): |
192 _RunPerfTests(api, bot_config['perf_test_info']) | 192 _RunPerfTests(api, bot_config['perf_test_info']) |
193 else: | 193 else: |
194 _RunUnitAndAppTests(api) | 194 _RunUnitAndAppTests(api) |
195 | 195 |
196 | 196 |
197 def GenTests(api): | 197 def GenTests(api): |
198 for test in api.chromium.gen_tests_for_builders(BUILDERS): | 198 for test in api.chromium.gen_tests_for_builders(BUILDERS): |
199 yield test | 199 yield test |
OLD | NEW |