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 import re | 5 import re |
6 from recipe_engine.types import freeze | 6 from recipe_engine.types import freeze |
7 | 7 |
8 DEPS = [ | 8 DEPS = [ |
9 'archive', | 9 'archive', |
10 'depot_tools/bot_update', | 10 'depot_tools/bot_update', |
(...skipping 30 matching lines...) Expand all Loading... |
41 mastername = api.m.properties['mastername'] | 41 mastername = api.m.properties['mastername'] |
42 buildername, bot_config = api.chromium.configure_bot(BUILDERS, ['mb']) | 42 buildername, bot_config = api.chromium.configure_bot(BUILDERS, ['mb']) |
43 | 43 |
44 api.bot_update.ensure_checkout( | 44 api.bot_update.ensure_checkout( |
45 patch_root=bot_config.get('root_override')) | 45 patch_root=bot_config.get('root_override')) |
46 | 46 |
47 api.chromium.ensure_goma() | 47 api.chromium.ensure_goma() |
48 api.chromium.runhooks() | 48 api.chromium.runhooks() |
49 api.chromium.run_mb(mastername, buildername, use_goma=False) | 49 api.chromium.run_mb(mastername, buildername, use_goma=False) |
50 | 50 |
51 api.chromium.compile(targets=['empty_fuzzer']) | 51 api.chromium.compile(targets=['empty_fuzzer'], |
| 52 use_goma_module=True) |
52 | 53 |
53 config_kwargs = bot_config.get('chromium_config_kwargs', dict()) | 54 config_kwargs = bot_config.get('chromium_config_kwargs', dict()) |
54 build_config = config_kwargs.get('BUILD_CONFIG', 'Release') | 55 build_config = config_kwargs.get('BUILD_CONFIG', 'Release') |
55 build_dir=api.path['slave_build'].join('src', 'out', build_config) | 56 build_dir=api.path['slave_build'].join('src', 'out', build_config) |
56 | 57 |
57 api.step('running empty_fuzzer', [api.path.join(build_dir, 'empty_fuzzer'), | 58 api.step('running empty_fuzzer', [api.path.join(build_dir, 'empty_fuzzer'), |
58 '-runs=1']) | 59 '-runs=1']) |
59 | 60 |
60 | 61 |
61 def GenTests(api): | 62 def GenTests(api): |
62 for test in api.chromium.gen_tests_for_builders(BUILDERS): | 63 for test in api.chromium.gen_tests_for_builders(BUILDERS): |
63 yield test | 64 yield test |
OLD | NEW |