| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 'depot_tools/bot_update', | 6 'depot_tools/bot_update', |
| 7 'chromium', | 7 'chromium', |
| 8 ] | 8 ] |
| 9 | 9 |
| 10 | 10 |
| 11 BUILDERS = { | 11 BUILDERS = { |
| 12 'chromium.fyi': { | 12 'chromium.fyi': { |
| 13 'builders': { | 13 'builders': { |
| 14 'Chromium Windows Analyze': { | 14 'Chromium Windows Analyze': { |
| 15 'chromium_config_kwargs': { | 15 'chromium_config_kwargs': { |
| 16 'BUILD_CONFIG': 'Debug', | 16 'BUILD_CONFIG': 'Debug', |
| 17 'TARGET_PLATFORM': 'win', | 17 'TARGET_PLATFORM': 'win', |
| 18 'TARGET_BITS': 32, | 18 'TARGET_BITS': 32, |
| 19 }, | 19 }, |
| 20 'chromium_apply_config': ['clobber'], | 20 'chromium_apply_config': ['clobber'], |
| 21 }, | 21 }, |
| 22 }, | 22 }, |
| 23 }, | 23 }, |
| 24 } | 24 } |
| 25 | 25 |
| 26 | 26 |
| 27 def RunSteps(api): | 27 def RunSteps(api): |
| 28 api.chromium.configure_bot(BUILDERS, ['win_analyze', 'mb']) | 28 api.chromium.configure_bot(BUILDERS, ['win_analyze', 'mb']) |
| 29 | 29 |
| 30 api.bot_update.ensure_checkout(force=True) | 30 api.bot_update.ensure_checkout() |
| 31 | 31 |
| 32 api.chromium.runhooks() | 32 api.chromium.runhooks() |
| 33 | 33 |
| 34 # This is needed to disable building with goma | 34 # This is needed to disable building with goma |
| 35 api.chromium.c.compile_py.compiler = None | 35 api.chromium.c.compile_py.compiler = None |
| 36 api.chromium.c.compile_py.goma_dir = None | 36 api.chromium.c.compile_py.goma_dir = None |
| 37 | 37 |
| 38 api.chromium.run_mb('chromium.fyi', 'Chromium Windows Analyze', | 38 api.chromium.run_mb('chromium.fyi', 'Chromium Windows Analyze', |
| 39 use_goma=False) | 39 use_goma=False) |
| 40 | 40 |
| 41 api.chromium.compile(targets=['chrome']) | 41 api.chromium.compile(targets=['chrome']) |
| 42 | 42 |
| 43 | 43 |
| 44 def GenTests(api): | 44 def GenTests(api): |
| 45 for test in api.chromium.gen_tests_for_builders(BUILDERS): | 45 for test in api.chromium.gen_tests_for_builders(BUILDERS): |
| 46 yield test | 46 yield test |
| OLD | NEW |