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

Side by Side Diff: build/common.gypi

Issue 189603007: Let DCHECK in non-official-release build be opt-in with dcheck_always_on=1 only (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: For landing Created 6 years, 9 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
« no previous file with comments | « base/logging_unittest.cc ('k') | chrome/common/chrome_switches.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 'use_default_render_theme%': '<(use_default_render_theme)', 257 'use_default_render_theme%': '<(use_default_render_theme)',
258 'buildtype%': '<(buildtype)', 258 'buildtype%': '<(buildtype)',
259 'branding%': '<(branding)', 259 'branding%': '<(branding)',
260 'arm_version%': '<(arm_version)', 260 'arm_version%': '<(arm_version)',
261 261
262 # Set to 1 to enable fast builds. Set to 2 for even faster builds 262 # Set to 1 to enable fast builds. Set to 2 for even faster builds
263 # (it disables debug info for fastest compilation - only for use 263 # (it disables debug info for fastest compilation - only for use
264 # on compile-only bots). 264 # on compile-only bots).
265 'fastbuild%': 0, 265 'fastbuild%': 0,
266 266
267 # Set to 1 to enable dcheck in release without having to use the flag. 267 # Set to 1 to enable dcheck in release.
268 'dcheck_always_on%': 0, 268 'dcheck_always_on%': 0,
269 269
270 # Set to 1 to make a build that logs like an official build, but is not
271 # necessarily an official build, ie DCHECK and DLOG are disabled and
272 # removed completely in release builds, to minimize binary footprint.
273 # Note: this setting is ignored if buildtype=="Official".
274 'logging_like_official_build%': 0,
275
276 # Set to 1 to make a build that disables unshipped tracing events. 270 # Set to 1 to make a build that disables unshipped tracing events.
277 # Note: this setting is ignored if buildtype=="Official". 271 # Note: this setting is ignored if buildtype=="Official".
278 'tracing_like_official_build%': 0, 272 'tracing_like_official_build%': 0,
279 273
280 # Disable image loader component extension by default. 274 # Disable image loader component extension by default.
281 'image_loader_extension%': 0, 275 'image_loader_extension%': 0,
282 276
283 # Python version. 277 # Python version.
284 'python_ver%': '2.6', 278 'python_ver%': '2.6',
285 279
(...skipping 618 matching lines...) Expand 10 before | Expand all | Expand 10 after
904 'use_x11%': '<(use_x11)', 898 'use_x11%': '<(use_x11)',
905 'use_gnome_keyring%': '<(use_gnome_keyring)', 899 'use_gnome_keyring%': '<(use_gnome_keyring)',
906 'linux_fpic%': '<(linux_fpic)', 900 'linux_fpic%': '<(linux_fpic)',
907 'chromeos%': '<(chromeos)', 901 'chromeos%': '<(chromeos)',
908 'enable_viewport%': '<(enable_viewport)', 902 'enable_viewport%': '<(enable_viewport)',
909 'enable_hidpi%': '<(enable_hidpi)', 903 'enable_hidpi%': '<(enable_hidpi)',
910 'use_xi2_mt%':'<(use_xi2_mt)', 904 'use_xi2_mt%':'<(use_xi2_mt)',
911 'image_loader_extension%': '<(image_loader_extension)', 905 'image_loader_extension%': '<(image_loader_extension)',
912 'fastbuild%': '<(fastbuild)', 906 'fastbuild%': '<(fastbuild)',
913 'dcheck_always_on%': '<(dcheck_always_on)', 907 'dcheck_always_on%': '<(dcheck_always_on)',
914 'logging_like_official_build%': '<(logging_like_official_build)',
915 'tracing_like_official_build%': '<(tracing_like_official_build)', 908 'tracing_like_official_build%': '<(tracing_like_official_build)',
916 'python_ver%': '<(python_ver)', 909 'python_ver%': '<(python_ver)',
917 'arm_version%': '<(arm_version)', 910 'arm_version%': '<(arm_version)',
918 'arm_neon%': '<(arm_neon)', 911 'arm_neon%': '<(arm_neon)',
919 'arm_neon_optional%': '<(arm_neon_optional)', 912 'arm_neon_optional%': '<(arm_neon_optional)',
920 'sysroot%': '<(sysroot)', 913 'sysroot%': '<(sysroot)',
921 'chroot_cmd%': '<(chroot_cmd)', 914 'chroot_cmd%': '<(chroot_cmd)',
922 'system_libdir%': '<(system_libdir)', 915 'system_libdir%': '<(system_libdir)',
923 'component%': '<(component)', 916 'component%': '<(component)',
924 'use_titlecase_in_grd_files%': '<(use_titlecase_in_grd_files)', 917 'use_titlecase_in_grd_files%': '<(use_titlecase_in_grd_files)',
(...skipping 1428 matching lines...) Expand 10 before | Expand all | Expand 10 after
2353 'release_extra_cflags': '-g1', 2346 'release_extra_cflags': '-g1',
2354 }, 2347 },
2355 }], 2348 }],
2356 ], 2349 ],
2357 }], # clang!=1 2350 }], # clang!=1
2358 ], 2351 ],
2359 }], # fastbuild!=0 2352 }], # fastbuild!=0
2360 ['dcheck_always_on!=0', { 2353 ['dcheck_always_on!=0', {
2361 'defines': ['DCHECK_ALWAYS_ON=1'], 2354 'defines': ['DCHECK_ALWAYS_ON=1'],
2362 }], # dcheck_always_on!=0 2355 }], # dcheck_always_on!=0
2363 ['logging_like_official_build!=0', {
2364 'defines': ['LOGGING_IS_OFFICIAL_BUILD=1'],
2365 }], # logging_like_official_build!=0
2366 ['tracing_like_official_build!=0', { 2356 ['tracing_like_official_build!=0', {
2367 'defines': ['TRACING_IS_OFFICIAL_BUILD=1'], 2357 'defines': ['TRACING_IS_OFFICIAL_BUILD=1'],
2368 }], # tracing_like_official_build!=0 2358 }], # tracing_like_official_build!=0
2369 ['win_use_allocator_shim==0', { 2359 ['win_use_allocator_shim==0', {
2370 'conditions': [ 2360 'conditions': [
2371 ['OS=="win"', { 2361 ['OS=="win"', {
2372 'defines': ['NO_TCMALLOC'], 2362 'defines': ['NO_TCMALLOC'],
2373 }], 2363 }],
2374 ], 2364 ],
2375 }], 2365 }],
(...skipping 2677 matching lines...) Expand 10 before | Expand all | Expand 10 after
5053 # settings in target dicts. SYMROOT is a special case, because many other 5043 # settings in target dicts. SYMROOT is a special case, because many other
5054 # Xcode variables depend on it, including variables such as 5044 # Xcode variables depend on it, including variables such as
5055 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 5045 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
5056 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 5046 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
5057 # files to appear (when present) in the UI as actual files and not red 5047 # files to appear (when present) in the UI as actual files and not red
5058 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 5048 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
5059 # and therefore SYMROOT, needs to be set at the project level. 5049 # and therefore SYMROOT, needs to be set at the project level.
5060 'SYMROOT': '<(DEPTH)/xcodebuild', 5050 'SYMROOT': '<(DEPTH)/xcodebuild',
5061 }, 5051 },
5062 } 5052 }
OLDNEW
« no previous file with comments | « base/logging_unittest.cc ('k') | chrome/common/chrome_switches.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698