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

Side by Side Diff: build/common.gypi

Issue 7541080: Enable /PROFILE for Release builds and remove it from Debug builds. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: fixed a small typo in a comment Created 9 years, 4 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 | chrome/chrome_dll.gypi » ('j') | 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 # IMPORTANT: 5 # IMPORTANT:
6 # Please don't directly include this file if you are building via gyp_chromium, 6 # Please don't directly include this file if you are building via gyp_chromium,
7 # since gyp_chromium is automatically forcing its inclusion. 7 # since gyp_chromium is automatically forcing its inclusion.
8 { 8 {
9 # Variables expected to be overriden on the GYP command line (-D) or by 9 # Variables expected to be overriden on the GYP command line (-D) or by
10 # ~/.gyp/include.gypi. 10 # ~/.gyp/include.gypi.
(...skipping 1136 matching lines...) Expand 10 before | Expand all | Expand 10 after
1147 ['win_release_InlineFunctionExpansion==0', { 1147 ['win_release_InlineFunctionExpansion==0', {
1148 'AdditionalOptions': ['/Ob0'], 1148 'AdditionalOptions': ['/Ob0'],
1149 }], 1149 }],
1150 ['win_release_InlineFunctionExpansion!=""', { 1150 ['win_release_InlineFunctionExpansion!=""', {
1151 'InlineFunctionExpansion': 1151 'InlineFunctionExpansion':
1152 '<(win_release_InlineFunctionExpansion)', 1152 '<(win_release_InlineFunctionExpansion)',
1153 }], 1153 }],
1154 ], 1154 ],
1155 }, 1155 },
1156 'VCLinkerTool': { 1156 'VCLinkerTool': {
1157 # LinkIncremental is a tri-state boolean, where 0 means default
M-A Ruel 2011/08/08 15:21:17 "tri-state variable" It's _not_ a boolean. :)
1158 # (i.e., inherit from parent solution), 1 means false, and
1159 # 2 means true.
1157 'LinkIncremental': '1', 1160 'LinkIncremental': '1',
1161 # This corresponds to the /PROFILE flag which ensures the PDB
1162 # file contains FIXUP information (growing the PDB file by about
1163 # 5%) but does not otherwise alter the output binary. This
1164 # information is used by the Syzygy optimization tool when
1165 # decomposing the release image.
1166 'Profile': 'true',
1158 }, 1167 },
1159 }, 1168 },
1160 'conditions': [ 1169 'conditions': [
1161 ['release_valgrind_build==0', { 1170 ['release_valgrind_build==0', {
1162 'defines': [ 1171 'defines': [
1163 'NVALGRIND', 1172 'NVALGRIND',
1164 'DYNAMIC_ANNOTATIONS_ENABLED=0', 1173 'DYNAMIC_ANNOTATIONS_ENABLED=0',
1165 ], 1174 ],
1166 }, { 1175 }, {
1167 'defines': [ 1176 'defines': [
(...skipping 757 matching lines...) Expand 10 before | Expand all | Expand 10 after
1925 # settings in target dicts. SYMROOT is a special case, because many other 1934 # settings in target dicts. SYMROOT is a special case, because many other
1926 # Xcode variables depend on it, including variables such as 1935 # Xcode variables depend on it, including variables such as
1927 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 1936 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
1928 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 1937 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
1929 # files to appear (when present) in the UI as actual files and not red 1938 # files to appear (when present) in the UI as actual files and not red
1930 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 1939 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
1931 # and therefore SYMROOT, needs to be set at the project level. 1940 # and therefore SYMROOT, needs to be set at the project level.
1932 'SYMROOT': '<(DEPTH)/xcodebuild', 1941 'SYMROOT': '<(DEPTH)/xcodebuild',
1933 }, 1942 },
1934 } 1943 }
OLDNEW
« no previous file with comments | « no previous file | chrome/chrome_dll.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698