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

Side by Side Diff: build/common.gypi

Issue 8824003: Breakpad: Compile Breakpad into Chromium by default on Mac (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Split out mac_breakpad_symbols too Created 9 years 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/chrome.gyp » ('j') | ppapi/native_client/src/trusted/plugin/plugin.gyp » ('J')
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 702 matching lines...) Expand 10 before | Expand all | Expand 10 after
713 'use_system_libexpat%': '<(android_build_type)', 713 'use_system_libexpat%': '<(android_build_type)',
714 # Enable to use the system stlport, otherwise statically 714 # Enable to use the system stlport, otherwise statically
715 # link the NDK one? 715 # link the NDK one?
716 'use_system_stlport%': '<(android_build_type)', 716 'use_system_stlport%': '<(android_build_type)',
717 # Copy it out one scope. 717 # Copy it out one scope.
718 'android_build_type%': '<(android_build_type)', 718 'android_build_type%': '<(android_build_type)',
719 }], # OS=="android" 719 }], # OS=="android"
720 ['OS=="mac"', { 720 ['OS=="mac"', {
721 # Enable clang on mac by default! 721 # Enable clang on mac by default!
722 'clang%': 1, 722 'clang%': 1,
723 # Compile in Breakpad support by default so that it can be
724 # tested, even if it is not enabled by default at runtime.
725 'mac_breakpad%': 1,
723 'conditions': [ 726 'conditions': [
724 # mac_product_name is set to the name of the .app bundle as it should 727 # mac_product_name is set to the name of the .app bundle as it should
725 # appear on disk. This duplicates data from 728 # appear on disk. This duplicates data from
726 # chrome/app/theme/chromium/BRANDING and 729 # chrome/app/theme/chromium/BRANDING and
727 # chrome/app/theme/google_chrome/BRANDING, but is necessary to get 730 # chrome/app/theme/google_chrome/BRANDING, but is necessary to get
728 # these names into the build system. 731 # these names into the build system.
729 ['branding=="Chrome"', { 732 ['branding=="Chrome"', {
730 'mac_product_name%': 'Google Chrome', 733 'mac_product_name%': 'Google Chrome',
731 }, { # else: branding!="Chrome" 734 }, { # else: branding!="Chrome"
732 'mac_product_name%': 'Chromium', 735 'mac_product_name%': 'Chromium',
733 }], 736 }],
734 737
735 # Feature variables for enabling Mac Breakpad and Keystone auto-update 738 # Feature variables for enabling Keystone auto-update
736 # support. Both features are on by default in official builds with 739 # support and enabling uploading crash dumps in Mac
737 # Chrome branding. 740 # Breakpad. Both features are on by default in official
741 # builds with Chrome branding.
738 ['branding=="Chrome" and buildtype=="Official"', { 742 ['branding=="Chrome" and buildtype=="Official"', {
739 'mac_breakpad%': 1, 743 'mac_breakpad_uploads%': 1,
744 'mac_breakpad_symbols%': 1,
740 'mac_keystone%': 1, 745 'mac_keystone%': 1,
741 }, { # else: branding!="Chrome" or buildtype!="Official" 746 }, { # else: branding!="Chrome" or buildtype!="Official"
742 'mac_breakpad%': 0, 747 'mac_breakpad_uploads%': 0,
748 'mac_breakpad_symbols%': 0,
743 'mac_keystone%': 0, 749 'mac_keystone%': 0,
744 }], 750 }],
745 ], 751 ],
746 }], # OS=="mac" 752 }], # OS=="mac"
747 753
748 # Whether to use multiple cores to compile with visual studio. This is 754 # Whether to use multiple cores to compile with visual studio. This is
749 # optional because it sometimes causes corruption on VS 2005. 755 # optional because it sometimes causes corruption on VS 2005.
750 # It is on by default on VS 2008 and off on VS 2005. 756 # It is on by default on VS 2008 and off on VS 2005.
751 ['OS=="win"', { 757 ['OS=="win"', {
752 'conditions': [ 758 'conditions': [
(...skipping 1871 matching lines...) Expand 10 before | Expand all | Expand 10 after
2624 # settings in target dicts. SYMROOT is a special case, because many other 2630 # settings in target dicts. SYMROOT is a special case, because many other
2625 # Xcode variables depend on it, including variables such as 2631 # Xcode variables depend on it, including variables such as
2626 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 2632 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
2627 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 2633 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
2628 # files to appear (when present) in the UI as actual files and not red 2634 # files to appear (when present) in the UI as actual files and not red
2629 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 2635 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
2630 # and therefore SYMROOT, needs to be set at the project level. 2636 # and therefore SYMROOT, needs to be set at the project level.
2631 'SYMROOT': '<(DEPTH)/xcodebuild', 2637 'SYMROOT': '<(DEPTH)/xcodebuild',
2632 }, 2638 },
2633 } 2639 }
OLDNEW
« no previous file with comments | « no previous file | chrome/chrome.gyp » ('j') | ppapi/native_client/src/trusted/plugin/plugin.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698