2012-09-26 13:02:37 +00:00
|
|
|
{
|
|
|
|
'conditions' : [
|
|
|
|
[ 'skia_os != "ios"', {
|
|
|
|
'error': '<!(set GYP_DEFINES=\"skia_os=\'ios\'\")'
|
|
|
|
}],
|
|
|
|
],
|
|
|
|
'targets': [
|
|
|
|
{
|
|
|
|
'target_name': 'SimpleiOSApp',
|
|
|
|
'type': 'executable',
|
|
|
|
'mac_bundle' : 1,
|
|
|
|
'include_dirs' : [
|
|
|
|
'../experimental/iOSSampleApp/Shared',
|
2014-04-05 01:13:43 +00:00
|
|
|
'../src/views/mac',
|
2012-09-26 13:02:37 +00:00
|
|
|
],
|
|
|
|
'sources': [
|
|
|
|
'../src/views/ios/SkOSWindow_iOS.mm',
|
|
|
|
'../src/views/mac/SkEventNotifier.mm',
|
|
|
|
'../experimental/iOSSampleApp/iPad/AppDelegate_iPad.mm',
|
|
|
|
'../experimental/iOSSampleApp/iPhone/AppDelegate_iPhone.mm',
|
|
|
|
'../experimental/iOSSampleApp/Shared/SkUIView.mm',
|
|
|
|
'../experimental/iOSSampleApp/Shared/skia_ios.mm',
|
|
|
|
'../experimental/SimpleiOSApp/SimpleApp.mm',
|
|
|
|
'../experimental/SimpleiOSApp/SimpleiOSApp-Info.plist',
|
|
|
|
],
|
|
|
|
'dependencies': [
|
2013-06-03 12:10:19 +00:00
|
|
|
'skia_lib.gyp:skia_lib',
|
2012-09-26 13:02:37 +00:00
|
|
|
'views.gyp:views',
|
|
|
|
'xml.gyp:xml',
|
|
|
|
],
|
|
|
|
'link_settings': {
|
|
|
|
'libraries': [
|
2012-10-04 12:52:03 +00:00
|
|
|
'$(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',
|
2012-09-26 13:02:37 +00:00
|
|
|
],
|
|
|
|
'libraries!': [
|
|
|
|
#remove mac dependencies
|
|
|
|
'$(SDKROOT)/System/Library/Frameworks/Cocoa.framework',
|
|
|
|
'$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
|
|
|
|
'$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework',
|
|
|
|
'$(SDKROOT)/System/Library/Frameworks/OpenGL.framework',
|
|
|
|
'$(SDKROOT)/System/Library/Frameworks/ApplicationServices.framework',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
'xcode_settings' : {
|
|
|
|
'INFOPLIST_FILE' : '../experimental/SimpleiOSApp/SimpleiOSApp-Info.plist',
|
|
|
|
},
|
|
|
|
'xcode_config_file': '../experimental/iOSSampleApp/SkiOSSampleApp-Base.xcconfig',
|
|
|
|
'mac_bundle_resources' : [
|
|
|
|
'../experimental/SimpleiOSApp/iPad/MainWindow_iPad.xib',
|
|
|
|
'../experimental/SimpleiOSApp/iPhone/MainWindow_iPhone.xib',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
}
|