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 438 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
449 'no_strict_aliasing%': 0, | 449 'no_strict_aliasing%': 0, |
450 }, | 450 }, |
451 'cflags': [ | 451 'cflags': [ |
452 '<(werror)', # See note above about the werror variable. | 452 '<(werror)', # See note above about the werror variable. |
453 '-pthread', | 453 '-pthread', |
454 '-fno-exceptions', | 454 '-fno-exceptions', |
455 '-Wall', | 455 '-Wall', |
456 '-D_FILE_OFFSET_BITS=64', | 456 '-D_FILE_OFFSET_BITS=64', |
457 ], | 457 ], |
458 'cflags_cc': [ | 458 'cflags_cc': [ |
459 '-fno-rtti', | 459 #'-fno-rtti', |
Evan Martin
2009/10/27 21:12:28
Why did you comment this out?
| |
460 '-fno-threadsafe-statics', | 460 '-fno-threadsafe-statics', |
461 ], | 461 ], |
462 'ldflags': [ | 462 'ldflags': [ |
463 '-pthread', | 463 '-pthread', |
464 ], | 464 ], |
465 'scons_variable_settings': { | 465 'scons_variable_settings': { |
466 'LIBPATH': ['$LIB_DIR'], | 466 'LIBPATH': ['$LIB_DIR'], |
467 # Linking of large files uses lots of RAM, so serialize links | 467 # Linking of large files uses lots of RAM, so serialize links |
468 # using the handy flock command from util-linux. | 468 # using the handy flock command from util-linux. |
469 'FLOCK_LINK': ['flock', '$TOP_BUILDDIR/linker.lock', '$LINK'], | 469 'FLOCK_LINK': ['flock', '$TOP_BUILDDIR/linker.lock', '$LINK'], |
(...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
875 # settings in target dicts. SYMROOT is a special case, because many other | 875 # settings in target dicts. SYMROOT is a special case, because many other |
876 # Xcode variables depend on it, including variables such as | 876 # Xcode variables depend on it, including variables such as |
877 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 877 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
878 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 878 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
879 # files to appear (when present) in the UI as actual files and not red | 879 # files to appear (when present) in the UI as actual files and not red |
880 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 880 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
881 # and therefore SYMROOT, needs to be set at the project level. | 881 # and therefore SYMROOT, needs to be set at the project level. |
882 'SYMROOT': '<(DEPTH)/xcodebuild', | 882 'SYMROOT': '<(DEPTH)/xcodebuild', |
883 }, | 883 }, |
884 } | 884 } |
OLD | NEW |