OLD | NEW |
(Empty) | |
| 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 |
| 3 # found in the LICENSE file. |
| 4 |
| 5 DEPS = [ |
| 6 'bot_update', |
| 7 'chromium', |
| 8 ] |
| 9 |
| 10 |
| 11 BUILDERS = { |
| 12 'chromium.mojo': { |
| 13 'builders': { |
| 14 'Chromium Mojo Linux': { |
| 15 'chromium_config_kwargs': { |
| 16 'BUILD_CONFIG': 'Release', |
| 17 'TARGET_PLATFORM': 'linux', |
| 18 }, |
| 19 }, |
| 20 }, |
| 21 }, |
| 22 } |
| 23 |
| 24 |
| 25 def GenSteps(api): |
| 26 _, bot_config = api.chromium.configure_bot(BUILDERS, ['gn']) |
| 27 |
| 28 api.bot_update.ensure_checkout(force=True, |
| 29 patch_root=bot_config.get('root_override')) |
| 30 |
| 31 api.chromium.runhooks() |
| 32 |
| 33 api.chromium.run_gn(use_goma=True) |
| 34 |
| 35 api.chromium.compile(targets=['html_viewer_unittests']) |
| 36 |
| 37 api.chromium.runtest('html_viewer_unittests') |
| 38 |
| 39 |
| 40 def GenTests(api): |
| 41 for test in api.chromium.gen_tests_for_builders(BUILDERS): |
| 42 yield test |
OLD | NEW |