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 1166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1177 'win_debug_disable_iterator_debugging': '1', | 1177 'win_debug_disable_iterator_debugging': '1', |
1178 'win_debug_Optimization': '1', | 1178 'win_debug_Optimization': '1', |
1179 'win_debug_InlineFunctionExpansion': '0', | 1179 'win_debug_InlineFunctionExpansion': '0', |
1180 'win_release_InlineFunctionExpansion': '0', | 1180 'win_release_InlineFunctionExpansion': '0', |
1181 'win_release_OmitFramePointers': '0', | 1181 'win_release_OmitFramePointers': '0', |
1182 | 1182 |
1183 'linux_use_tcmalloc': 1, | 1183 'linux_use_tcmalloc': 1, |
1184 'release_valgrind_build': 1, | 1184 'release_valgrind_build': 1, |
1185 'werror': '', | 1185 'werror': '', |
1186 'component': 'static_library', | 1186 'component': 'static_library', |
1187 'win_use_allocator_shim': 0, | |
1188 'use_system_zlib': 0, | 1187 'use_system_zlib': 0, |
1189 }], | 1188 }], |
1190 | 1189 |
1191 # Build tweaks for DrMemory. | 1190 # Build tweaks for DrMemory. |
1192 # TODO(rnk): Combine with tsan config to share the builder. | 1191 # TODO(rnk): Combine with tsan config to share the builder. |
1193 # http://crbug.com/108155 | 1192 # http://crbug.com/108155 |
1194 ['build_for_tool=="drmemory"', { | 1193 ['build_for_tool=="drmemory"', { |
1195 # DrMemory can't handle the debug CRT dll, so build static. | 1194 # DrMemory can't handle the debug CRT dll, so build static. |
1196 'component': 'static_library', | 1195 'component': 'static_library', |
1197 # Allocator_shim causes a linker error when we use std::locale. | |
1198 'win_use_allocator_shim': 0, | |
1199 # These runtime checks force initialization of stack vars which blocks | 1196 # These runtime checks force initialization of stack vars which blocks |
1200 # DrMemory's uninit detection. | 1197 # DrMemory's uninit detection. |
1201 'win_debug_RuntimeChecks': '0', | 1198 'win_debug_RuntimeChecks': '0', |
1202 # Iterator debugging is slow. | 1199 # Iterator debugging is slow. |
1203 'win_debug_disable_iterator_debugging': '1', | 1200 'win_debug_disable_iterator_debugging': '1', |
1204 # Try to disable optimizations that mess up stacks in a release build. | 1201 # Try to disable optimizations that mess up stacks in a release build. |
1205 'win_release_InlineFunctionExpansion': '0', | 1202 'win_release_InlineFunctionExpansion': '0', |
1206 'win_release_OmitFramePointers': '0', | 1203 'win_release_OmitFramePointers': '0', |
1207 # Keep the code under #ifndef NVALGRIND. | 1204 # Keep the code under #ifndef NVALGRIND. |
1208 'release_valgrind_build': 1, | 1205 'release_valgrind_build': 1, |
(...skipping 2090 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3299 # settings in target dicts. SYMROOT is a special case, because many other | 3296 # settings in target dicts. SYMROOT is a special case, because many other |
3300 # Xcode variables depend on it, including variables such as | 3297 # Xcode variables depend on it, including variables such as |
3301 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 3298 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
3302 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 3299 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
3303 # files to appear (when present) in the UI as actual files and not red | 3300 # files to appear (when present) in the UI as actual files and not red |
3304 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 3301 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
3305 # and therefore SYMROOT, needs to be set at the project level. | 3302 # and therefore SYMROOT, needs to be set at the project level. |
3306 'SYMROOT': '<(DEPTH)/xcodebuild', | 3303 'SYMROOT': '<(DEPTH)/xcodebuild', |
3307 }, | 3304 }, |
3308 } | 3305 } |
OLD | NEW |