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

Side by Side Diff: build/common.gypi

Issue 10407058: Compile in Breakpad by default on Linux (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add #ifdef to chrome/browser/chromeos/login/wizard_controller.cc too Created 7 years, 11 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 | chrome/browser/chrome_browser_main_android.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 835 matching lines...) Expand 10 before | Expand all | Expand 10 after
846 846
847 # The default type of gtest. 847 # The default type of gtest.
848 'gtest_target_type%': 'executable', 848 'gtest_target_type%': 'executable',
849 849
850 # Enable sampling based profiler. 850 # Enable sampling based profiler.
851 # See http://google-perftools.googlecode.com/svn/trunk/doc/cpuprofile.html 851 # See http://google-perftools.googlecode.com/svn/trunk/doc/cpuprofile.html
852 'profiling%': '0', 852 'profiling%': '0',
853 853
854 # Enable strict glibc debug mode. 854 # Enable strict glibc debug mode.
855 'glibcxx_debug%': 0, 855 'glibcxx_debug%': 0,
856 856 # Compile in Breakpad support by default so that it can be tested,
857 # Override whether we should use Breakpad on Linux. I.e. for Chrome bot. 857 # even if it not enabled by default at runtime.
858 'linux_breakpad%': 0, 858 'linux_breakpad%': 1,
859 # And if we want to dump symbols for Breakpad-enabled builds. 859 # And if we want to dump symbols for Breakpad-enabled builds.
860 'linux_dump_symbols%': 0, 860 'linux_dump_symbols%': 0,
861 # And if we want to strip the binary after dumping symbols. 861 # And if we want to strip the binary after dumping symbols.
862 'linux_strip_binary%': 0, 862 'linux_strip_binary%': 0,
863 # Strip the test binaries needed for Linux reliability tests. 863 # Strip the test binaries needed for Linux reliability tests.
864 'linux_strip_reliability_tests%': 0, 864 'linux_strip_reliability_tests%': 0,
865 865
866 # Enable TCMalloc. 866 # Enable TCMalloc.
867 'linux_use_tcmalloc%': 1, 867 'linux_use_tcmalloc%': 1,
868 868
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
1011 'conditions': [ 1011 'conditions': [
1012 # TODO(glider): set clang to 1 earlier for ASan and TSan builds so 1012 # TODO(glider): set clang to 1 earlier for ASan and TSan builds so
1013 # that it takes effect here. 1013 # that it takes effect here.
1014 ['clang==0 and asan==0 and tsan==0', { 1014 ['clang==0 and asan==0 and tsan==0', {
1015 # This will set gcc_version to XY if you are running gcc X.Y.*. 1015 # This will set gcc_version to XY if you are running gcc X.Y.*.
1016 # This is used to tweak build flags for gcc 4.5. 1016 # This is used to tweak build flags for gcc 4.5.
1017 'gcc_version%': '<!(python <(DEPTH)/build/compiler_version.py)', 1017 'gcc_version%': '<!(python <(DEPTH)/build/compiler_version.py)',
1018 }, { 1018 }, {
1019 'gcc_version%': 0, 1019 'gcc_version%': 0,
1020 }], 1020 }],
1021 ['branding=="Chrome"', {
1022 'linux_breakpad%': 1,
1023 }],
1024 # All Chrome builds have breakpad symbols, but only process the 1021 # All Chrome builds have breakpad symbols, but only process the
1025 # symbols from official builds. 1022 # symbols from official builds.
1026 ['(branding=="Chrome" and buildtype=="Official")', { 1023 ['(branding=="Chrome" and buildtype=="Official")', {
1027 'linux_dump_symbols%': 1, 1024 'linux_dump_symbols%': 1,
1028 }], 1025 }],
1029 ], 1026 ],
1030 }], # os_posix==1 and OS!="mac" and OS!="ios" 1027 }], # os_posix==1 and OS!="mac" and OS!="ios"
1031 ['OS=="ios"', { 1028 ['OS=="ios"', {
1032 'disable_nacl%': 1, 1029 'disable_nacl%': 1,
1033 'enable_background%': 0, 1030 'enable_background%': 0,
(...skipping 1758 matching lines...) Expand 10 before | Expand all | Expand 10 after
2792 'cflags': [ 2789 'cflags': [
2793 '-finstrument-functions', 2790 '-finstrument-functions',
2794 # Allow mmx intrinsics to inline, so that the 2791 # Allow mmx intrinsics to inline, so that the
2795 # compiler can expand the intrinsics. 2792 # compiler can expand the intrinsics.
2796 '-finstrument-functions-exclude-file-list=mmintrin.h', 2793 '-finstrument-functions-exclude-file-list=mmintrin.h',
2797 ], 2794 ],
2798 }], 2795 }],
2799 ], 2796 ],
2800 }], 2797 }],
2801 ['linux_breakpad==1', { 2798 ['linux_breakpad==1', {
2799 'defines': ['USE_LINUX_BREAKPAD'],
2800 }],
2801 ['linux_dump_symbols==1', {
2802 'cflags': [ '-g' ], 2802 'cflags': [ '-g' ],
2803 'defines': ['USE_LINUX_BREAKPAD'],
2804 'conditions': [ 2803 'conditions': [
2805 ['target_arch=="ia32"', { 2804 ['target_arch=="ia32"', {
2806 'target_conditions': [ 2805 'target_conditions': [
2807 ['_toolset=="target"', { 2806 ['_toolset=="target"', {
2808 'ldflags': [ 2807 'ldflags': [
2809 # Workaround for linker OOM. http://crbug.com/160253. 2808 # Workaround for linker OOM. http://crbug.com/160253.
2810 '-Wl,--no-keep-files-mapped', 2809 '-Wl,--no-keep-files-mapped',
2811 ], 2810 ],
2812 }], 2811 }],
2813 ], 2812 ],
(...skipping 1147 matching lines...) Expand 10 before | Expand all | Expand 10 after
3961 # settings in target dicts. SYMROOT is a special case, because many other 3960 # settings in target dicts. SYMROOT is a special case, because many other
3962 # Xcode variables depend on it, including variables such as 3961 # Xcode variables depend on it, including variables such as
3963 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 3962 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
3964 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 3963 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
3965 # files to appear (when present) in the UI as actual files and not red 3964 # files to appear (when present) in the UI as actual files and not red
3966 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 3965 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
3967 # and therefore SYMROOT, needs to be set at the project level. 3966 # and therefore SYMROOT, needs to be set at the project level.
3968 'SYMROOT': '<(DEPTH)/xcodebuild', 3967 'SYMROOT': '<(DEPTH)/xcodebuild',
3969 }, 3968 },
3970 } 3969 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chrome_browser_main_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698