Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(218)

Side by Side Diff: scripts/slave/recipes/win_analyze.py

Issue 2033513002: recipes: Switch from 3 ways for requesting clobber builds to 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build@master
Patch Set: presubmit2 Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 }, 21 },
21 }, 22 },
22 }, 23 },
23 } 24 }
24 25
25 26
26 def RunSteps(api): 27 def RunSteps(api):
27 api.chromium.configure_bot(BUILDERS, ['win_analyze', 'mb']) 28 api.chromium.configure_bot(BUILDERS, ['win_analyze', 'mb'])
28 29
29 api.bot_update.ensure_checkout(force=True) 30 api.bot_update.ensure_checkout(force=True)
30 31
31 api.chromium.runhooks() 32 api.chromium.runhooks()
32 33
33 # This is needed to disable building with goma 34 # This is needed to disable building with goma
34 api.chromium.c.compile_py.compiler = None 35 api.chromium.c.compile_py.compiler = None
35 api.chromium.c.compile_py.goma_dir = None 36 api.chromium.c.compile_py.goma_dir = None
36 37
37 api.chromium.run_mb('chromium.fyi', 'Chromium Windows Analyze', 38 api.chromium.run_mb('chromium.fyi', 'Chromium Windows Analyze',
38 use_goma=False) 39 use_goma=False)
39 40
40 api.chromium.compile(targets=['chrome'], force_clobber=True) 41 api.chromium.compile(targets=['chrome'])
41 42
42 43
43 def GenTests(api): 44 def GenTests(api):
44 for test in api.chromium.gen_tests_for_builders(BUILDERS): 45 for test in api.chromium.gen_tests_for_builders(BUILDERS):
45 yield test 46 yield test
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698