Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(113)

Side by Side Diff: build/common.gypi

Issue 7719007: Add a gyp flag to enable dcheck by default in release without (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 129
130 # This variable tells WebCore.gyp and JavaScriptCore.gyp whether they are 130 # This variable tells WebCore.gyp and JavaScriptCore.gyp whether they are
131 # are built under a chromium full build (1) or a webkit.org chromium 131 # are built under a chromium full build (1) or a webkit.org chromium
132 # build (0). 132 # build (0).
133 'inside_chromium_build%': 1, 133 'inside_chromium_build%': 1,
134 134
135 # Set to 1 to enable fast builds. It disables debug info for fastest 135 # Set to 1 to enable fast builds. It disables debug info for fastest
136 # compilation. 136 # compilation.
137 'fastbuild%': 0, 137 'fastbuild%': 0,
138 138
139 # Set to 1 to enable dcheck in release without having to use the flag.
140 'dcheck_always_on%': 0,
141
139 # Disable file manager component extension by default. 142 # Disable file manager component extension by default.
140 'file_manager_extension%': 0, 143 'file_manager_extension%': 0,
141 144
142 # Disable WebUI TaskManager by default. 145 # Disable WebUI TaskManager by default.
143 'webui_task_manager%': 0, 146 'webui_task_manager%': 0,
144 147
145 # Python version. 148 # Python version.
146 'python_ver%': '2.6', 149 'python_ver%': '2.6',
147 150
148 # Set ARM-v7 compilation flags 151 # Set ARM-v7 compilation flags
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 'use_gnome_keyring%': '<(use_gnome_keyring)', 306 'use_gnome_keyring%': '<(use_gnome_keyring)',
304 'linux_fpic%': '<(linux_fpic)', 307 'linux_fpic%': '<(linux_fpic)',
305 'enable_flapper_hacks%': '<(enable_flapper_hacks)', 308 'enable_flapper_hacks%': '<(enable_flapper_hacks)',
306 'chromeos%': '<(chromeos)', 309 'chromeos%': '<(chromeos)',
307 'touchui%': '<(touchui)', 310 'touchui%': '<(touchui)',
308 'webui_dialogs%': '<(webui_dialogs)', 311 'webui_dialogs%': '<(webui_dialogs)',
309 'file_manager_extension%': '<(file_manager_extension)', 312 'file_manager_extension%': '<(file_manager_extension)',
310 'webui_task_manager%': '<(webui_task_manager)', 313 'webui_task_manager%': '<(webui_task_manager)',
311 'inside_chromium_build%': '<(inside_chromium_build)', 314 'inside_chromium_build%': '<(inside_chromium_build)',
312 'fastbuild%': '<(fastbuild)', 315 'fastbuild%': '<(fastbuild)',
316 'dcheck_always_on%': '<(dcheck_always_on)',
313 'python_ver%': '<(python_ver)', 317 'python_ver%': '<(python_ver)',
314 'armv7%': '<(armv7)', 318 'armv7%': '<(armv7)',
315 'arm_neon%': '<(arm_neon)', 319 'arm_neon%': '<(arm_neon)',
316 'sysroot%': '<(sysroot)', 320 'sysroot%': '<(sysroot)',
317 'disable_sse2%': '<(disable_sse2)', 321 'disable_sse2%': '<(disable_sse2)',
318 'component%': '<(component)', 322 'component%': '<(component)',
319 'use_titlecase_in_grd_files%': '<(use_titlecase_in_grd_files)', 323 'use_titlecase_in_grd_files%': '<(use_titlecase_in_grd_files)',
320 'use_third_party_translations%': '<(use_third_party_translations)', 324 'use_third_party_translations%': '<(use_third_party_translations)',
321 'remoting%': '<(remoting)', 325 'remoting%': '<(remoting)',
322 'enable_webrtc%': '<(enable_webrtc)', 326 'enable_webrtc%': '<(enable_webrtc)',
(...skipping 529 matching lines...) Expand 10 before | Expand all | Expand 10 after
852 # Clang creates chubby debug information, which makes linking very 856 # Clang creates chubby debug information, which makes linking very
853 # slow. For now, don't create debug information with clang. See 857 # slow. For now, don't create debug information with clang. See
854 # http://crbug.com/70000 858 # http://crbug.com/70000
855 ['OS=="linux" and clang==1', { 859 ['OS=="linux" and clang==1', {
856 'variables': { 860 'variables': {
857 'debug_extra_cflags': '-g0', 861 'debug_extra_cflags': '-g0',
858 }, 862 },
859 }], 863 }],
860 ], # conditions for fastbuild. 864 ], # conditions for fastbuild.
861 }], # fastbuild!=0 865 }], # fastbuild!=0
866 ['dcheck_always_on!=0', {
867 'defines': ['DCHECK_ALWAYS_ON=1'],
868 }], # dcheck_always_on!=0
862 ['selinux==1', { 869 ['selinux==1', {
863 'defines': ['CHROMIUM_SELINUX=1'], 870 'defines': ['CHROMIUM_SELINUX=1'],
864 }], 871 }],
865 ['win_use_allocator_shim==0', { 872 ['win_use_allocator_shim==0', {
866 'conditions': [ 873 'conditions': [
867 ['OS=="win"', { 874 ['OS=="win"', {
868 'defines': ['NO_TCMALLOC'], 875 'defines': ['NO_TCMALLOC'],
869 }], 876 }],
870 ], 877 ],
871 }], 878 }],
(...skipping 1140 matching lines...) Expand 10 before | Expand all | Expand 10 after
2012 # settings in target dicts. SYMROOT is a special case, because many other 2019 # settings in target dicts. SYMROOT is a special case, because many other
2013 # Xcode variables depend on it, including variables such as 2020 # Xcode variables depend on it, including variables such as
2014 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 2021 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
2015 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 2022 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
2016 # files to appear (when present) in the UI as actual files and not red 2023 # files to appear (when present) in the UI as actual files and not red
2017 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 2024 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
2018 # and therefore SYMROOT, needs to be set at the project level. 2025 # and therefore SYMROOT, needs to be set at the project level.
2019 'SYMROOT': '<(DEPTH)/xcodebuild', 2026 'SYMROOT': '<(DEPTH)/xcodebuild',
2020 }, 2027 },
2021 } 2028 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698