| OLD | NEW |
| 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 | 128 |
| 129 # This variable tells WebCore.gyp and JavaScriptCore.gyp whether they are | 129 # This variable tells WebCore.gyp and JavaScriptCore.gyp whether they are |
| 130 # are built under a chromium full build (1) or a webkit.org chromium | 130 # are built under a chromium full build (1) or a webkit.org chromium |
| 131 # build (0). | 131 # build (0). |
| 132 'inside_chromium_build%': 1, | 132 'inside_chromium_build%': 1, |
| 133 | 133 |
| 134 # Set to 1 to enable fast builds. It disables debug info for fastest | 134 # Set to 1 to enable fast builds. It disables debug info for fastest |
| 135 # compilation. | 135 # compilation. |
| 136 'fastbuild%': 0, | 136 'fastbuild%': 0, |
| 137 | 137 |
| 138 # Set to 1 to enable dcheck in release without having to use the flag. |
| 139 'dcheck_always_on%': 0, |
| 140 |
| 138 # Disable file manager component extension by default. | 141 # Disable file manager component extension by default. |
| 139 'file_manager_extension%': 0, | 142 'file_manager_extension%': 0, |
| 140 | 143 |
| 141 # Disable WebUI TaskManager by default. | 144 # Disable WebUI TaskManager by default. |
| 142 'webui_task_manager%': 0, | 145 'webui_task_manager%': 0, |
| 143 | 146 |
| 144 # Python version. | 147 # Python version. |
| 145 'python_ver%': '2.6', | 148 'python_ver%': '2.6', |
| 146 | 149 |
| 147 # Set ARM-v7 compilation flags | 150 # Set ARM-v7 compilation flags |
| (...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 306 'use_gnome_keyring%': '<(use_gnome_keyring)', | 309 'use_gnome_keyring%': '<(use_gnome_keyring)', |
| 307 'linux_fpic%': '<(linux_fpic)', | 310 'linux_fpic%': '<(linux_fpic)', |
| 308 'enable_flapper_hacks%': '<(enable_flapper_hacks)', | 311 'enable_flapper_hacks%': '<(enable_flapper_hacks)', |
| 309 'chromeos%': '<(chromeos)', | 312 'chromeos%': '<(chromeos)', |
| 310 'touchui%': '<(touchui)', | 313 'touchui%': '<(touchui)', |
| 311 'webui_dialogs%': '<(webui_dialogs)', | 314 'webui_dialogs%': '<(webui_dialogs)', |
| 312 'file_manager_extension%': '<(file_manager_extension)', | 315 'file_manager_extension%': '<(file_manager_extension)', |
| 313 'webui_task_manager%': '<(webui_task_manager)', | 316 'webui_task_manager%': '<(webui_task_manager)', |
| 314 'inside_chromium_build%': '<(inside_chromium_build)', | 317 'inside_chromium_build%': '<(inside_chromium_build)', |
| 315 'fastbuild%': '<(fastbuild)', | 318 'fastbuild%': '<(fastbuild)', |
| 319 'dcheck_always_on%': '<(dcheck_always_on)', |
| 316 'python_ver%': '<(python_ver)', | 320 'python_ver%': '<(python_ver)', |
| 317 'armv7%': '<(armv7)', | 321 'armv7%': '<(armv7)', |
| 318 'arm_neon%': '<(arm_neon)', | 322 'arm_neon%': '<(arm_neon)', |
| 319 'sysroot%': '<(sysroot)', | 323 'sysroot%': '<(sysroot)', |
| 320 'disable_sse2%': '<(disable_sse2)', | 324 'disable_sse2%': '<(disable_sse2)', |
| 321 'component%': '<(component)', | 325 'component%': '<(component)', |
| 322 'use_titlecase_in_grd_files%': '<(use_titlecase_in_grd_files)', | 326 'use_titlecase_in_grd_files%': '<(use_titlecase_in_grd_files)', |
| 323 'use_third_party_translations%': '<(use_third_party_translations)', | 327 'use_third_party_translations%': '<(use_third_party_translations)', |
| 324 'remoting%': '<(remoting)', | 328 'remoting%': '<(remoting)', |
| 325 'use_threaded_compositing%': '<(use_threaded_compositing)', | 329 'use_threaded_compositing%': '<(use_threaded_compositing)', |
| (...skipping 523 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 849 # Clang creates chubby debug information, which makes linking very | 853 # Clang creates chubby debug information, which makes linking very |
| 850 # slow. For now, don't create debug information with clang. See | 854 # slow. For now, don't create debug information with clang. See |
| 851 # http://crbug.com/70000 | 855 # http://crbug.com/70000 |
| 852 ['OS=="linux" and clang==1', { | 856 ['OS=="linux" and clang==1', { |
| 853 'variables': { | 857 'variables': { |
| 854 'debug_extra_cflags': '-g0', | 858 'debug_extra_cflags': '-g0', |
| 855 }, | 859 }, |
| 856 }], | 860 }], |
| 857 ], # conditions for fastbuild. | 861 ], # conditions for fastbuild. |
| 858 }], # fastbuild!=0 | 862 }], # fastbuild!=0 |
| 863 ['dcheck_always_on!=0', { |
| 864 'defines': ['DCHECK_ALWAYS_ON=1'], |
| 865 }], # dcheck_always_on!=0 |
| 859 ['selinux==1', { | 866 ['selinux==1', { |
| 860 'defines': ['CHROMIUM_SELINUX=1'], | 867 'defines': ['CHROMIUM_SELINUX=1'], |
| 861 }], | 868 }], |
| 862 ['win_use_allocator_shim==0', { | 869 ['win_use_allocator_shim==0', { |
| 863 'conditions': [ | 870 'conditions': [ |
| 864 ['OS=="win"', { | 871 ['OS=="win"', { |
| 865 'defines': ['NO_TCMALLOC'], | 872 'defines': ['NO_TCMALLOC'], |
| 866 }], | 873 }], |
| 867 ], | 874 ], |
| 868 }], | 875 }], |
| (...skipping 1186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2055 # settings in target dicts. SYMROOT is a special case, because many other | 2062 # settings in target dicts. SYMROOT is a special case, because many other |
| 2056 # Xcode variables depend on it, including variables such as | 2063 # Xcode variables depend on it, including variables such as |
| 2057 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 2064 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 2058 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 2065 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 2059 # files to appear (when present) in the UI as actual files and not red | 2066 # files to appear (when present) in the UI as actual files and not red |
| 2060 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 2067 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 2061 # and therefore SYMROOT, needs to be set at the project level. | 2068 # and therefore SYMROOT, needs to be set at the project level. |
| 2062 'SYMROOT': '<(DEPTH)/xcodebuild', | 2069 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 2063 }, | 2070 }, |
| 2064 } | 2071 } |
| OLD | NEW |