OLD | NEW |
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 Loading... |
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_compiled_in%': 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 | |
736 # support. Both features are on by default in official builds with | |
737 # Chrome branding. | |
738 ['branding=="Chrome" and buildtype=="Official"', { | 738 ['branding=="Chrome" and buildtype=="Official"', { |
| 739 # Enable uploading crash dumps. |
| 740 'mac_breakpad_uploads%': 1, |
| 741 # Enable dumping symbols at build time for use by Mac Breakpad. |
739 'mac_breakpad%': 1, | 742 'mac_breakpad%': 1, |
| 743 # Enable Keystone auto-update support. |
740 'mac_keystone%': 1, | 744 'mac_keystone%': 1, |
741 }, { # else: branding!="Chrome" or buildtype!="Official" | 745 }, { # else: branding!="Chrome" or buildtype!="Official" |
| 746 'mac_breakpad_uploads%': 0, |
742 'mac_breakpad%': 0, | 747 'mac_breakpad%': 0, |
743 'mac_keystone%': 0, | 748 'mac_keystone%': 0, |
744 }], | 749 }], |
745 ], | 750 ], |
746 }], # OS=="mac" | 751 }], # OS=="mac" |
747 | 752 |
748 # Whether to use multiple cores to compile with visual studio. This is | 753 # Whether to use multiple cores to compile with visual studio. This is |
749 # optional because it sometimes causes corruption on VS 2005. | 754 # optional because it sometimes causes corruption on VS 2005. |
750 # It is on by default on VS 2008 and off on VS 2005. | 755 # It is on by default on VS 2008 and off on VS 2005. |
751 ['OS=="win"', { | 756 ['OS=="win"', { |
(...skipping 1914 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2666 # settings in target dicts. SYMROOT is a special case, because many other | 2671 # settings in target dicts. SYMROOT is a special case, because many other |
2667 # Xcode variables depend on it, including variables such as | 2672 # Xcode variables depend on it, including variables such as |
2668 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 2673 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
2669 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 2674 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
2670 # files to appear (when present) in the UI as actual files and not red | 2675 # files to appear (when present) in the UI as actual files and not red |
2671 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 2676 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
2672 # and therefore SYMROOT, needs to be set at the project level. | 2677 # and therefore SYMROOT, needs to be set at the project level. |
2673 'SYMROOT': '<(DEPTH)/xcodebuild', | 2678 'SYMROOT': '<(DEPTH)/xcodebuild', |
2674 }, | 2679 }, |
2675 } | 2680 } |
OLD | NEW |