| 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 assert builder_type in ['analyzer', 'pkg'] | 56 assert builder_type in ['analyzer', 'pkg'] |
| 57 system = builder_fragments[1] | 57 system = builder_fragments[1] |
| 58 assert system in ['linux', 'mac10.11', 'win7', 'win8', 'win10'] | 58 assert system in ['linux', 'mac10.11', 'win7', 'win8', 'win10'] |
| 59 mode = builder_fragments[2] | 59 mode = builder_fragments[2] |
| 60 assert mode in ['debug', 'release'] | 60 assert mode in ['debug', 'release'] |
| 61 channel = builder_fragments[-1] | 61 channel = builder_fragments[-1] |
| 62 assert channel in ['be', 'dev', 'stable', 'integration'] | 62 assert channel in ['be', 'dev', 'stable', 'integration'] |
| 63 | 63 |
| 64 api.gclient.set_config('dart', GIT_MODE=True) | 64 api.gclient.set_config('dart', GIT_MODE=True) |
| 65 api.path.c.dynamic_paths['tools'] = None | 65 api.path.c.dynamic_paths['tools'] = None |
| 66 api.bot_update.ensure_checkout(force=True) | 66 api.bot_update.ensure_checkout() |
| 67 api.path['tools'] = api.path['checkout'].join('tools') | 67 api.path['tools'] = api.path['checkout'].join('tools') |
| 68 revision = api.properties['revision'] | 68 revision = api.properties['revision'] |
| 69 | 69 |
| 70 api.gclient.runhooks() | 70 api.gclient.runhooks() |
| 71 | 71 |
| 72 api.python('taskkill before building', | 72 api.python('taskkill before building', |
| 73 api.path['checkout'].join('tools', 'task_kill.py'), | 73 api.path['checkout'].join('tools', 'task_kill.py'), |
| 74 args=['--kill_browsers=True'], | 74 args=['--kill_browsers=True'], |
| 75 cwd=api.path['checkout'], | 75 cwd=api.path['checkout'], |
| 76 ok_ret='any' | 76 ok_ret='any' |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 171 api.properties.generic( | 171 api.properties.generic( |
| 172 mastername='client.dart', | 172 mastername='client.dart', |
| 173 buildername='analyzer-win7-debug-dev', | 173 buildername='analyzer-win7-debug-dev', |
| 174 revision='hash_of_revision')) | 174 revision='hash_of_revision')) |
| 175 yield ( | 175 yield ( |
| 176 api.test('pkg-mac10.11-release-be') + api.platform('mac', 64) + | 176 api.test('pkg-mac10.11-release-be') + api.platform('mac', 64) + |
| 177 api.properties.generic( | 177 api.properties.generic( |
| 178 mastername='client.dart', | 178 mastername='client.dart', |
| 179 buildername='pkg-mac10.11-release-be', | 179 buildername='pkg-mac10.11-release-be', |
| 180 revision='hash_of_revision')) | 180 revision='hash_of_revision')) |
| OLD | NEW |