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

Side by Side Diff: build/common.gypi

Issue 7291019: Use -fstack-protector-all (stack canaries) for Mac debug builds (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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 # 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 957 matching lines...) Expand 10 before | Expand all | Expand 10 after
968 }, 968 },
969 'Debug_Base': { 969 'Debug_Base': {
970 'abstract': 1, 970 'abstract': 1,
971 'defines': [ 971 'defines': [
972 'DYNAMIC_ANNOTATIONS_ENABLED=1', 972 'DYNAMIC_ANNOTATIONS_ENABLED=1',
973 'WTF_USE_DYNAMIC_ANNOTATIONS=1', 973 'WTF_USE_DYNAMIC_ANNOTATIONS=1',
974 ], 974 ],
975 'xcode_settings': { 975 'xcode_settings': {
976 'COPY_PHASE_STRIP': 'NO', 976 'COPY_PHASE_STRIP': 'NO',
977 'GCC_OPTIMIZATION_LEVEL': '<(mac_debug_optimization)', 977 'GCC_OPTIMIZATION_LEVEL': '<(mac_debug_optimization)',
978 'OTHER_CFLAGS': [ '<@(debug_extra_cflags)', ], 978 'OTHER_CFLAGS': [
979 '-fstack-protector-all', # Implies -fstack-protector
980 '<@(debug_extra_cflags)',
981 ],
979 }, 982 },
980 'msvs_settings': { 983 'msvs_settings': {
981 'VCCLCompilerTool': { 984 'VCCLCompilerTool': {
982 'Optimization': '<(win_debug_Optimization)', 985 'Optimization': '<(win_debug_Optimization)',
983 'PreprocessorDefinitions': ['_DEBUG'], 986 'PreprocessorDefinitions': ['_DEBUG'],
984 'BasicRuntimeChecks': '<(win_debug_RuntimeChecks)', 987 'BasicRuntimeChecks': '<(win_debug_RuntimeChecks)',
985 'RuntimeLibrary': '<(win_debug_RuntimeLibrary)', 988 'RuntimeLibrary': '<(win_debug_RuntimeLibrary)',
986 'conditions': [ 989 'conditions': [
987 # According to MSVS, InlineFunctionExpansion=0 means 990 # According to MSVS, InlineFunctionExpansion=0 means
988 # "default inlining", not "/Ob0". 991 # "default inlining", not "/Ob0".
(...skipping 829 matching lines...) Expand 10 before | Expand all | Expand 10 after
1818 # and therefore SYMROOT, needs to be set at the project level. 1821 # and therefore SYMROOT, needs to be set at the project level.
1819 'SYMROOT': '<(DEPTH)/xcodebuild', 1822 'SYMROOT': '<(DEPTH)/xcodebuild',
1820 }, 1823 },
1821 } 1824 }
1822 1825
1823 # Local Variables: 1826 # Local Variables:
1824 # tab-width:2 1827 # tab-width:2
1825 # indent-tabs-mode:nil 1828 # indent-tabs-mode:nil
1826 # End: 1829 # End:
1827 # vim: set expandtab tabstop=2 shiftwidth=2: 1830 # vim: set expandtab tabstop=2 shiftwidth=2:
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