| OLD | NEW |
| 1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 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 should set chromium_code to 1 if they build Chromium-specific | 10 # .gyp files should set chromium_code to 1 if they build Chromium-specific |
| (...skipping 488 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 499 '<(werror)', # See note above about the werror variable. | 499 '<(werror)', # See note above about the werror variable. |
| 500 '-pthread', | 500 '-pthread', |
| 501 '-fno-exceptions', | 501 '-fno-exceptions', |
| 502 '-fvisibility=hidden', | 502 '-fvisibility=hidden', |
| 503 '-Wall', | 503 '-Wall', |
| 504 '-D_FILE_OFFSET_BITS=64', | 504 '-D_FILE_OFFSET_BITS=64', |
| 505 ], | 505 ], |
| 506 'cflags_cc': [ | 506 'cflags_cc': [ |
| 507 '-fno-rtti', | 507 '-fno-rtti', |
| 508 '-fno-threadsafe-statics', | 508 '-fno-threadsafe-statics', |
| 509 # Make inline functions have hidden visiblity by default. |
| 510 # Surprisingly, not covered by -fvisibility=hidden. |
| 511 '-fvisibility-inlines-hidden', |
| 509 ], | 512 ], |
| 510 'ldflags': [ | 513 'ldflags': [ |
| 511 '-pthread', | 514 '-pthread', |
| 512 ], | 515 ], |
| 513 'scons_variable_settings': { | 516 'scons_variable_settings': { |
| 514 'LIBPATH': ['$LIB_DIR'], | 517 'LIBPATH': ['$LIB_DIR'], |
| 515 # Linking of large files uses lots of RAM, so serialize links | 518 # Linking of large files uses lots of RAM, so serialize links |
| 516 # using the handy flock command from util-linux. | 519 # using the handy flock command from util-linux. |
| 517 'FLOCK_LINK': ['flock', '$TOP_BUILDDIR/linker.lock', '$LINK'], | 520 'FLOCK_LINK': ['flock', '$TOP_BUILDDIR/linker.lock', '$LINK'], |
| 518 'FLOCK_SHLINK': ['flock', '$TOP_BUILDDIR/linker.lock', '$SHLINK'], | 521 'FLOCK_SHLINK': ['flock', '$TOP_BUILDDIR/linker.lock', '$SHLINK'], |
| (...skipping 448 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 967 # and therefore SYMROOT, needs to be set at the project level. | 970 # and therefore SYMROOT, needs to be set at the project level. |
| 968 'SYMROOT': '<(DEPTH)/xcodebuild', | 971 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 969 }, | 972 }, |
| 970 } | 973 } |
| 971 | 974 |
| 972 # Local Variables: | 975 # Local Variables: |
| 973 # tab-width:2 | 976 # tab-width:2 |
| 974 # indent-tabs-mode:nil | 977 # indent-tabs-mode:nil |
| 975 # End: | 978 # End: |
| 976 # vim: set expandtab tabstop=2 shiftwidth=2: | 979 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |