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

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

Issue 1514853004: Use MSVS2015 for the fyi PGO builds (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 5 years 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 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 'chromium', 9 'chromium',
10 'pgo', 10 'pgo',
11 'recipe_engine/platform', 11 'recipe_engine/platform',
12 'recipe_engine/properties', 12 'recipe_engine/properties',
13 'recipe_engine/step', 13 'recipe_engine/step',
14 ] 14 ]
15 15
16 16
17 PGO_BUILDERS = freeze({ 17 PGO_BUILDERS = freeze({
18 'chromium.fyi': { 18 'chromium.fyi': {
19 'Chromium Win PGO Builder': { 19 'Chromium Win PGO Builder': {
20 'recipe_config': 'chromium', 20 'recipe_config': 'chromium',
21 'chromium_config_instrument': 'chromium_pgo_instrument', 21 'chromium_config_instrument': 'chromium_pgo_instrument',
22 'chromium_config_optimize': 'chromium_pgo_optimize', 22 'chromium_config_optimize': 'chromium_pgo_optimize',
23 'chromium_apply_config': ['msvs2015'],
23 'gclient_config': 'chromium', 24 'gclient_config': 'chromium',
24 'clobber': True, 25 'clobber': True,
25 # TODO(sebmarchand): This is a hack to get 100% coverage, remove me 26 # TODO(sebmarchand): This is a hack to get 100% coverage, remove me
26 # and fix this. 27 # and fix this.
27 'patch_root': 'src', 28 'patch_root': 'src',
28 'chromium_config_kwargs': { 29 'chromium_config_kwargs': {
29 'BUILD_CONFIG': 'Release', 30 'BUILD_CONFIG': 'Release',
30 'TARGET_BITS': 32, 31 'TARGET_BITS': 32,
31 }, 32 },
32 'testing': { 33 'testing': {
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 return ''.join(c if c.isalnum() else '_' for c in text) 81 return ''.join(c if c.isalnum() else '_' for c in text)
81 82
82 for mastername, builders in PGO_BUILDERS.iteritems(): 83 for mastername, builders in PGO_BUILDERS.iteritems():
83 for buildername in builders: 84 for buildername in builders:
84 yield ( 85 yield (
85 api.test('full_%s_%s' % (_sanitize_nonalpha(mastername), 86 api.test('full_%s_%s' % (_sanitize_nonalpha(mastername),
86 _sanitize_nonalpha(buildername))) + 87 _sanitize_nonalpha(buildername))) +
87 api.properties.generic(mastername=mastername, buildername=buildername) + 88 api.properties.generic(mastername=mastername, buildername=buildername) +
88 api.platform('win', 64) 89 api.platform('win', 64)
89 ) 90 )
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698