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

Side by Side Diff: build/common.gypi

Issue 1555002: Disable executable stack on Linux. (Closed)
Patch Set: Created 10 years, 8 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
« 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) 2010 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2010 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': { 9 'variables': {
10 # .gyp files or targets should set chromium_code to 1 if they build 10 # .gyp files or targets should set chromium_code to 1 if they build
(...skipping 708 matching lines...) Expand 10 before | Expand all | Expand 10 after
719 '-fvisibility=hidden', 719 '-fvisibility=hidden',
720 ], 720 ],
721 'cflags_cc': [ 721 'cflags_cc': [
722 '-fno-rtti', 722 '-fno-rtti',
723 '-fno-threadsafe-statics', 723 '-fno-threadsafe-statics',
724 # Make inline functions have hidden visiblity by default. 724 # Make inline functions have hidden visiblity by default.
725 # Surprisingly, not covered by -fvisibility=hidden. 725 # Surprisingly, not covered by -fvisibility=hidden.
726 '-fvisibility-inlines-hidden', 726 '-fvisibility-inlines-hidden',
727 ], 727 ],
728 'ldflags': [ 728 'ldflags': [
729 '-pthread', 729 '-pthread', '-Wl,-z,noexecstack',
730 ], 730 ],
731 'scons_variable_settings': { 731 'scons_variable_settings': {
732 'LIBPATH': ['$LIB_DIR'], 732 'LIBPATH': ['$LIB_DIR'],
733 # Linking of large files uses lots of RAM, so serialize links 733 # Linking of large files uses lots of RAM, so serialize links
734 # using the handy flock command from util-linux. 734 # using the handy flock command from util-linux.
735 'FLOCK_LINK': ['flock', '$TOP_BUILDDIR/linker.lock', '$LINK'], 735 'FLOCK_LINK': ['flock', '$TOP_BUILDDIR/linker.lock', '$LINK'],
736 'FLOCK_SHLINK': ['flock', '$TOP_BUILDDIR/linker.lock', '$SHLINK'], 736 'FLOCK_SHLINK': ['flock', '$TOP_BUILDDIR/linker.lock', '$SHLINK'],
737 'FLOCK_LDMODULE': ['flock', '$TOP_BUILDDIR/linker.lock', '$LDMODULE'], 737 'FLOCK_LDMODULE': ['flock', '$TOP_BUILDDIR/linker.lock', '$LDMODULE'],
738 738
739 # We have several cases where archives depend on each other in 739 # We have several cases where archives depend on each other in
(...skipping 502 matching lines...) Expand 10 before | Expand all | Expand 10 after
1242 # and therefore SYMROOT, needs to be set at the project level. 1242 # and therefore SYMROOT, needs to be set at the project level.
1243 'SYMROOT': '<(DEPTH)/xcodebuild', 1243 'SYMROOT': '<(DEPTH)/xcodebuild',
1244 }, 1244 },
1245 } 1245 }
1246 1246
1247 # Local Variables: 1247 # Local Variables:
1248 # tab-width:2 1248 # tab-width:2
1249 # indent-tabs-mode:nil 1249 # indent-tabs-mode:nil
1250 # End: 1250 # End:
1251 # vim: set expandtab tabstop=2 shiftwidth=2: 1251 # 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