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 22 matching lines...) Expand all Loading... |
33 | 33 |
34 api.bot_update.ensure_checkout(force=True) | 34 api.bot_update.ensure_checkout(force=True) |
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 'run_compiler', | 43 'generate_gyp_files', |
44 [api.path['checkout'].join('third_party', 'closure_compiler', | 44 [api.path['checkout'].join('build', 'gyp_chromium'), |
45 'run_compiler')] | 45 api.path['checkout'].join('third_party', 'closure_compiler', |
| 46 'compiled_resources.gyp')], |
46 ) | 47 ) |
47 | 48 |
| 49 api.chromium.compile() |
| 50 |
| 51 api.step( |
| 52 'generate_v2_gyp_files', |
| 53 [api.path['checkout'].join('build', 'gyp_chromium'), |
| 54 api.path['checkout'].join('third_party', 'closure_compiler', |
| 55 'compiled_resources2.gyp')], |
| 56 ) |
| 57 |
| 58 api.chromium.compile(name='compile_v2') |
| 59 |
48 | 60 |
49 def GenTests(api): | 61 def GenTests(api): |
50 for mastername, config in MASTERS.iteritems(): | 62 for mastername, config in MASTERS.iteritems(): |
51 yield ( | 63 yield ( |
52 api.test(config['testname']) + | 64 api.test(config['testname']) + |
53 api.properties.generic( | 65 api.properties.generic( |
54 buildername=config['buildername'], | 66 buildername=config['buildername'], |
55 mastername=mastername, | 67 mastername=mastername, |
56 ) | 68 ) |
57 ) | 69 ) |
OLD | NEW |