| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 'file', | 10 'file', |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 'TARGET_BITS': 32, | 54 'TARGET_BITS': 32, |
| 55 }, | 55 }, |
| 56 }, | 56 }, |
| 57 }, | 57 }, |
| 58 }, | 58 }, |
| 59 }) | 59 }) |
| 60 | 60 |
| 61 | 61 |
| 62 def RunSteps(api): | 62 def RunSteps(api): |
| 63 mastername = api.m.properties['mastername'] | 63 mastername = api.m.properties['mastername'] |
| 64 buildername, bot_config = api.chromium.configure_bot(BUILDERS, ['mb']) | 64 buildername, bot_config = api.chromium.configure_bot( |
| 65 BUILDERS, ['clang_upload']) |
| 65 | 66 |
| 66 api.bot_update.ensure_checkout( | 67 api.bot_update.ensure_checkout( |
| 67 force=True, patch_root=bot_config.get('root_override')) | 68 force=True, patch_root=bot_config.get('root_override')) |
| 68 | 69 |
| 69 api.chromium.runhooks() | 70 api.chromium.runhooks() |
| 70 | 71 |
| 71 api.chromium.run_mb(mastername, buildername) | |
| 72 | |
| 73 api.python( | 72 api.python( |
| 74 'package clang', | 73 'package clang', |
| 75 api.path['checkout'].join('tools', 'clang', 'scripts', 'package.py')) | 74 api.path['checkout'].join('tools', 'clang', 'scripts', 'package.py')) |
| 76 | 75 |
| 77 | 76 |
| 78 def GenTests(api): | 77 def GenTests(api): |
| 79 for test in api.chromium.gen_tests_for_builders(BUILDERS): | 78 for test in api.chromium.gen_tests_for_builders(BUILDERS): |
| 80 yield test | 79 yield test |
| OLD | NEW |