| OLD | NEW |
| 1 # Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 # Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 2 # for details. All rights reserved. Use of this source code is governed by a | 2 # for details. All rights reserved. Use of this source code is governed by a |
| 3 # BSD-style license that can be found in the LICENSE file. | 3 # BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 { | 5 { |
| 6 'variables': { | 6 'variables': { |
| 7 # Mac OS X SDK and deployment target support. | 7 # Mac OS X SDK and deployment target support. |
| 8 # The SDK identifies the version of the system headers that will be used, | 8 # The SDK identifies the version of the system headers that will be used, |
| 9 # and corresponds to the MAC_OS_X_VERSION_MAX_ALLOWED compile-time macro. | 9 # and corresponds to the MAC_OS_X_VERSION_MAX_ALLOWED compile-time macro. |
| 10 # "Maximum allowed" refers to the operating system version whose APIs are | 10 # "Maximum allowed" refers to the operating system version whose APIs are |
| 11 # available in the headers. | 11 # available in the headers. |
| 12 # The deployment target identifies the minimum system version that the | 12 # The deployment target identifies the minimum system version that the |
| 13 # built products are expected to function on. It corresponds to the | 13 # built products are expected to function on. It corresponds to the |
| 14 # MAC_OS_X_VERSION_MIN_REQUIRED compile-time macro. | 14 # MAC_OS_X_VERSION_MIN_REQUIRED compile-time macro. |
| 15 # To ensure these macros are available, #include <AvailabilityMacros.h>. | 15 # To ensure these macros are available, #include <AvailabilityMacros.h>. |
| 16 # Additional documentation on these macros is available at | 16 # Additional documentation on these macros is available at |
| 17 # http://developer.apple.com/mac/library/technotes/tn2002/tn2064.html#SECTIO
N3 | 17 # http://developer.apple.com/mac/library/technotes/tn2002/tn2064.html#SECTIO
N3 |
| 18 # Chrome normally builds with the Mac OS X 10.5 SDK and sets the | 18 # Chrome normally builds with the Mac OS X 10.5 SDK and sets the |
| 19 # deployment target to 10.5. Other projects, such as O3D, may override | 19 # deployment target to 10.5. Other projects, such as O3D, may override |
| 20 # these defaults. | 20 # these defaults. |
| 21 'mac_sdk%': '<!(python <(DEPTH)/tools/gyp/find_mac_sdk.py 10.7)', | 21 'mac_sdk%': '<!(python <(DEPTH)/tools/gyp/find_mac_sdk.py 10.8)', |
| 22 'mac_deployment_target%': '10.7', | 22 'mac_deployment_target%': '10.8', |
| 23 }, | 23 }, |
| 24 'xcode_settings': { | 24 'xcode_settings': { |
| 25 # DON'T ADD ANYTHING NEW TO THIS BLOCK UNLESS YOU REALLY REALLY NEED IT! | 25 # DON'T ADD ANYTHING NEW TO THIS BLOCK UNLESS YOU REALLY REALLY NEED IT! |
| 26 # This block adds *project-wide* configuration settings to each project | 26 # This block adds *project-wide* configuration settings to each project |
| 27 # file. It's almost always wrong to put things here. Specify your | 27 # file. It's almost always wrong to put things here. Specify your |
| 28 # custom xcode_settings in target_defaults to add them to targets instead. | 28 # custom xcode_settings in target_defaults to add them to targets instead. |
| 29 | 29 |
| 30 # In an Xcode Project Info window, the "Base SDK for All Configurations" | 30 # In an Xcode Project Info window, the "Base SDK for All Configurations" |
| 31 # setting sets the SDK on a project-wide basis. In order to get the | 31 # setting sets the SDK on a project-wide basis. In order to get the |
| 32 # configured SDK to show properly in the Xcode UI, SDKROOT must be set | 32 # configured SDK to show properly in the Xcode UI, SDKROOT must be set |
| (...skipping 20 matching lines...) Expand all Loading... |
| 53 # http://developer.apple.com/library/mac/#documentation/DeveloperTools/Conce
ptual/DynamicLibraries/100-Articles/RunpathDependentLibraries.html#//apple_ref/d
oc/uid/TP40008306-SW1 | 53 # http://developer.apple.com/library/mac/#documentation/DeveloperTools/Conce
ptual/DynamicLibraries/100-Articles/RunpathDependentLibraries.html#//apple_ref/d
oc/uid/TP40008306-SW1 |
| 54 'INSTALL_PATH': '$(TARGET_BUILD_DIR)', | 54 'INSTALL_PATH': '$(TARGET_BUILD_DIR)', |
| 55 | 55 |
| 56 # This must go here because mac_deployment_target is defined in this file, | 56 # This must go here because mac_deployment_target is defined in this file, |
| 57 # which is only included on mac, and configurations_xcode.gypi is included | 57 # which is only included on mac, and configurations_xcode.gypi is included |
| 58 # on all platforms, so it would be an undefined variable there. | 58 # on all platforms, so it would be an undefined variable there. |
| 59 # Move this to configurations_xcode if we start including it only on mac. | 59 # Move this to configurations_xcode if we start including it only on mac. |
| 60 'MACOSX_DEPLOYMENT_TARGET': '<(mac_deployment_target)', | 60 'MACOSX_DEPLOYMENT_TARGET': '<(mac_deployment_target)', |
| 61 }, | 61 }, |
| 62 } | 62 } |
| OLD | NEW |