OLD | NEW |
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 Loading... |
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 Loading... |
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: |
OLD | NEW |