OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 expected to be overriden on the GYP command line (-D) or by | 9 # Variables expected to be overriden on the GYP command line (-D) or by |
10 # ~/.gyp/include.gypi. | 10 # ~/.gyp/include.gypi. |
(...skipping 1233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1244 # Relative path to icu.gyp from this file. | 1244 # Relative path to icu.gyp from this file. |
1245 'icu_gyp_path': '../third_party/icu/icu.gyp', | 1245 'icu_gyp_path': '../third_party/icu/icu.gyp', |
1246 | 1246 |
1247 # IPC fuzzer is disabled by default. | 1247 # IPC fuzzer is disabled by default. |
1248 'enable_ipc_fuzzer%': 0, | 1248 'enable_ipc_fuzzer%': 0, |
1249 | 1249 |
1250 # Whether or not to use "icu*.dat" file for ICU data. | 1250 # Whether or not to use "icu*.dat" file for ICU data. |
1251 # Do not use it by default. | 1251 # Do not use it by default. |
1252 'icu_use_data_file_flag%': 0, | 1252 'icu_use_data_file_flag%': 0, |
1253 | 1253 |
| 1254 # Force disable libstdc++ debug mode. |
| 1255 'disable_glibcxx_debug%': 0, |
| 1256 |
1254 'conditions': [ | 1257 'conditions': [ |
1255 # The version of GCC in use, set later in platforms that use GCC and have | 1258 # The version of GCC in use, set later in platforms that use GCC and have |
1256 # not explicitly chosen to build with clang. Currently, this means all | 1259 # not explicitly chosen to build with clang. Currently, this means all |
1257 # platforms except Windows, Mac and iOS. | 1260 # platforms except Windows, Mac and iOS. |
1258 # TODO(glider): set clang to 1 earlier for ASan and TSan builds so that | 1261 # TODO(glider): set clang to 1 earlier for ASan and TSan builds so that |
1259 # it takes effect here. | 1262 # it takes effect here. |
1260 ['os_posix==1 and OS!="mac" and OS!="ios" and clang==0 and asan==0 and lsa
n==0 and tsan==0 and msan==0', { | 1263 ['os_posix==1 and OS!="mac" and OS!="ios" and clang==0 and asan==0 and lsa
n==0 and tsan==0 and msan==0', { |
1261 'gcc_version%': '<!(python <(DEPTH)/build/compiler_version.py)', | 1264 'gcc_version%': '<!(python <(DEPTH)/build/compiler_version.py)', |
1262 }, { | 1265 }, { |
1263 'gcc_version%': 0, | 1266 'gcc_version%': 0, |
(...skipping 1471 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2735 'conditions': [ | 2738 'conditions': [ |
2736 ['OS=="linux" or OS=="android"', { | 2739 ['OS=="linux" or OS=="android"', { |
2737 'target_conditions': [ | 2740 'target_conditions': [ |
2738 ['_toolset=="target"', { | 2741 ['_toolset=="target"', { |
2739 'cflags': [ | 2742 'cflags': [ |
2740 '<@(debug_extra_cflags)', | 2743 '<@(debug_extra_cflags)', |
2741 ], | 2744 ], |
2742 }], | 2745 }], |
2743 ], | 2746 ], |
2744 }], | 2747 }], |
2745 ['OS=="linux" and target_arch!="ia32"', { | 2748 ['OS=="linux" and target_arch!="ia32" and disable_glibcxx_debug==0', { |
2746 # Enable libstdc++ debugging facilities to help catch problems | 2749 # Enable libstdc++ debugging facilities to help catch problems |
2747 # early, see http://crbug.com/65151 . | 2750 # early, see http://crbug.com/65151 . |
2748 # TODO(phajdan.jr): Should we enable this for all of POSIX? | 2751 # TODO(phajdan.jr): Should we enable this for all of POSIX? |
2749 'defines': ['_GLIBCXX_DEBUG=1',], | 2752 'defines': ['_GLIBCXX_DEBUG=1',], |
2750 }], | 2753 }], |
2751 # Disabled on iOS because it was causing a crash on startup. | 2754 # Disabled on iOS because it was causing a crash on startup. |
2752 # TODO(michelea): investigate, create a reduced test and possibly | 2755 # TODO(michelea): investigate, create a reduced test and possibly |
2753 # submit a radar. | 2756 # submit a radar. |
2754 ['release_valgrind_build==0 and OS!="ios"', { | 2757 ['release_valgrind_build==0 and OS!="ios"', { |
2755 'xcode_settings': { | 2758 'xcode_settings': { |
(...skipping 2033 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4789 # settings in target dicts. SYMROOT is a special case, because many other | 4792 # settings in target dicts. SYMROOT is a special case, because many other |
4790 # Xcode variables depend on it, including variables such as | 4793 # Xcode variables depend on it, including variables such as |
4791 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4794 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
4792 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4795 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
4793 # files to appear (when present) in the UI as actual files and not red | 4796 # files to appear (when present) in the UI as actual files and not red |
4794 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4797 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
4795 # and therefore SYMROOT, needs to be set at the project level. | 4798 # and therefore SYMROOT, needs to be set at the project level. |
4796 'SYMROOT': '<(DEPTH)/xcodebuild', | 4799 'SYMROOT': '<(DEPTH)/xcodebuild', |
4797 }, | 4800 }, |
4798 } | 4801 } |
OLD | NEW |