| 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 'archive', | 8 'archive', |
| 9 'depot_tools/bot_update', | 9 'depot_tools/bot_update', |
| 10 'chromium', | 10 'chromium', |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 ] + args, | 50 ] + args, |
| 51 stdout=api.raw_io.output()) | 51 stdout=api.raw_io.output()) |
| 52 return step_result.stdout.split() | 52 return step_result.stdout.split() |
| 53 | 53 |
| 54 | 54 |
| 55 def RunSteps(api): | 55 def RunSteps(api): |
| 56 mastername = api.m.properties['mastername'] | 56 mastername = api.m.properties['mastername'] |
| 57 buildername, bot_config = api.chromium.configure_bot(BUILDERS, ['mb']) | 57 buildername, bot_config = api.chromium.configure_bot(BUILDERS, ['mb']) |
| 58 | 58 |
| 59 checkout_results = api.bot_update.ensure_checkout( | 59 checkout_results = api.bot_update.ensure_checkout( |
| 60 force=True, patch_root=bot_config.get('root_override')) | 60 patch_root=bot_config.get('root_override')) |
| 61 | 61 |
| 62 api.chromium.runhooks() | 62 api.chromium.runhooks() |
| 63 api.chromium.run_mb(mastername, buildername, use_goma=False) | 63 api.chromium.run_mb(mastername, buildername, use_goma=False) |
| 64 | 64 |
| 65 all_fuzzers = gn_refs( | 65 all_fuzzers = gn_refs( |
| 66 api, | 66 api, |
| 67 'calculate all_fuzzers', | 67 'calculate all_fuzzers', |
| 68 ['--all', | 68 ['--all', |
| 69 '--type=executable', | 69 '--type=executable', |
| 70 '--as=output', | 70 '--as=output', |
| (...skipping 21 matching lines...) Expand all Loading... |
| 92 | 92 |
| 93 | 93 |
| 94 def GenTests(api): | 94 def GenTests(api): |
| 95 for test in api.chromium.gen_tests_for_builders(BUILDERS): | 95 for test in api.chromium.gen_tests_for_builders(BUILDERS): |
| 96 yield (test + | 96 yield (test + |
| 97 api.step_data('calculate all_fuzzers', | 97 api.step_data('calculate all_fuzzers', |
| 98 stdout=api.raw_io.output('target1 target2 target3')) + | 98 stdout=api.raw_io.output('target1 target2 target3')) + |
| 99 api.step_data('calculate no_clusterfuzz', | 99 api.step_data('calculate no_clusterfuzz', |
| 100 stdout=api.raw_io.output('target1')) | 100 stdout=api.raw_io.output('target1')) |
| 101 ) | 101 ) |
| OLD | NEW |