| 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 2221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2232 # Build tweaks for DrMemory. | 2232 # Build tweaks for DrMemory. |
| 2233 # TODO(rnk): Combine with tsan config to share the builder. | 2233 # TODO(rnk): Combine with tsan config to share the builder. |
| 2234 # http://crbug.com/108155 | 2234 # http://crbug.com/108155 |
| 2235 ['build_for_tool=="drmemory"', { | 2235 ['build_for_tool=="drmemory"', { |
| 2236 # These runtime checks force initialization of stack vars which blocks | 2236 # These runtime checks force initialization of stack vars which blocks |
| 2237 # DrMemory's uninit detection. | 2237 # DrMemory's uninit detection. |
| 2238 'win_debug_RuntimeChecks': '0', | 2238 'win_debug_RuntimeChecks': '0', |
| 2239 # Iterator debugging is slow. | 2239 # Iterator debugging is slow. |
| 2240 'win_debug_disable_iterator_debugging': '1', | 2240 'win_debug_disable_iterator_debugging': '1', |
| 2241 # Try to disable optimizations that mess up stacks in a release build. | 2241 # Try to disable optimizations that mess up stacks in a release build. |
| 2242 # DrM-i#1054 (http://code.google.com/p/drmemory/issues/detail?id=1054) | 2242 # DrM-i#1054 (https://github.com/DynamoRIO/drmemory/issues/1054) |
| 2243 # /O2 and /Ob0 (disable inline) cannot be used together because of a | 2243 # /O2 and /Ob0 (disable inline) cannot be used together because of a |
| 2244 # compiler bug, so we use /Ob1 instead. | 2244 # compiler bug, so we use /Ob1 instead. |
| 2245 'win_release_InlineFunctionExpansion': '1', | 2245 'win_release_InlineFunctionExpansion': '1', |
| 2246 'win_release_OmitFramePointers': '0', | 2246 'win_release_OmitFramePointers': '0', |
| 2247 # Ditto for debug, to support bumping win_debug_Optimization. | 2247 # Ditto for debug, to support bumping win_debug_Optimization. |
| 2248 'win_debug_InlineFunctionExpansion': 0, | 2248 'win_debug_InlineFunctionExpansion': 0, |
| 2249 'win_debug_OmitFramePointers': 0, | 2249 'win_debug_OmitFramePointers': 0, |
| 2250 # Keep the code under #ifndef NVALGRIND. | 2250 # Keep the code under #ifndef NVALGRIND. |
| 2251 'release_valgrind_build': 1, | 2251 'release_valgrind_build': 1, |
| 2252 }], | 2252 }], |
| (...skipping 3606 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5859 # settings in target dicts. SYMROOT is a special case, because many other | 5859 # settings in target dicts. SYMROOT is a special case, because many other |
| 5860 # Xcode variables depend on it, including variables such as | 5860 # Xcode variables depend on it, including variables such as |
| 5861 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 5861 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 5862 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 5862 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 5863 # files to appear (when present) in the UI as actual files and not red | 5863 # files to appear (when present) in the UI as actual files and not red |
| 5864 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 5864 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 5865 # and therefore SYMROOT, needs to be set at the project level. | 5865 # and therefore SYMROOT, needs to be set at the project level. |
| 5866 'SYMROOT': '<(DEPTH)/xcodebuild', | 5866 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 5867 }, | 5867 }, |
| 5868 } | 5868 } |
| OLD | NEW |