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

Side by Side Diff: build/common.gypi

Issue 10824055: mac: Let mac_sdk default to the oldest available SDK that's at least 10.6 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: totally Created 8 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 | build/mac/find_sdk.py » ('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 620 matching lines...) Expand 10 before | Expand all | Expand 10 after
631 # built products are expected to function on. It corresponds to the 631 # built products are expected to function on. It corresponds to the
632 # MAC_OS_X_VERSION_MIN_REQUIRED compile-time macro. 632 # MAC_OS_X_VERSION_MIN_REQUIRED compile-time macro.
633 # To ensure these macros are available, #include <AvailabilityMacros.h>. 633 # To ensure these macros are available, #include <AvailabilityMacros.h>.
634 # Additional documentation on these macros is available at 634 # Additional documentation on these macros is available at
635 # http://developer.apple.com/mac/library/technotes/tn2002/tn2064.html#SECTIO N3 635 # http://developer.apple.com/mac/library/technotes/tn2002/tn2064.html#SECTIO N3
636 # Chrome normally builds with the Mac OS X 10.6 SDK and sets the 636 # Chrome normally builds with the Mac OS X 10.6 SDK and sets the
637 # deployment target to 10.5. Other projects, such as O3D, may override 637 # deployment target to 10.5. Other projects, such as O3D, may override
638 # these defaults. If the SDK is installed someplace that Xcode doesn't 638 # these defaults. If the SDK is installed someplace that Xcode doesn't
639 # know about, set mac_sdk_path to the path to the SDK. If set to a 639 # know about, set mac_sdk_path to the path to the SDK. If set to a
640 # non-empty string, mac_sdk_path will be used in preference to mac_sdk. 640 # non-empty string, mac_sdk_path will be used in preference to mac_sdk.
641 'mac_sdk%': '10.6', 641 # mac_sdk gets its default value elsewhere in this file.
642 'mac_sdk_path%': '', 642 'mac_sdk_path%': '',
643 'mac_deployment_target%': '10.5', 643 'mac_deployment_target%': '10.5',
644 644
645 # The default value for mac_strip in target_defaults. This cannot be 645 # The default value for mac_strip in target_defaults. This cannot be
646 # set there, per the comment about variable% in a target_defaults. 646 # set there, per the comment about variable% in a target_defaults.
647 'mac_strip_release%': 1, 647 'mac_strip_release%': 1,
648 648
649 # Set to 1 to enable code coverage. In addition to build changes 649 # Set to 1 to enable code coverage. In addition to build changes
650 # (e.g. extra CFLAGS), also creates a new target in the src/chrome 650 # (e.g. extra CFLAGS), also creates a new target in the src/chrome
651 # project file called "coverage". 651 # project file called "coverage".
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after
1012 # chrome/app/theme/chromium/BRANDING and 1012 # chrome/app/theme/chromium/BRANDING and
1013 # chrome/app/theme/google_chrome/BRANDING, but is necessary to get 1013 # chrome/app/theme/google_chrome/BRANDING, but is necessary to get
1014 # these names into the build system. 1014 # these names into the build system.
1015 ['branding=="Chrome"', { 1015 ['branding=="Chrome"', {
1016 'mac_product_name%': 'Google Chrome', 1016 'mac_product_name%': 'Google Chrome',
1017 }, { # else: branding!="Chrome" 1017 }, { # else: branding!="Chrome"
1018 'mac_product_name%': 'Chromium', 1018 'mac_product_name%': 'Chromium',
1019 }], 1019 }],
1020 1020
1021 ['branding=="Chrome" and buildtype=="Official"', { 1021 ['branding=="Chrome" and buildtype=="Official"', {
1022 'mac_sdk%': '10.6',
1022 # Enable uploading crash dumps. 1023 # Enable uploading crash dumps.
1023 'mac_breakpad_uploads%': 1, 1024 'mac_breakpad_uploads%': 1,
1024 # Enable dumping symbols at build time for use by Mac Breakpad. 1025 # Enable dumping symbols at build time for use by Mac Breakpad.
1025 'mac_breakpad%': 1, 1026 'mac_breakpad%': 1,
1026 # Enable Keystone auto-update support. 1027 # Enable Keystone auto-update support.
1027 'mac_keystone%': 1, 1028 'mac_keystone%': 1,
1028 }, { # else: branding!="Chrome" or buildtype!="Official" 1029 }, { # else: branding!="Chrome" or buildtype!="Official"
1030 'mac_sdk%': '<!(python mac/find_sdk.py 10.6)',
1029 'mac_breakpad_uploads%': 0, 1031 'mac_breakpad_uploads%': 0,
1030 'mac_breakpad%': 0, 1032 'mac_breakpad%': 0,
1031 'mac_keystone%': 0, 1033 'mac_keystone%': 0,
1032 }], 1034 }],
1033 ], 1035 ],
1034 }], # OS=="mac" 1036 }], # OS=="mac"
1035 1037
1036 ['OS=="win"', { 1038 ['OS=="win"', {
1037 'conditions': [ 1039 'conditions': [
1038 ['component=="shared_library"', { 1040 ['component=="shared_library"', {
(...skipping 2291 matching lines...) Expand 10 before | Expand all | Expand 10 after
3330 # settings in target dicts. SYMROOT is a special case, because many other 3332 # settings in target dicts. SYMROOT is a special case, because many other
3331 # Xcode variables depend on it, including variables such as 3333 # Xcode variables depend on it, including variables such as
3332 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 3334 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
3333 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 3335 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
3334 # files to appear (when present) in the UI as actual files and not red 3336 # files to appear (when present) in the UI as actual files and not red
3335 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 3337 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
3336 # and therefore SYMROOT, needs to be set at the project level. 3338 # and therefore SYMROOT, needs to be set at the project level.
3337 'SYMROOT': '<(DEPTH)/xcodebuild', 3339 'SYMROOT': '<(DEPTH)/xcodebuild',
3338 }, 3340 },
3339 } 3341 }
OLDNEW
« no previous file with comments | « no previous file | build/mac/find_sdk.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698