| 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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 | 119 |
| 120 # This variable tells WebCore.gyp and JavaScriptCore.gyp whether they are | 120 # This variable tells WebCore.gyp and JavaScriptCore.gyp whether they are |
| 121 # are built under a chromium full build (1) or a webkit.org chromium | 121 # are built under a chromium full build (1) or a webkit.org chromium |
| 122 # build (0). | 122 # build (0). |
| 123 'inside_chromium_build%': 1, | 123 'inside_chromium_build%': 1, |
| 124 | 124 |
| 125 # Set to 1 to enable fast builds. It disables debug info for fastest | 125 # Set to 1 to enable fast builds. It disables debug info for fastest |
| 126 # compilation. | 126 # compilation. |
| 127 'fastbuild%': 0, | 127 'fastbuild%': 0, |
| 128 | 128 |
| 129 # Set to 1 to enable dcheck in release without having to use the flag. |
| 130 'dcheck_always_on%': 0, |
| 131 |
| 129 # Disable file manager component extension by default. | 132 # Disable file manager component extension by default. |
| 130 'file_manager_extension%': 0, | 133 'file_manager_extension%': 0, |
| 131 | 134 |
| 132 # Disable WebUI TaskManager by default. | 135 # Disable WebUI TaskManager by default. |
| 133 'webui_task_manager%': 0, | 136 'webui_task_manager%': 0, |
| 134 | 137 |
| 135 # Python version. | 138 # Python version. |
| 136 'python_ver%': '2.6', | 139 'python_ver%': '2.6', |
| 137 | 140 |
| 138 # Set ARM-v7 compilation flags | 141 # Set ARM-v7 compilation flags |
| (...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 292 'use_gnome_keyring%': '<(use_gnome_keyring)', | 295 'use_gnome_keyring%': '<(use_gnome_keyring)', |
| 293 'linux_fpic%': '<(linux_fpic)', | 296 'linux_fpic%': '<(linux_fpic)', |
| 294 'enable_flapper_hacks%': '<(enable_flapper_hacks)', | 297 'enable_flapper_hacks%': '<(enable_flapper_hacks)', |
| 295 'chromeos%': '<(chromeos)', | 298 'chromeos%': '<(chromeos)', |
| 296 'touchui%': '<(touchui)', | 299 'touchui%': '<(touchui)', |
| 297 'webui_dialogs%': '<(webui_dialogs)', | 300 'webui_dialogs%': '<(webui_dialogs)', |
| 298 'file_manager_extension%': '<(file_manager_extension)', | 301 'file_manager_extension%': '<(file_manager_extension)', |
| 299 'webui_task_manager%': '<(webui_task_manager)', | 302 'webui_task_manager%': '<(webui_task_manager)', |
| 300 'inside_chromium_build%': '<(inside_chromium_build)', | 303 'inside_chromium_build%': '<(inside_chromium_build)', |
| 301 'fastbuild%': '<(fastbuild)', | 304 'fastbuild%': '<(fastbuild)', |
| 305 'dcheck_always_on%': '<(dcheck_always_on)', |
| 302 'python_ver%': '<(python_ver)', | 306 'python_ver%': '<(python_ver)', |
| 303 'armv7%': '<(armv7)', | 307 'armv7%': '<(armv7)', |
| 304 'arm_neon%': '<(arm_neon)', | 308 'arm_neon%': '<(arm_neon)', |
| 305 'sysroot%': '<(sysroot)', | 309 'sysroot%': '<(sysroot)', |
| 306 'disable_sse2%': '<(disable_sse2)', | 310 'disable_sse2%': '<(disable_sse2)', |
| 307 'component%': '<(component)', | 311 'component%': '<(component)', |
| 308 'use_titlecase_in_grd_files%': '<(use_titlecase_in_grd_files)', | 312 'use_titlecase_in_grd_files%': '<(use_titlecase_in_grd_files)', |
| 309 'use_third_party_translations%': '<(use_third_party_translations)', | 313 'use_third_party_translations%': '<(use_third_party_translations)', |
| 310 'remoting%': '<(remoting)', | 314 'remoting%': '<(remoting)', |
| 311 'enable_webrtc%': '<(enable_webrtc)', | 315 'enable_webrtc%': '<(enable_webrtc)', |
| (...skipping 521 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 833 # Clang creates chubby debug information, which makes linking very | 837 # Clang creates chubby debug information, which makes linking very |
| 834 # slow. For now, don't create debug information with clang. See | 838 # slow. For now, don't create debug information with clang. See |
| 835 # http://crbug.com/70000 | 839 # http://crbug.com/70000 |
| 836 ['OS=="linux" and clang==1', { | 840 ['OS=="linux" and clang==1', { |
| 837 'variables': { | 841 'variables': { |
| 838 'debug_extra_cflags': '-g0', | 842 'debug_extra_cflags': '-g0', |
| 839 }, | 843 }, |
| 840 }], | 844 }], |
| 841 ], # conditions for fastbuild. | 845 ], # conditions for fastbuild. |
| 842 }], # fastbuild!=0 | 846 }], # fastbuild!=0 |
| 847 ['dcheck_always_on!=0', { |
| 848 'defines': ['DCHECK_ALWAYS_ON=1'], |
| 849 }], # dcheck_always_on!=0 |
| 843 ['selinux==1', { | 850 ['selinux==1', { |
| 844 'defines': ['CHROMIUM_SELINUX=1'], | 851 'defines': ['CHROMIUM_SELINUX=1'], |
| 845 }], | 852 }], |
| 846 ['win_use_allocator_shim==0', { | 853 ['win_use_allocator_shim==0', { |
| 847 'conditions': [ | 854 'conditions': [ |
| 848 ['OS=="win"', { | 855 ['OS=="win"', { |
| 849 'defines': ['NO_TCMALLOC'], | 856 'defines': ['NO_TCMALLOC'], |
| 850 }], | 857 }], |
| 851 ], | 858 ], |
| 852 }], | 859 }], |
| (...skipping 1114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1967 # settings in target dicts. SYMROOT is a special case, because many other | 1974 # settings in target dicts. SYMROOT is a special case, because many other |
| 1968 # Xcode variables depend on it, including variables such as | 1975 # Xcode variables depend on it, including variables such as |
| 1969 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 1976 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 1970 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 1977 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 1971 # files to appear (when present) in the UI as actual files and not red | 1978 # files to appear (when present) in the UI as actual files and not red |
| 1972 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 1979 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 1973 # and therefore SYMROOT, needs to be set at the project level. | 1980 # and therefore SYMROOT, needs to be set at the project level. |
| 1974 'SYMROOT': '<(DEPTH)/xcodebuild', | 1981 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 1975 }, | 1982 }, |
| 1976 } | 1983 } |
| OLD | NEW |