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

Side by Side Diff: build/common.gypi

Issue 1884023002: Implement Dump-on-DCHECK (via alternate DCHECK and DCHECK_OP macro implementations). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
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 704 matching lines...) Expand 10 before | Expand all | Expand 10 after
715 # Whether the entire browser uses toolkit-views on Mac instead of Cocoa. 715 # Whether the entire browser uses toolkit-views on Mac instead of Cocoa.
716 'mac_views_browser%': 0, 716 'mac_views_browser%': 0,
717 717
718 # By default, use ICU data file (icudtl.dat). 718 # By default, use ICU data file (icudtl.dat).
719 'icu_use_data_file_flag%': 1, 719 'icu_use_data_file_flag%': 1,
720 720
721 # Turn on JNI generation optimizations by default. 721 # Turn on JNI generation optimizations by default.
722 'optimize_jni_generation%': 1, 722 'optimize_jni_generation%': 1,
723 723
724 'conditions': [ 724 'conditions': [
725 # In Windows official builds, enable DCHECK as dump-without-crashing.
726 ['OS=="win" and buildtype=="Official"', {
727 'dcheck_always_on%': 1,
728 'dcheck_is_dump_without_crash': 1,
729 }, {
730 'dcheck_always_on%': 0,
731 'dcheck_is_dump_without_crash': 0,
732 }],
733
725 # A flag for POSIX platforms 734 # A flag for POSIX platforms
726 ['OS=="win"', { 735 ['OS=="win"', {
727 'os_posix%': 0, 736 'os_posix%': 0,
728 }, { 737 }, {
729 'os_posix%': 1, 738 'os_posix%': 1,
730 }], 739 }],
731 740
732 # A flag for BSD platforms 741 # A flag for BSD platforms
733 ['OS=="freebsd" or OS=="openbsd"', { 742 ['OS=="freebsd" or OS=="openbsd"', {
734 'os_bsd%': 1, 743 'os_bsd%': 1,
(...skipping 451 matching lines...) Expand 10 before | Expand all | Expand 10 after
1186 'is_cast_desktop_build%': '<(is_cast_desktop_build)', 1195 'is_cast_desktop_build%': '<(is_cast_desktop_build)',
1187 'enable_viewport%': '<(enable_viewport)', 1196 'enable_viewport%': '<(enable_viewport)',
1188 'enable_hidpi%': '<(enable_hidpi)', 1197 'enable_hidpi%': '<(enable_hidpi)',
1189 'enable_topchrome_md%': '<(enable_topchrome_md)', 1198 'enable_topchrome_md%': '<(enable_topchrome_md)',
1190 'enable_wayland_server%': '<(enable_wayland_server)', 1199 'enable_wayland_server%': '<(enable_wayland_server)',
1191 'enable_wifi_display%': '<(enable_wifi_display)', 1200 'enable_wifi_display%': '<(enable_wifi_display)',
1192 'image_loader_extension%': '<(image_loader_extension)', 1201 'image_loader_extension%': '<(image_loader_extension)',
1193 'fastbuild%': '<(fastbuild)', 1202 'fastbuild%': '<(fastbuild)',
1194 'win_z7%': '<(win_z7)', 1203 'win_z7%': '<(win_z7)',
1195 'dcheck_always_on%': '<(dcheck_always_on)', 1204 'dcheck_always_on%': '<(dcheck_always_on)',
1205 'dcheck_is_dump_without_crash%': '<(dcheck_is_dump_without_crash)',
1196 'tracing_like_official_build%': '<(tracing_like_official_build)', 1206 'tracing_like_official_build%': '<(tracing_like_official_build)',
1197 'fieldtrial_testing_like_official_build%': '<(fieldtrial_testing_like_offici al_build)', 1207 'fieldtrial_testing_like_official_build%': '<(fieldtrial_testing_like_offici al_build)',
1198 'arm_version%': '<(arm_version)', 1208 'arm_version%': '<(arm_version)',
1199 'arm_neon%': '<(arm_neon)', 1209 'arm_neon%': '<(arm_neon)',
1200 'arm_neon_optional%': '<(arm_neon_optional)', 1210 'arm_neon_optional%': '<(arm_neon_optional)',
1201 'sysroot%': '<(sysroot)', 1211 'sysroot%': '<(sysroot)',
1202 'use_sysroot%': '<(use_sysroot)', 1212 'use_sysroot%': '<(use_sysroot)',
1203 'pkg-config%': '<(pkg-config)', 1213 'pkg-config%': '<(pkg-config)',
1204 'chroot_cmd%': '<(chroot_cmd)', 1214 'chroot_cmd%': '<(chroot_cmd)',
1205 'system_libdir%': '<(system_libdir)', 1215 'system_libdir%': '<(system_libdir)',
(...skipping 1622 matching lines...) Expand 10 before | Expand all | Expand 10 after
2828 ['OS=="android" and fastbuild==1', { 2838 ['OS=="android" and fastbuild==1', {
2829 # TODO(thakis): Change this to -g1 once http://crbug.com/456947 is 2839 # TODO(thakis): Change this to -g1 once http://crbug.com/456947 is
2830 # fixed. 2840 # fixed.
2831 'variables': { 'release_extra_cflags': '-g0', }, 2841 'variables': { 'release_extra_cflags': '-g0', },
2832 }], 2842 }],
2833 ], 2843 ],
2834 }], # fastbuild!=0 2844 }], # fastbuild!=0
2835 ['dcheck_always_on!=0', { 2845 ['dcheck_always_on!=0', {
2836 'defines': ['DCHECK_ALWAYS_ON=1'], 2846 'defines': ['DCHECK_ALWAYS_ON=1'],
2837 }], # dcheck_always_on!=0 2847 }], # dcheck_always_on!=0
2848 ['dcheck_is_dump_without_crash!=0', {
2849 'defines': ['DCHECK_IS_DUMP_WITHOUT_CRASH=1'],
2850 }], # dcheck_is_dump_without_crash!=0
2838 ['tracing_like_official_build!=0', { 2851 ['tracing_like_official_build!=0', {
2839 'defines': ['TRACING_IS_OFFICIAL_BUILD=1'], 2852 'defines': ['TRACING_IS_OFFICIAL_BUILD=1'],
2840 }], # tracing_like_official_build!=0 2853 }], # tracing_like_official_build!=0
2841 ['fieldtrial_testing_like_official_build==0 and branding!="Chrome"', { 2854 ['fieldtrial_testing_like_official_build==0 and branding!="Chrome"', {
2842 'defines': ['FIELDTRIAL_TESTING_ENABLED'], 2855 'defines': ['FIELDTRIAL_TESTING_ENABLED'],
2843 }], # fieldtrial_testing_like_official_build==0 and branding!="Chrome" 2856 }], # fieldtrial_testing_like_official_build==0 and branding!="Chrome"
2844 ['OS=="win"', { 2857 ['OS=="win"', {
2845 'defines': ['NO_TCMALLOC'], 2858 'defines': ['NO_TCMALLOC'],
2846 }], 2859 }],
2847 ['asan==1', { 2860 ['asan==1', {
(...skipping 3517 matching lines...) Expand 10 before | Expand all | Expand 10 after
6365 # settings in target dicts. SYMROOT is a special case, because many other 6378 # settings in target dicts. SYMROOT is a special case, because many other
6366 # Xcode variables depend on it, including variables such as 6379 # Xcode variables depend on it, including variables such as
6367 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 6380 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
6368 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 6381 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
6369 # files to appear (when present) in the UI as actual files and not red 6382 # files to appear (when present) in the UI as actual files and not red
6370 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 6383 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
6371 # and therefore SYMROOT, needs to be set at the project level. 6384 # and therefore SYMROOT, needs to be set at the project level.
6372 'SYMROOT': '<(DEPTH)/xcodebuild', 6385 'SYMROOT': '<(DEPTH)/xcodebuild',
6373 }, 6386 },
6374 } 6387 }
OLDNEW
« base/logging.h ('K') | « base/logging_unittest.cc ('k') | build/config/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698