| 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 'recipe_engine/properties', | 8 'recipe_engine/properties', |
| 9 ] | 9 ] |
| 10 | 10 |
| 11 | 11 |
| 12 def _CheckoutSteps(api): | 12 def _CheckoutSteps(api): |
| 13 # Checkout custom-tabs-client. The config is implemented at: | 13 # Checkout custom-tabs-client. The config is implemented at: |
| 14 # scripts/slave/recipe_modules/gclient/config.py | 14 # scripts/slave/recipe_modules/gclient/config.py |
| 15 api.gclient.set_config('custom_tabs_client') | 15 api.gclient.set_config('custom_tabs_client') |
| 16 api.bot_update.ensure_checkout(force=True) | 16 api.bot_update.ensure_checkout() |
| 17 api.gclient.runhooks() | 17 api.gclient.runhooks() |
| 18 | 18 |
| 19 | 19 |
| 20 def RunSteps(api): | 20 def RunSteps(api): |
| 21 _CheckoutSteps(api) | 21 _CheckoutSteps(api) |
| 22 | 22 |
| 23 | 23 |
| 24 def GenTests(api): | 24 def GenTests(api): |
| 25 yield ( | 25 yield ( |
| 26 api.test('basic') + | 26 api.test('basic') + |
| 27 api.properties(mastername='master.tryserver.client.custom_tabs_client', | 27 api.properties(mastername='master.tryserver.client.custom_tabs_client', |
| 28 buildername='linux', | 28 buildername='linux', |
| 29 slavename='linux_slave') | 29 slavename='linux_slave') |
| 30 ) | 30 ) |
| OLD | NEW |