| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 from recipe_engine.types import freeze | 5 from recipe_engine.types import freeze |
| 6 | 6 |
| 7 DEPS = [ | 7 DEPS = [ |
| 8 'depot_tools/bot_update', | 8 'depot_tools/bot_update', |
| 9 'chromium', | 9 'chromium', |
| 10 'depot_tools/gclient', | 10 'depot_tools/gclient', |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 'buildername': 'closure_compilation', | 24 'buildername': 'closure_compilation', |
| 25 'testname': 'closure_compilation_try', | 25 'testname': 'closure_compilation_try', |
| 26 }, | 26 }, |
| 27 }) | 27 }) |
| 28 | 28 |
| 29 | 29 |
| 30 def RunSteps(api): | 30 def RunSteps(api): |
| 31 api.gclient.set_config('chromium') | 31 api.gclient.set_config('chromium') |
| 32 api.chromium.set_config('ninja') | 32 api.chromium.set_config('ninja') |
| 33 | 33 |
| 34 api.bot_update.ensure_checkout(force=True) | 34 api.bot_update.ensure_checkout() |
| 35 | 35 |
| 36 api.python( | 36 api.python( |
| 37 'run_tests', | 37 'run_tests', |
| 38 api.path['checkout'].join('third_party', 'closure_compiler', | 38 api.path['checkout'].join('third_party', 'closure_compiler', |
| 39 'run_tests.py') | 39 'run_tests.py') |
| 40 ) | 40 ) |
| 41 | 41 |
| 42 api.step( | 42 api.step( |
| 43 'generate_gyp_files', | 43 'generate_gyp_files', |
| 44 [api.path['checkout'].join('build', 'gyp_chromium'), | 44 [api.path['checkout'].join('build', 'gyp_chromium'), |
| (...skipping 15 matching lines...) Expand all Loading... |
| 60 | 60 |
| 61 def GenTests(api): | 61 def GenTests(api): |
| 62 for mastername, config in MASTERS.iteritems(): | 62 for mastername, config in MASTERS.iteritems(): |
| 63 yield ( | 63 yield ( |
| 64 api.test(config['testname']) + | 64 api.test(config['testname']) + |
| 65 api.properties.generic( | 65 api.properties.generic( |
| 66 buildername=config['buildername'], | 66 buildername=config['buildername'], |
| 67 mastername=mastername, | 67 mastername=mastername, |
| 68 ) | 68 ) |
| 69 ) | 69 ) |
| OLD | NEW |