OLD | NEW |
| (Empty) |
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 | |
3 # BSD-style license that can be found in the LICENSE file. | |
4 | |
5 { | |
6 'variables': { | |
7 # Mac OS X SDK and deployment target support. | |
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. | |
10 # "Maximum allowed" refers to the operating system version whose APIs are | |
11 # available in the headers. | |
12 # The deployment target identifies the minimum system version that the | |
13 # built products are expected to function on. It corresponds to the | |
14 # MAC_OS_X_VERSION_MIN_REQUIRED compile-time macro. | |
15 # To ensure these macros are available, #include <AvailabilityMacros.h>. | |
16 # Additional documentation on these macros is available at | |
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 | |
19 # deployment target to 10.5. Other projects, such as O3D, may override | |
20 # these defaults. | |
21 'mac_sdk%': '<!(python <(DEPTH)/tools/gyp/find_mac_sdk.py 10.8)', | |
22 'mac_deployment_target%': '10.8', | |
23 }, | |
24 'xcode_settings': { | |
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 | |
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. | |
29 | |
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 | |
32 # configured SDK to show properly in the Xcode UI, SDKROOT must be set | |
33 # here at the project level. | |
34 'SDKROOT': 'macosx<(mac_sdk)', # -isysroot | |
35 | |
36 # The Xcode generator will look for an xcode_settings section at the root | |
37 # of each dict and use it to apply settings on a file-wide basis. Most | |
38 # settings should not be here, they should be in target-specific | |
39 # xcode_settings sections, or better yet, should use non-Xcode-specific | |
40 # settings in target dicts. SYMROOT is a special case, because many other | |
41 # Xcode variables depend on it, including variables such as | |
42 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | |
43 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | |
44 # files to appear (when present) in the UI as actual files and not red | |
45 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | |
46 # and therefore SYMROOT, needs to be set at the project level. | |
47 'SYMROOT': '<(DEPTH)/xcodebuild', | |
48 | |
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, | |
51 # this may not be appropriate for "release release" builds. | |
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 | |
54 'INSTALL_PATH': '$(TARGET_BUILD_DIR)', | |
55 | |
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 | |
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. | |
60 'MACOSX_DEPLOYMENT_TARGET': '<(mac_deployment_target)', | |
61 }, | |
62 } | |
OLD | NEW |