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

Side by Side Diff: build/common.gypi

Issue 7664007: Add _GLIBCXX_DEBUG compilation mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 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 | « no previous file | no next file » | 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) 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 404 matching lines...) Expand 10 before | Expand all | Expand 10 after
415 # Example: 415 # Example:
416 # GYP_DEFINES='clang=1 clang_load=/abs/path/to/libPrintFunctionNames.dyl ib clang_add_plugin=print-fns' gclient runhooks 416 # GYP_DEFINES='clang=1 clang_load=/abs/path/to/libPrintFunctionNames.dyl ib clang_add_plugin=print-fns' gclient runhooks
417 417
418 'clang_load%': '', 418 'clang_load%': '',
419 'clang_add_plugin%': '', 419 'clang_add_plugin%': '',
420 420
421 # Enable sampling based profiler. 421 # Enable sampling based profiler.
422 # See http://google-perftools.googlecode.com/svn/trunk/doc/cpuprofile.html 422 # See http://google-perftools.googlecode.com/svn/trunk/doc/cpuprofile.html
423 'profiling%': '0', 423 'profiling%': '0',
424 424
425 # Enable strict glibc debug mode.
426 'glibcxx_debug%': 0,
427
425 # Override whether we should use Breakpad on Linux. I.e. for Chrome bot. 428 # Override whether we should use Breakpad on Linux. I.e. for Chrome bot.
426 'linux_breakpad%': 0, 429 'linux_breakpad%': 0,
427 # And if we want to dump symbols for Breakpad-enabled builds. 430 # And if we want to dump symbols for Breakpad-enabled builds.
428 'linux_dump_symbols%': 0, 431 'linux_dump_symbols%': 0,
429 # And if we want to strip the binary after dumping symbols. 432 # And if we want to strip the binary after dumping symbols.
430 'linux_strip_binary%': 0, 433 'linux_strip_binary%': 0,
431 # Strip the test binaries needed for Linux reliability tests. 434 # Strip the test binaries needed for Linux reliability tests.
432 'linux_strip_reliability_tests%': 0, 435 'linux_strip_reliability_tests%': 0,
433 436
434 # Enable TCMalloc. 437 # Enable TCMalloc.
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after
778 }], 781 }],
779 ['file_manager_extension==1', { 782 ['file_manager_extension==1', {
780 'defines': ['FILE_MANAGER_EXTENSION=1'], 783 'defines': ['FILE_MANAGER_EXTENSION=1'],
781 }], 784 }],
782 ['webui_task_manager==1', { 785 ['webui_task_manager==1', {
783 'defines': ['WEBUI_TASK_MANAGER=1'], 786 'defines': ['WEBUI_TASK_MANAGER=1'],
784 }], 787 }],
785 ['profiling==1', { 788 ['profiling==1', {
786 'defines': ['ENABLE_PROFILING=1'], 789 'defines': ['ENABLE_PROFILING=1'],
787 }], 790 }],
791 ['OS=="linux" and glibcxx_debug==1', {
792 'defines': ['_GLIBCXX_DEBUG=1',],
793 'cflags_cc!': ['-fno-rtti'],
794 'cflags_cc+': ['-frtti', '-g'],
795 }],
788 ['remoting==1', { 796 ['remoting==1', {
789 'defines': ['ENABLE_REMOTING=1'], 797 'defines': ['ENABLE_REMOTING=1'],
790 }], 798 }],
791 ['p2p_apis==1', { 799 ['p2p_apis==1', {
792 'defines': ['ENABLE_P2P_APIS=1'], 800 'defines': ['ENABLE_P2P_APIS=1'],
793 }], 801 }],
794 ['proprietary_codecs==1', { 802 ['proprietary_codecs==1', {
795 'defines': ['USE_PROPRIETARY_CODECS'], 803 'defines': ['USE_PROPRIETARY_CODECS'],
796 }], 804 }],
797 ['enable_flapper_hacks==1', { 805 ['enable_flapper_hacks==1', {
(...skipping 1180 matching lines...) Expand 10 before | Expand all | Expand 10 after
1978 # settings in target dicts. SYMROOT is a special case, because many other 1986 # settings in target dicts. SYMROOT is a special case, because many other
1979 # Xcode variables depend on it, including variables such as 1987 # Xcode variables depend on it, including variables such as
1980 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 1988 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
1981 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 1989 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
1982 # files to appear (when present) in the UI as actual files and not red 1990 # files to appear (when present) in the UI as actual files and not red
1983 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 1991 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
1984 # and therefore SYMROOT, needs to be set at the project level. 1992 # and therefore SYMROOT, needs to be set at the project level.
1985 'SYMROOT': '<(DEPTH)/xcodebuild', 1993 'SYMROOT': '<(DEPTH)/xcodebuild',
1986 }, 1994 },
1987 } 1995 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698