| 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%': '10.5', | 21 'mac_sdk%': '<!(python <(DEPTH)/tools/gyp/find_mac_sdk.py 10.6)', |
| 22 'mac_deployment_target%': '10.5', | 22 'mac_deployment_target%': '10.6', |
| 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 14 matching lines...) Expand all Loading... |
| 47 'SYMROOT': '<(DEPTH)/xcodebuild', | 47 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 48 | 48 |
| 49 # It is here to make it possible to run binaries with shared libraries. | 49 # It is here to make it possible to run binaries with shared libraries. |
| 50 # However, it may create problems if you move the shared library. Also, | 50 # However, it may create problems if you move the shared library. Also, |
| 51 # this may not be appropriate for "release release" builds. | 51 # this may not be appropriate for "release release" builds. |
| 52 # Perhaps we should set it to @rpath instead. See | 52 # Perhaps we should set it to @rpath instead. See |
| 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 } | 56 } |
| OLD | NEW |