| 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 'chromium', | 6 'chromium', |
| 7 'depot_tools/bot_update', | 7 'depot_tools/bot_update', |
| 8 'depot_tools/gclient', | 8 'depot_tools/gclient', |
| 9 'recipe_engine/path', | 9 'recipe_engine/path', |
| 10 'recipe_engine/properties', | 10 'recipe_engine/properties', |
| 11 'recipe_engine/python', | 11 'recipe_engine/python', |
| 12 ] | 12 ] |
| 13 | 13 |
| 14 | 14 |
| 15 def RunSteps(api): | 15 def RunSteps(api): |
| 16 api.gclient.set_config('gyp') | 16 api.gclient.set_config('gyp') |
| 17 | 17 |
| 18 api.bot_update.ensure_checkout(force=True) | 18 api.bot_update.ensure_checkout() |
| 19 | 19 |
| 20 api.python('run tests', | 20 api.python('run tests', |
| 21 api.path['checkout'].join('gyptest.py'), ['-a'], | 21 api.path['checkout'].join('gyptest.py'), ['-a'], |
| 22 cwd=api.path['checkout']) | 22 cwd=api.path['checkout']) |
| 23 | 23 |
| 24 | 24 |
| 25 def GenTests(api): | 25 def GenTests(api): |
| 26 yield(api.test('fake_test') + | 26 yield(api.test('fake_test') + |
| 27 api.properties.generic(mastername='fake_mastername', | 27 api.properties.generic(mastername='fake_mastername', |
| 28 buildername='fake_buildername')) | 28 buildername='fake_buildername')) |
| OLD | NEW |