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 856 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
867 # Note: this is *required* to make some plugins work. | 867 # Note: this is *required* to make some plugins work. |
868 '-fvisibility=hidden', | 868 '-fvisibility=hidden', |
869 '-pipe', | 869 '-pipe', |
870 ], | 870 ], |
871 'cflags_cc': [ | 871 'cflags_cc': [ |
872 '-fno-rtti', | 872 '-fno-rtti', |
873 '-fno-threadsafe-statics', | 873 '-fno-threadsafe-statics', |
874 # Make inline functions have hidden visiblity by default. | 874 # Make inline functions have hidden visiblity by default. |
875 # Surprisingly, not covered by -fvisibility=hidden. | 875 # Surprisingly, not covered by -fvisibility=hidden. |
876 '-fvisibility-inlines-hidden', | 876 '-fvisibility-inlines-hidden', |
877 '-Wnon-virtual-dtor', | 877 '-Wno-non-virtual-dtor', |
878 ], | 878 ], |
879 'ldflags': [ | 879 'ldflags': [ |
880 '-pthread', '-Wl,-z,noexecstack', | 880 '-pthread', '-Wl,-z,noexecstack', |
881 ], | 881 ], |
882 'scons_variable_settings': { | 882 'scons_variable_settings': { |
883 'LIBPATH': ['$LIB_DIR'], | 883 'LIBPATH': ['$LIB_DIR'], |
884 # Linking of large files uses lots of RAM, so serialize links | 884 # Linking of large files uses lots of RAM, so serialize links |
885 # using the handy flock command from util-linux. | 885 # using the handy flock command from util-linux. |
886 'FLOCK_LINK': ['flock', '$TOP_BUILDDIR/linker.lock', '$LINK'], | 886 'FLOCK_LINK': ['flock', '$TOP_BUILDDIR/linker.lock', '$LINK'], |
887 'FLOCK_SHLINK': ['flock', '$TOP_BUILDDIR/linker.lock', '$SHLINK'], | 887 'FLOCK_SHLINK': ['flock', '$TOP_BUILDDIR/linker.lock', '$SHLINK'], |
(...skipping 629 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1517 # and therefore SYMROOT, needs to be set at the project level. | 1517 # and therefore SYMROOT, needs to be set at the project level. |
1518 'SYMROOT': '<(DEPTH)/xcodebuild', | 1518 'SYMROOT': '<(DEPTH)/xcodebuild', |
1519 }, | 1519 }, |
1520 } | 1520 } |
1521 | 1521 |
1522 # Local Variables: | 1522 # Local Variables: |
1523 # tab-width:2 | 1523 # tab-width:2 |
1524 # indent-tabs-mode:nil | 1524 # indent-tabs-mode:nil |
1525 # End: | 1525 # End: |
1526 # vim: set expandtab tabstop=2 shiftwidth=2: | 1526 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |