| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 'gsutil', | 9 'gsutil', |
| 10 'recipe_engine/path', | 10 'recipe_engine/path', |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 options_end = - 3 | 85 options_end = - 3 |
| 86 except ValueError: | 86 except ValueError: |
| 87 sharded = False | 87 sharded = False |
| 88 options_end = - 1 | 88 options_end = - 1 |
| 89 options = builder_fragments[3:options_end] | 89 options = builder_fragments[3:options_end] |
| 90 for option in options: | 90 for option in options: |
| 91 assert all_options.has_key(option) | 91 assert all_options.has_key(option) |
| 92 | 92 |
| 93 api.gclient.set_config('dart') | 93 api.gclient.set_config('dart') |
| 94 api.path.c.dynamic_paths['tools'] = None | 94 api.path.c.dynamic_paths['tools'] = None |
| 95 api.bot_update.ensure_checkout(force=True) | 95 api.bot_update.ensure_checkout() |
| 96 api.path['tools'] = api.path['checkout'].join('tools') | 96 api.path['tools'] = api.path['checkout'].join('tools') |
| 97 revision = api.properties['revision'] | 97 revision = api.properties['revision'] |
| 98 | 98 |
| 99 api.gclient.runhooks() | 99 api.gclient.runhooks() |
| 100 | 100 |
| 101 with api.step.defer_results(): | 101 with api.step.defer_results(): |
| 102 api.python('taskkill before building', | 102 api.python('taskkill before building', |
| 103 api.path['checkout'].join('tools', 'task_kill.py'), | 103 api.path['checkout'].join('tools', 'task_kill.py'), |
| 104 args=['--kill_browsers=True'], | 104 args=['--kill_browsers=True'], |
| 105 cwd=api.path['checkout']) | 105 cwd=api.path['checkout']) |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 221 api.properties.generic( | 221 api.properties.generic( |
| 222 mastername='client.dart', | 222 mastername='client.dart', |
| 223 buildername='dart2js-linux-drt-93-105-dev', | 223 buildername='dart2js-linux-drt-93-105-dev', |
| 224 revision='hash_of_revision')) | 224 revision='hash_of_revision')) |
| 225 yield ( | 225 yield ( |
| 226 api.test('dart2js-mac10.11-safari-1-3-be') + api.platform('mac', 64) + | 226 api.test('dart2js-mac10.11-safari-1-3-be') + api.platform('mac', 64) + |
| 227 api.properties.generic( | 227 api.properties.generic( |
| 228 mastername='client.dart', | 228 mastername='client.dart', |
| 229 buildername='dart2js-mac10.11-safari-1-3-be', | 229 buildername='dart2js-mac10.11-safari-1-3-be', |
| 230 revision='hash_of_revision')) | 230 revision='hash_of_revision')) |
| OLD | NEW |