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 1816 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1827 ['input_speech==1', { | 1827 ['input_speech==1', { |
1828 'defines': ['ENABLE_INPUT_SPEECH'], | 1828 'defines': ['ENABLE_INPUT_SPEECH'], |
1829 }], | 1829 }], |
1830 ['notifications==1', { | 1830 ['notifications==1', { |
1831 'defines': ['ENABLE_NOTIFICATIONS'], | 1831 'defines': ['ENABLE_NOTIFICATIONS'], |
1832 }], | 1832 }], |
1833 ['enable_hidpi==1', { | 1833 ['enable_hidpi==1', { |
1834 'defines': ['ENABLE_HIDPI=1'], | 1834 'defines': ['ENABLE_HIDPI=1'], |
1835 }], | 1835 }], |
1836 ['fastbuild!=0', { | 1836 ['fastbuild!=0', { |
| 1837 'xcode_settings': { |
| 1838 'GCC_GENERATE_DEBUGGING_SYMBOLS': 'NO', |
| 1839 }, |
1837 'conditions': [ | 1840 'conditions': [ |
1838 ['clang==1', { | 1841 ['clang==1', { |
1839 # Clang creates chubby debug information, which makes linking very | 1842 # Clang creates chubby debug information, which makes linking very |
1840 # slow. For now, don't create debug information with clang. See | 1843 # slow. For now, don't create debug information with clang. See |
1841 # http://crbug.com/70000 | 1844 # http://crbug.com/70000 |
1842 'conditions': [ | 1845 'conditions': [ |
1843 ['OS=="linux"', { | 1846 ['OS=="linux"', { |
1844 'variables': { | 1847 'variables': { |
1845 'debug_extra_cflags': '-g0', | 1848 'debug_extra_cflags': '-g0', |
1846 }, | 1849 }, |
(...skipping 25 matching lines...) Expand all Loading... |
1872 # This tells the linker to generate .pdbs, so that | 1875 # This tells the linker to generate .pdbs, so that |
1873 # we can get meaningful stack traces. | 1876 # we can get meaningful stack traces. |
1874 'GenerateDebugInformation': 'true', | 1877 'GenerateDebugInformation': 'true', |
1875 }, | 1878 }, |
1876 'VCCLCompilerTool': { | 1879 'VCCLCompilerTool': { |
1877 # No debug info to be generated by compiler. | 1880 # No debug info to be generated by compiler. |
1878 'DebugInformationFormat': '0', | 1881 'DebugInformationFormat': '0', |
1879 }, | 1882 }, |
1880 }, | 1883 }, |
1881 }], | 1884 }], |
1882 ['OS=="mac"', { | |
1883 'xcode_settings': { | |
1884 'GCC_GENERATE_DEBUGGING_SYMBOLS': 'NO', | |
1885 }, | |
1886 }], | |
1887 ['OS=="linux" and fastbuild==2', { | 1885 ['OS=="linux" and fastbuild==2', { |
1888 'variables': { | 1886 'variables': { |
1889 'debug_extra_cflags': '-g0', | 1887 'debug_extra_cflags': '-g0', |
1890 }, | 1888 }, |
1891 }], | 1889 }], |
1892 ['OS=="linux" and fastbuild==1', { | 1890 ['OS=="linux" and fastbuild==1', { |
1893 'variables': { | 1891 'variables': { |
1894 'debug_extra_cflags': '-g1', | 1892 'debug_extra_cflags': '-g1', |
1895 }, | 1893 }, |
1896 }], | 1894 }], |
(...skipping 2377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4274 # settings in target dicts. SYMROOT is a special case, because many other | 4272 # settings in target dicts. SYMROOT is a special case, because many other |
4275 # Xcode variables depend on it, including variables such as | 4273 # Xcode variables depend on it, including variables such as |
4276 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4274 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
4277 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4275 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
4278 # files to appear (when present) in the UI as actual files and not red | 4276 # files to appear (when present) in the UI as actual files and not red |
4279 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4277 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
4280 # and therefore SYMROOT, needs to be set at the project level. | 4278 # and therefore SYMROOT, needs to be set at the project level. |
4281 'SYMROOT': '<(DEPTH)/xcodebuild', | 4279 'SYMROOT': '<(DEPTH)/xcodebuild', |
4282 }, | 4280 }, |
4283 } | 4281 } |
OLD | NEW |