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

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

Issue 9007008: Split Dr.Memory GYP defines into a separate constant (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build/
Patch Set: Created 9 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 | Annotate | Revision Log
« no previous file with comments | « masters/master.chromium.fyi/master.cfg ('k') | 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 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2011 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 """Utility class to build the chromium master BuildFactory's. 5 """Utility class to build the chromium master BuildFactory's.
6 6
7 Based on gclient_factory.py and adds chromium-specific steps.""" 7 Based on gclient_factory.py and adds chromium-specific steps."""
8 8
9 import os 9 import os
10 import re 10 import re
(...skipping 25 matching lines...) Expand all
36 'debug_extra_cflags="-g -fno-inline -fno-omit-frame-pointer ' 36 'debug_extra_cflags="-g -fno-inline -fno-omit-frame-pointer '
37 '-fno-builtin -fno-optimize-sibling-calls" ' 37 '-fno-builtin -fno-optimize-sibling-calls" '
38 'release_extra_cflags="-g -fno-inline -fno-omit-frame-pointer ' 38 'release_extra_cflags="-g -fno-inline -fno-omit-frame-pointer '
39 '-fno-builtin -fno-optimize-sibling-calls" ' 39 '-fno-builtin -fno-optimize-sibling-calls" '
40 40
41 # MSVS flags 41 # MSVS flags
42 'win_debug_RuntimeChecks=0 ' 42 'win_debug_RuntimeChecks=0 '
43 'win_debug_disable_iterator_debugging=1 ' 43 'win_debug_disable_iterator_debugging=1 '
44 'win_debug_Optimization=1 ' 44 'win_debug_Optimization=1 '
45 'win_debug_InlineFunctionExpansion=0 ' 45 'win_debug_InlineFunctionExpansion=0 '
46 'win_debug_OmitFramePointers=0 '
47 'win_release_InlineFunctionExpansion=0 ' 46 'win_release_InlineFunctionExpansion=0 '
48 'win_release_OmitFramePointers=0 ' 47 'win_release_OmitFramePointers=0 '
49 48
50 'linux_use_tcmalloc=1 ' 49 'linux_use_tcmalloc=1 '
51 'release_valgrind_build=1 ' 50 'release_valgrind_build=1 '
52 'werror= ' 51 'werror= '
53 ) 52 )
54 53
54 # TODO(timurrrr): investigate http://crbug.com/108155,
55 # uncomment and merge it with MEMORY_TOOLS_GYP_DEFINES.
56 # The commented parts of this list are wannabes but don't work yet.
57 DR_MEMORY_GYP_DEFINES = (
58 'win_debug_RuntimeChecks=0 '
59 'win_debug_disable_iterator_debugging=1 '
Timur Iskhodzhanov 2011/12/20 13:56:54 Derek, Reid: I'm leaving these two options here as
60 # 'win_debug_Optimization=1 '
61 # 'win_debug_InlineFunctionExpansion=0 '
62 # 'win_debug_OmitFramePointers=0 '
63
64 'win_release_InlineFunctionExpansion=0 '
65 'win_release_OmitFramePointers=0 '
66 )
67
55 # gclient custom vars 68 # gclient custom vars
56 CUSTOM_VARS_GOOGLECODE_URL = ('googlecode_url', config.Master.googlecode_url) 69 CUSTOM_VARS_GOOGLECODE_URL = ('googlecode_url', config.Master.googlecode_url)
57 CUSTOM_VARS_SOURCEFORGE_URL = ('sourceforge_url', 70 CUSTOM_VARS_SOURCEFORGE_URL = ('sourceforge_url',
58 config.Master.sourceforge_url) 71 config.Master.sourceforge_url)
59 CUSTOM_VARS_WEBKIT_MIRROR = ('webkit_trunk', config.Master.webkit_trunk_url) 72 CUSTOM_VARS_WEBKIT_MIRROR = ('webkit_trunk', config.Master.webkit_trunk_url)
60 # $$WK_REV$$ below will be substituted with the revision that triggered the 73 # $$WK_REV$$ below will be substituted with the revision that triggered the
61 # build in chromium_step.py@GClient.startVC. Use this only with builds 74 # build in chromium_step.py@GClient.startVC. Use this only with builds
62 # triggered by a webkit poller. 75 # triggered by a webkit poller.
63 CUSTOM_VARS_WEBKIT_LATEST = [('webkit_trunk', config.Master.webkit_trunk_url), 76 CUSTOM_VARS_WEBKIT_LATEST = [('webkit_trunk', config.Master.webkit_trunk_url),
64 ('webkit_revision', '$$WK_REV$$')] 77 ('webkit_revision', '$$WK_REV$$')]
(...skipping 770 matching lines...) Expand 10 before | Expand all | Expand 10 after
835 if 'cros_deps' not in [s.name for s in self._solutions]: 848 if 'cros_deps' not in [s.name for s in self._solutions]:
836 self._solutions.append(gclient_factory.GClientSolution( 849 self._solutions.append(gclient_factory.GClientSolution(
837 config.Master.trunk_url + '/src/tools/cros.DEPS', name='cros_deps')) 850 config.Master.trunk_url + '/src/tools/cros.DEPS', name='cros_deps'))
838 if 'asan.DEPS' not in [s.name for s in self._solutions]: 851 if 'asan.DEPS' not in [s.name for s in self._solutions]:
839 self._solutions.append(gclient_factory.GClientSolution( 852 self._solutions.append(gclient_factory.GClientSolution(
840 'http://src.chromium.org/svn/trunk/deps/asan.DEPS', 853 'http://src.chromium.org/svn/trunk/deps/asan.DEPS',
841 'asan.DEPS')) 854 'asan.DEPS'))
842 return self.ChromiumFactory(target, clobber, tests, mode, slave_type, 855 return self.ChromiumFactory(target, clobber, tests, mode, slave_type,
843 options, compile_timeout, build_url, project, 856 options, compile_timeout, build_url, project,
844 factory_properties) 857 factory_properties)
OLDNEW
« no previous file with comments | « masters/master.chromium.fyi/master.cfg ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698