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 DEPS = [ | 5 DEPS = [ |
6 'bot_update', | 6 'bot_update', |
7 'chromium', | 7 'chromium', |
8 'gclient', | 8 'gclient', |
9 'path', | 9 'path', |
10 'properties', | 10 'properties', |
11 'python', | 11 'python', |
12 'step', | 12 'step', |
13 ] | 13 ] |
14 | 14 |
15 | 15 |
16 def GenSteps(api): | 16 def GenSteps(api): |
17 api.gclient.set_config('chromium') | 17 api.gclient.set_config('chromium') |
18 api.chromium.set_config('ninja') | 18 api.chromium.set_config('ninja') |
19 | 19 |
20 api.bot_update.ensure_checkout(force=True) | 20 api.bot_update.ensure_checkout(force=True) |
21 | 21 |
22 api.python( | 22 api.python( |
23 'compiler_customization_test', | 23 'run_tests', |
24 api.path['checkout'].join('third_party', 'closure_compiler', | 24 api.path['checkout'].join('third_party', 'closure_compiler', |
25 'compiler_customization_test.py') | 25 'run_tests.py') |
26 ) | 26 ) |
27 | 27 |
28 api.step( | 28 api.step( |
29 'generate_gyp_files', | 29 'generate_gyp_files', |
30 [api.path['checkout'].join('build', 'gyp_chromium'), | 30 [api.path['checkout'].join('build', 'gyp_chromium'), |
31 api.path['checkout'].join('third_party', 'closure_compiler', | 31 api.path['checkout'].join('third_party', 'closure_compiler', |
32 'compiled_resources.gyp')], | 32 'compiled_resources.gyp')], |
33 ) | 33 ) |
34 | 34 |
35 api.chromium.compile() | 35 api.chromium.compile() |
36 | 36 |
37 | 37 |
38 def GenTests(api): | 38 def GenTests(api): |
39 yield ( | 39 yield ( |
40 api.test('main') + | 40 api.test('main') + |
41 api.properties.generic( | 41 api.properties.generic( |
42 mastername='chromium.fyi', | 42 mastername='chromium.fyi', |
43 buildername='Closure Compilation Linux', | 43 buildername='Closure Compilation Linux', |
44 ) | 44 ) |
45 ) | 45 ) |
OLD | NEW |