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

Side by Side Diff: scripts/master/factory/chromium_factory.py

Issue 2848024: Change the optimization settings from O1 to Os for the Mac Valgrind bots.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/buildbot/
Patch Set: Created 10 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/python 1 #!/usr/bin/python
2 # Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2006-2009 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 """Utility class to build the chromium master BuildFactory's. 6 """Utility class to build the chromium master BuildFactory's.
7 7
8 Based on gclient_factory.py and adds chromium-specific steps.""" 8 Based on gclient_factory.py and adds chromium-specific steps."""
9 9
10 from buildbot.steps import trigger 10 from buildbot.steps import trigger
11 11
12 from build_factory import BuildFactory 12 from build_factory import BuildFactory
13 import chromium_commands 13 import chromium_commands
14 import chromium_config as config 14 import chromium_config as config
15 import gclient_factory 15 import gclient_factory
16 16
17 17
18 class ChromiumFactory(gclient_factory.GClientFactory): 18 class ChromiumFactory(gclient_factory.GClientFactory):
19 """Encapsulates data and methods common to the chromium master.cfg files.""" 19 """Encapsulates data and methods common to the chromium master.cfg files."""
20 20
21 DEFAULT_TARGET_PLATFORM = config.Master.default_platform 21 DEFAULT_TARGET_PLATFORM = config.Master.default_platform
22 22
23 # On valgrind bots, override the optimizer settings so we don't inline too 23 # On valgrind bots, override the optimizer settings so we don't inline too
24 # much and make the stacks harder to figure out. Use the same settings 24 # much and make the stacks harder to figure out. Use the same settings
25 # on all buildbot masters to make it easier to move bots. 25 # on all buildbot masters to make it easier to move bots.
26 MEMORY_TOOLS_GYP_DEFINES = ( 26 MEMORY_TOOLS_GYP_DEFINES = (
27 # gcc flags 27 # gcc flags
28 'mac_debug_optimization=1 ' 28 'mac_debug_optimization=s '
29 'mac_release_optimization=1 ' 29 'mac_release_optimization=s '
30 'release_optimize=1 ' 30 'release_optimize=1 '
31 'no_gc_sections=1 ' 31 'no_gc_sections=1 '
32 'debug_extra_cflags="-g -fno-inline -fno-omit-frame-pointer -fno-builtin" ' 32 'debug_extra_cflags="-g -fno-inline -fno-omit-frame-pointer -fno-builtin" '
33 'release_extra_cflags="-g -fno-inline -fno-omit-frame-pointer ' 33 'release_extra_cflags="-g -fno-inline -fno-omit-frame-pointer '
34 '-fno-builtin" ' 34 '-fno-builtin" '
35 35
36 # MSVS flags 36 # MSVS flags
37 'win_debug_Optimization=1 ' 37 'win_debug_Optimization=1 '
38 'win_debug_RuntimeChecks=0 ' 38 'win_debug_RuntimeChecks=0 '
39 'win_debug_InlineFunctionExpansion=0 ' 39 'win_debug_InlineFunctionExpansion=0 '
(...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after
449 def CEFFactory(self, identifier, target='Release', clobber=False, 449 def CEFFactory(self, identifier, target='Release', clobber=False,
450 tests=None, mode=None, slave_type='BuilderTester', 450 tests=None, mode=None, slave_type='BuilderTester',
451 options=None, compile_timeout=1200, build_url=None, 451 options=None, compile_timeout=1200, build_url=None,
452 project=None, factory_properties=None): 452 project=None, factory_properties=None):
453 self._solutions.append(gclient_factory.GClientSolution( 453 self._solutions.append(gclient_factory.GClientSolution(
454 'http://chromiumembedded.googlecode.com/svn/trunk', 454 'http://chromiumembedded.googlecode.com/svn/trunk',
455 'src/cef')) 455 'src/cef'))
456 return self.ChromiumFactory(identifier, target, clobber, tests, mode, 456 return self.ChromiumFactory(identifier, target, clobber, tests, mode,
457 slave_type, options, compile_timeout, 457 slave_type, options, compile_timeout,
458 build_url, project, factory_properties) 458 build_url, project, factory_properties)
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698