| 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 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 179 'google_tv%': '<(google_tv)', | 179 'google_tv%': '<(google_tv)', |
| 180 'inside_chromium_build%': '<(inside_chromium_build)', | 180 'inside_chromium_build%': '<(inside_chromium_build)', |
| 181 'enable_app_list%': '<(enable_app_list)', | 181 'enable_app_list%': '<(enable_app_list)', |
| 182 'enable_message_center%': '<(enable_message_center)', | 182 'enable_message_center%': '<(enable_message_center)', |
| 183 'use_default_render_theme%': '<(use_default_render_theme)', | 183 'use_default_render_theme%': '<(use_default_render_theme)', |
| 184 'buildtype%': '<(buildtype)', | 184 'buildtype%': '<(buildtype)', |
| 185 | 185 |
| 186 # Override branding to select the desired branding flavor. | 186 # Override branding to select the desired branding flavor. |
| 187 'branding%': 'Chromium', | 187 'branding%': 'Chromium', |
| 188 | 188 |
| 189 # Set to 1 to enable fast builds. It disables debug info for fastest | 189 # Set to 1 to enable fast builds. Set to 2 for even faster builds |
| 190 # compilation. | 190 # (it disables debug info for fastest compilation - only for use |
| 191 # on compile-only bots). |
| 191 'fastbuild%': 0, | 192 'fastbuild%': 0, |
| 192 | 193 |
| 193 # Set to 1 to enable dcheck in release without having to use the flag. | 194 # Set to 1 to enable dcheck in release without having to use the flag. |
| 194 'dcheck_always_on%': 0, | 195 'dcheck_always_on%': 0, |
| 195 | 196 |
| 196 # Disable file manager component extension by default. | 197 # Disable file manager component extension by default. |
| 197 'file_manager_extension%': 0, | 198 'file_manager_extension%': 0, |
| 198 | 199 |
| 199 # Disable image loader component extension by default. | 200 # Disable image loader component extension by default. |
| 200 'image_loader_extension%': 0, | 201 'image_loader_extension%': 0, |
| (...skipping 1590 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1791 ['input_speech==1', { | 1792 ['input_speech==1', { |
| 1792 'defines': ['ENABLE_INPUT_SPEECH'], | 1793 'defines': ['ENABLE_INPUT_SPEECH'], |
| 1793 }], | 1794 }], |
| 1794 ['notifications==1', { | 1795 ['notifications==1', { |
| 1795 'defines': ['ENABLE_NOTIFICATIONS'], | 1796 'defines': ['ENABLE_NOTIFICATIONS'], |
| 1796 }], | 1797 }], |
| 1797 ['enable_hidpi==1', { | 1798 ['enable_hidpi==1', { |
| 1798 'defines': ['ENABLE_HIDPI=1'], | 1799 'defines': ['ENABLE_HIDPI=1'], |
| 1799 }], | 1800 }], |
| 1800 ['fastbuild!=0', { | 1801 ['fastbuild!=0', { |
| 1801 # Clang creates chubby debug information, which makes linking very | |
| 1802 # slow. For now, don't create debug information with clang. See | |
| 1803 # http://crbug.com/70000 | |
| 1804 'conditions': [ | 1802 'conditions': [ |
| 1805 ['clang==1', { | 1803 ['clang==1', { |
| 1804 # Clang creates chubby debug information, which makes linking very |
| 1805 # slow. For now, don't create debug information with clang. See |
| 1806 # http://crbug.com/70000 |
| 1806 'conditions': [ | 1807 'conditions': [ |
| 1807 ['OS=="linux"', { | 1808 ['OS=="linux"', { |
| 1808 'variables': { | 1809 'variables': { |
| 1809 'debug_extra_cflags': '-g0', | 1810 'debug_extra_cflags': '-g0', |
| 1810 }, | 1811 }, |
| 1811 }], | 1812 }], |
| 1812 # Android builds symbols on release by default, disable them. | 1813 # Android builds symbols on release by default, disable them. |
| 1813 ['OS=="android"', { | 1814 ['OS=="android"', { |
| 1814 'variables': { | 1815 'variables': { |
| 1815 'debug_extra_cflags': '-g0', | 1816 'debug_extra_cflags': '-g0', |
| 1816 'release_extra_cflags': '-g0', | 1817 'release_extra_cflags': '-g0', |
| 1817 }, | 1818 }, |
| 1818 }], | 1819 }], |
| 1819 ], | 1820 ], |
| 1820 }, { # else clang!=1 | 1821 }, { # else clang!=1 |
| 1821 'conditions': [ | 1822 'conditions': [ |
| 1822 # For Windows and Mac, we don't genererate debug information. | 1823 ['OS=="win" and fastbuild==2', { |
| 1823 ['OS=="win"', { | 1824 # Completely disable debug information. |
| 1825 'msvs_settings': { |
| 1826 'VCLinkerTool': { |
| 1827 'GenerateDebugInformation': 'false', |
| 1828 }, |
| 1829 'VCCLCompilerTool': { |
| 1830 'DebugInformationFormat': '0', |
| 1831 }, |
| 1832 }, |
| 1833 }], |
| 1834 ['OS=="win" and fastbuild==1', { |
| 1824 'msvs_settings': { | 1835 'msvs_settings': { |
| 1825 'VCLinkerTool': { | 1836 'VCLinkerTool': { |
| 1826 # This tells the linker to generate .pdbs, so that | 1837 # This tells the linker to generate .pdbs, so that |
| 1827 # we can get meaningful stack traces. | 1838 # we can get meaningful stack traces. |
| 1828 'GenerateDebugInformation': 'true', | 1839 'GenerateDebugInformation': 'true', |
| 1829 }, | 1840 }, |
| 1830 'VCCLCompilerTool': { | 1841 'VCCLCompilerTool': { |
| 1831 # No debug info to be generated by compiler. | 1842 # No debug info to be generated by compiler. |
| 1832 'DebugInformationFormat': '0', | 1843 'DebugInformationFormat': '0', |
| 1833 }, | 1844 }, |
| 1834 }, | 1845 }, |
| 1835 }], | 1846 }], |
| 1836 ['OS=="mac"', { | 1847 ['OS=="mac"', { |
| 1837 'xcode_settings': { | 1848 'xcode_settings': { |
| 1838 'GCC_GENERATE_DEBUGGING_SYMBOLS': 'NO', | 1849 'GCC_GENERATE_DEBUGGING_SYMBOLS': 'NO', |
| 1839 }, | 1850 }, |
| 1840 }], | 1851 }], |
| 1841 ['OS=="linux"', { | 1852 ['OS=="linux" and fastbuild==2', { |
| 1853 'variables': { |
| 1854 'debug_extra_cflags': '-g0', |
| 1855 }, |
| 1856 }], |
| 1857 ['OS=="linux" and fastbuild==1', { |
| 1842 'variables': { | 1858 'variables': { |
| 1843 'debug_extra_cflags': '-g1', | 1859 'debug_extra_cflags': '-g1', |
| 1844 }, | 1860 }, |
| 1845 }], | 1861 }], |
| 1846 ['OS=="android"', { | 1862 ['OS=="android" and fastbuild==2', { |
| 1863 'variables': { |
| 1864 'debug_extra_cflags': '-g0', |
| 1865 'release_extra_cflags': '-g0', |
| 1866 }, |
| 1867 }], |
| 1868 ['OS=="android" and fastbuild==1', { |
| 1847 'variables': { | 1869 'variables': { |
| 1848 'debug_extra_cflags': '-g1', | 1870 'debug_extra_cflags': '-g1', |
| 1849 'release_extra_cflags': '-g1', | 1871 'release_extra_cflags': '-g1', |
| 1850 }, | 1872 }, |
| 1851 }], | 1873 }], |
| 1852 ], | 1874 ], |
| 1853 }], # clang!=1 | 1875 }], # clang!=1 |
| 1854 ], | 1876 ], |
| 1855 }], # fastbuild!=0 | 1877 }], # fastbuild!=0 |
| 1856 ['dcheck_always_on!=0', { | 1878 ['dcheck_always_on!=0', { |
| (...skipping 2317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4174 # settings in target dicts. SYMROOT is a special case, because many other | 4196 # settings in target dicts. SYMROOT is a special case, because many other |
| 4175 # Xcode variables depend on it, including variables such as | 4197 # Xcode variables depend on it, including variables such as |
| 4176 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4198 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 4177 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4199 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 4178 # files to appear (when present) in the UI as actual files and not red | 4200 # files to appear (when present) in the UI as actual files and not red |
| 4179 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4201 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 4180 # and therefore SYMROOT, needs to be set at the project level. | 4202 # and therefore SYMROOT, needs to be set at the project level. |
| 4181 'SYMROOT': '<(DEPTH)/xcodebuild', | 4203 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 4182 }, | 4204 }, |
| 4183 } | 4205 } |
| OLD | NEW |