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 1356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1367 # Build tweaks for DrMemory. | 1367 # Build tweaks for DrMemory. |
1368 # TODO(rnk): Combine with tsan config to share the builder. | 1368 # TODO(rnk): Combine with tsan config to share the builder. |
1369 # http://crbug.com/108155 | 1369 # http://crbug.com/108155 |
1370 ['build_for_tool=="drmemory"', { | 1370 ['build_for_tool=="drmemory"', { |
1371 # These runtime checks force initialization of stack vars which blocks | 1371 # These runtime checks force initialization of stack vars which blocks |
1372 # DrMemory's uninit detection. | 1372 # DrMemory's uninit detection. |
1373 'win_debug_RuntimeChecks': '0', | 1373 'win_debug_RuntimeChecks': '0', |
1374 # Iterator debugging is slow. | 1374 # Iterator debugging is slow. |
1375 'win_debug_disable_iterator_debugging': '1', | 1375 'win_debug_disable_iterator_debugging': '1', |
1376 # Try to disable optimizations that mess up stacks in a release build. | 1376 # Try to disable optimizations that mess up stacks in a release build. |
1377 'win_release_InlineFunctionExpansion': '0', | 1377 # DrM-i#1054 (http://code.google.com/p/drmemory/issues/detail?id=1054) |
| 1378 # /O2 and /Ob0 (disable inline) cannot be used together because of a |
| 1379 # compiler bug, so we use /Ob1 instead. |
| 1380 'win_release_InlineFunctionExpansion': '1', |
1378 'win_release_OmitFramePointers': '0', | 1381 'win_release_OmitFramePointers': '0', |
1379 # Ditto for debug, to support bumping win_debug_Optimization. | 1382 # Ditto for debug, to support bumping win_debug_Optimization. |
1380 'win_debug_InlineFunctionExpansion': 0, | 1383 'win_debug_InlineFunctionExpansion': 0, |
1381 'win_debug_OmitFramePointers': 0, | 1384 'win_debug_OmitFramePointers': 0, |
1382 # Keep the code under #ifndef NVALGRIND. | 1385 # Keep the code under #ifndef NVALGRIND. |
1383 'release_valgrind_build': 1, | 1386 'release_valgrind_build': 1, |
1384 }], | 1387 }], |
1385 ], | 1388 ], |
1386 | 1389 |
1387 # List of default apps to install in new profiles. The first list contains | 1390 # List of default apps to install in new profiles. The first list contains |
(...skipping 2232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3620 # settings in target dicts. SYMROOT is a special case, because many other | 3623 # settings in target dicts. SYMROOT is a special case, because many other |
3621 # Xcode variables depend on it, including variables such as | 3624 # Xcode variables depend on it, including variables such as |
3622 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 3625 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
3623 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 3626 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
3624 # files to appear (when present) in the UI as actual files and not red | 3627 # files to appear (when present) in the UI as actual files and not red |
3625 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 3628 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
3626 # and therefore SYMROOT, needs to be set at the project level. | 3629 # and therefore SYMROOT, needs to be set at the project level. |
3627 'SYMROOT': '<(DEPTH)/xcodebuild', | 3630 'SYMROOT': '<(DEPTH)/xcodebuild', |
3628 }, | 3631 }, |
3629 } | 3632 } |
OLD | NEW |