| 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 DEPS = [ | 5 DEPS = [ |
| 6 'depot_tools/bot_update', | 6 'depot_tools/bot_update', |
| 7 'depot_tools/gclient', | 7 'depot_tools/gclient', |
| 8 'file', | 8 'file', |
| 9 'recipe_engine/path', | 9 'recipe_engine/path', |
| 10 'recipe_engine/platform', | 10 'recipe_engine/platform', |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 'env': default_envs['linux'], | 119 'env': default_envs['linux'], |
| 120 'checked': True, | 120 'checked': True, |
| 121 'test_args': ['--hot-reload-rollback', | 121 'test_args': ['--hot-reload-rollback', |
| 122 '--builder-tag=no_ipv6'], | 122 '--builder-tag=no_ipv6'], |
| 123 } | 123 } |
| 124 | 124 |
| 125 | 125 |
| 126 def RunSteps(api): | 126 def RunSteps(api): |
| 127 api.gclient.set_config('dart') | 127 api.gclient.set_config('dart') |
| 128 api.path.c.dynamic_paths['tools'] = None | 128 api.path.c.dynamic_paths['tools'] = None |
| 129 api.bot_update.ensure_checkout(force=True) | 129 api.bot_update.ensure_checkout() |
| 130 api.path['tools'] = api.path['checkout'].join('tools') | 130 api.path['tools'] = api.path['checkout'].join('tools') |
| 131 buildername = str(api.properties.get('buildername')) # Convert from unicode. | 131 buildername = str(api.properties.get('buildername')) # Convert from unicode. |
| 132 (buildername, _, channel) = buildername.rpartition('-') | 132 (buildername, _, channel) = buildername.rpartition('-') |
| 133 assert channel in ['be', 'dev', 'stable', 'integration'] | 133 assert channel in ['be', 'dev', 'stable', 'integration'] |
| 134 b = builders[buildername] | 134 b = builders[buildername] |
| 135 | 135 |
| 136 if b.get('clobber', False): | 136 if b.get('clobber', False): |
| 137 api.python('clobber', | 137 api.python('clobber', |
| 138 api.path['tools'].join('clean_output_directory.py'), | 138 api.path['tools'].join('clean_output_directory.py'), |
| 139 cwd=api.path['checkout']) | 139 cwd=api.path['checkout']) |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 184 | 184 |
| 185 def GenTests(api): | 185 def GenTests(api): |
| 186 yield ( | 186 yield ( |
| 187 api.test('vm-linux-release-x64-asan-be') + api.platform('linux', 64) + | 187 api.test('vm-linux-release-x64-asan-be') + api.platform('linux', 64) + |
| 188 api.properties.generic(mastername='client.dart', | 188 api.properties.generic(mastername='client.dart', |
| 189 buildername='vm-linux-release-x64-asan-be')) | 189 buildername='vm-linux-release-x64-asan-be')) |
| 190 yield ( | 190 yield ( |
| 191 api.test('test-coverage') + api.platform('linux', 32) + | 191 api.test('test-coverage') + api.platform('linux', 32) + |
| 192 api.properties.generic(mastername='client.dart', | 192 api.properties.generic(mastername='client.dart', |
| 193 buildername='test-coverage-be')) | 193 buildername='test-coverage-be')) |
| OLD | NEW |