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 1737 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1748 'release_extra_cflags': '-g0', | 1748 'release_extra_cflags': '-g0', |
1749 }, | 1749 }, |
1750 }], | 1750 }], |
1751 ], | 1751 ], |
1752 }, { # else clang!=1 | 1752 }, { # else clang!=1 |
1753 'conditions': [ | 1753 'conditions': [ |
1754 # For Windows and Mac, we don't genererate debug information. | 1754 # For Windows and Mac, we don't genererate debug information. |
1755 ['OS=="win"', { | 1755 ['OS=="win"', { |
1756 'msvs_settings': { | 1756 'msvs_settings': { |
1757 'VCLinkerTool': { | 1757 'VCLinkerTool': { |
1758 'GenerateDebugInformation': 'false', | 1758 # This tells the linker to generate .pdbs, so that |
| 1759 # we can get meaningful stack traces. |
| 1760 'GenerateDebugInformation': 'true', |
1759 }, | 1761 }, |
1760 'VCCLCompilerTool': { | 1762 'VCCLCompilerTool': { |
| 1763 # No debug info to be generated by compiler. |
1761 'DebugInformationFormat': '0', | 1764 'DebugInformationFormat': '0', |
1762 }, | 1765 }, |
1763 }, | 1766 }, |
1764 }], | 1767 }], |
1765 ['OS=="mac"', { | 1768 ['OS=="mac"', { |
1766 'xcode_settings': { | 1769 'xcode_settings': { |
1767 'GCC_GENERATE_DEBUGGING_SYMBOLS': 'NO', | 1770 'GCC_GENERATE_DEBUGGING_SYMBOLS': 'NO', |
1768 }, | 1771 }, |
1769 }], | 1772 }], |
1770 ['OS=="linux"', { | 1773 ['OS=="linux"', { |
(...skipping 2211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3982 # settings in target dicts. SYMROOT is a special case, because many other | 3985 # settings in target dicts. SYMROOT is a special case, because many other |
3983 # Xcode variables depend on it, including variables such as | 3986 # Xcode variables depend on it, including variables such as |
3984 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 3987 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
3985 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 3988 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
3986 # files to appear (when present) in the UI as actual files and not red | 3989 # files to appear (when present) in the UI as actual files and not red |
3987 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 3990 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
3988 # and therefore SYMROOT, needs to be set at the project level. | 3991 # and therefore SYMROOT, needs to be set at the project level. |
3989 'SYMROOT': '<(DEPTH)/xcodebuild', | 3992 'SYMROOT': '<(DEPTH)/xcodebuild', |
3990 }, | 3993 }, |
3991 } | 3994 } |
OLD | NEW |