Allow Xcode to change paths to frameworks based on whether a device or simulator was selected.
R=caryclark@google.com Review URL: https://codereview.appspot.com/6590068 git-svn-id: http://skia.googlecode.com/svn/trunk@5802 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
7cc7f49479
commit
4663822bc9
@ -247,15 +247,15 @@
|
||||
],
|
||||
'link_settings': {
|
||||
'libraries': [
|
||||
'<(ios_sdk_dir)<(ios_sdk_version).sdk/System/Library/Frameworks/CoreFoundation.framework',
|
||||
'<(ios_sdk_dir)<(ios_sdk_version).sdk/System/Library/Frameworks/CoreGraphics.framework',
|
||||
'<(ios_sdk_dir)<(ios_sdk_version).sdk/System/Library/Frameworks/CoreText.framework',
|
||||
'<(ios_sdk_dir)<(ios_sdk_version).sdk/System/Library/Frameworks/UIKit.framework',
|
||||
'<(ios_sdk_dir)<(ios_sdk_version).sdk/System/Library/Frameworks/Foundation.framework',
|
||||
'<(ios_sdk_dir)<(ios_sdk_version).sdk/System/Library/Frameworks/QuartzCore.framework',
|
||||
'<(ios_sdk_dir)<(ios_sdk_version).sdk/System/Library/Frameworks/OpenGLES.framework',
|
||||
'<(ios_sdk_dir)<(ios_sdk_version).sdk/System/Library/Frameworks/ImageIO.framework',
|
||||
'<(ios_sdk_dir)<(ios_sdk_version).sdk/System/Library/Frameworks/MobileCoreServices.framework',
|
||||
'$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework',
|
||||
'$(SDKROOT)/System/Library/Frameworks/CoreGraphics.framework',
|
||||
'$(SDKROOT)/System/Library/Frameworks/CoreText.framework',
|
||||
'$(SDKROOT)/System/Library/Frameworks/UIKit.framework',
|
||||
'$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
|
||||
'$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework',
|
||||
'$(SDKROOT)/System/Library/Frameworks/OpenGLES.framework',
|
||||
'$(SDKROOT)/System/Library/Frameworks/ImageIO.framework',
|
||||
'$(SDKROOT)/System/Library/Frameworks/MobileCoreServices.framework',
|
||||
],
|
||||
},
|
||||
'include_dirs' : [
|
||||
|
@ -39,12 +39,12 @@
|
||||
],
|
||||
'link_settings': {
|
||||
'libraries': [
|
||||
'<(ios_sdk_dir)<(ios_sdk_version).sdk/System/Library/Frameworks/CoreGraphics.framework',
|
||||
'<(ios_sdk_dir)<(ios_sdk_version).sdk/System/Library/Frameworks/CoreText.framework',
|
||||
'<(ios_sdk_dir)<(ios_sdk_version).sdk/System/Library/Frameworks/Foundation.framework',
|
||||
'<(ios_sdk_dir)<(ios_sdk_version).sdk/System/Library/Frameworks/ImageIO.framework',
|
||||
'<(ios_sdk_dir)<(ios_sdk_version).sdk/System/Library/Frameworks/MobileCoreServices.framework',
|
||||
'<(ios_sdk_dir)<(ios_sdk_version).sdk/System/Library/Frameworks/UIKit.framework',
|
||||
'$(SDKROOT)/System/Library/Frameworks/CoreGraphics.framework',
|
||||
'$(SDKROOT)/System/Library/Frameworks/CoreText.framework',
|
||||
'$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
|
||||
'$(SDKROOT)/System/Library/Frameworks/ImageIO.framework',
|
||||
'$(SDKROOT)/System/Library/Frameworks/MobileCoreServices.framework',
|
||||
'$(SDKROOT)/System/Library/Frameworks/UIKit.framework',
|
||||
],
|
||||
'libraries!': [
|
||||
#remove mac dependencies
|
||||
|
@ -49,12 +49,12 @@
|
||||
],
|
||||
'link_settings': {
|
||||
'libraries': [
|
||||
'<(ios_sdk_dir)<(ios_sdk_version).sdk/System/Library/Frameworks/CoreGraphics.framework',
|
||||
'<(ios_sdk_dir)<(ios_sdk_version).sdk/System/Library/Frameworks/CoreText.framework',
|
||||
'<(ios_sdk_dir)<(ios_sdk_version).sdk/System/Library/Frameworks/Foundation.framework',
|
||||
'<(ios_sdk_dir)<(ios_sdk_version).sdk/System/Library/Frameworks/ImageIO.framework',
|
||||
'<(ios_sdk_dir)<(ios_sdk_version).sdk/System/Library/Frameworks/MobileCoreServices.framework',
|
||||
'<(ios_sdk_dir)<(ios_sdk_version).sdk/System/Library/Frameworks/UIKit.framework',
|
||||
'$(SDKROOT)/System/Library/Frameworks/CoreGraphics.framework',
|
||||
'$(SDKROOT)/System/Library/Frameworks/CoreText.framework',
|
||||
'$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
|
||||
'$(SDKROOT)/System/Library/Frameworks/ImageIO.framework',
|
||||
'$(SDKROOT)/System/Library/Frameworks/MobileCoreServices.framework',
|
||||
'$(SDKROOT)/System/Library/Frameworks/UIKit.framework',
|
||||
],
|
||||
},
|
||||
'xcode_config_file': '../experimental/iOSSampleApp/SkiOSSampleApp-Base.xcconfig',
|
||||
|
@ -77,8 +77,6 @@
|
||||
'android_make_apk%': 1,
|
||||
'skia_nacl%': 0,
|
||||
'skia_gpu%': 1,
|
||||
'ios_sdk_dir%': '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS',
|
||||
'ios_sdk_version%': '6.0',
|
||||
'skia_osx_sdkroot%': 'macosx10.6',
|
||||
},
|
||||
|
||||
@ -97,8 +95,7 @@
|
||||
'skia_gpu%': '<(skia_gpu)',
|
||||
'skia_osx_sdkroot%': '<(skia_osx_sdkroot)',
|
||||
'skia_static_initializers%': '<(skia_static_initializers)',
|
||||
'ios_sdk_version%': '<(ios_sdk_version)',
|
||||
'ios_sdk_dir%': '<(ios_sdk_dir)',
|
||||
'ios_sdk_version%': '6.0',
|
||||
|
||||
'conditions': [
|
||||
['skia_os == "ios"', {
|
||||
|
18
gyp/core.gyp
18
gyp/core.gyp
@ -58,15 +58,15 @@
|
||||
],
|
||||
'link_settings': {
|
||||
'libraries': [
|
||||
'<(ios_sdk_dir)<(ios_sdk_version).sdk/System/Library/Frameworks/CoreFoundation.framework',
|
||||
'<(ios_sdk_dir)<(ios_sdk_version).sdk/System/Library/Frameworks/CoreGraphics.framework',
|
||||
'<(ios_sdk_dir)<(ios_sdk_version).sdk/System/Library/Frameworks/CoreText.framework',
|
||||
'<(ios_sdk_dir)<(ios_sdk_version).sdk/System/Library/Frameworks/UIKit.framework',
|
||||
'<(ios_sdk_dir)<(ios_sdk_version).sdk/System/Library/Frameworks/Foundation.framework',
|
||||
'<(ios_sdk_dir)<(ios_sdk_version).sdk/System/Library/Frameworks/QuartzCore.framework',
|
||||
'<(ios_sdk_dir)<(ios_sdk_version).sdk/System/Library/Frameworks/OpenGLES.framework',
|
||||
'<(ios_sdk_dir)<(ios_sdk_version).sdk/System/Library/Frameworks/ImageIO.framework',
|
||||
'<(ios_sdk_dir)<(ios_sdk_version).sdk/System/Library/Frameworks/MobileCoreServices.framework',
|
||||
'$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework',
|
||||
'$(SDKROOT)/System/Library/Frameworks/CoreGraphics.framework',
|
||||
'$(SDKROOT)/System/Library/Frameworks/CoreText.framework',
|
||||
'$(SDKROOT)/System/Library/Frameworks/UIKit.framework',
|
||||
'$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
|
||||
'$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework',
|
||||
'$(SDKROOT)/System/Library/Frameworks/OpenGLES.framework',
|
||||
'$(SDKROOT)/System/Library/Frameworks/ImageIO.framework',
|
||||
'$(SDKROOT)/System/Library/Frameworks/MobileCoreServices.framework',
|
||||
],
|
||||
},
|
||||
}],
|
||||
|
@ -24,7 +24,7 @@
|
||||
[ 'skia_os == "ios"', {
|
||||
'link_settings': {
|
||||
'libraries': [
|
||||
'<(ios_sdk_dir)<(ios_sdk_version).sdk/usr/lib/libz.dylib',
|
||||
'$(SDKROOT)/usr/lib/libz.dylib',
|
||||
],
|
||||
},
|
||||
'defines': [ 'SK_ZLIB_INCLUDE=<zlib.h>', ],
|
||||
|
Loading…
Reference in New Issue
Block a user