caryclark@google.com | 5c83dcc | 2012-09-26 13:02:37 +0000 | [diff] [blame] | 1 | { |
| 2 | 'conditions' : [ |
| 3 | [ 'skia_os != "ios"', { |
| 4 | 'error': '<!(set GYP_DEFINES=\"skia_os=\'ios\'\")' |
| 5 | }], |
| 6 | ], |
| 7 | 'targets': [ |
| 8 | { |
| 9 | 'target_name': 'SimpleiOSApp', |
| 10 | 'type': 'executable', |
| 11 | 'mac_bundle' : 1, |
| 12 | 'include_dirs' : [ |
| 13 | '../experimental/iOSSampleApp/Shared', |
commit-bot@chromium.org | ae0054e | 2014-04-05 01:13:43 +0000 | [diff] [blame] | 14 | '../src/views/mac', |
caryclark@google.com | 5c83dcc | 2012-09-26 13:02:37 +0000 | [diff] [blame] | 15 | ], |
| 16 | 'sources': [ |
| 17 | '../src/views/ios/SkOSWindow_iOS.mm', |
caryclark@google.com | 5c83dcc | 2012-09-26 13:02:37 +0000 | [diff] [blame] | 18 | '../src/views/mac/SkEventNotifier.mm', |
caryclark@google.com | 5c83dcc | 2012-09-26 13:02:37 +0000 | [diff] [blame] | 19 | '../experimental/iOSSampleApp/iPad/AppDelegate_iPad.mm', |
caryclark@google.com | 5c83dcc | 2012-09-26 13:02:37 +0000 | [diff] [blame] | 20 | '../experimental/iOSSampleApp/iPhone/AppDelegate_iPhone.mm', |
caryclark@google.com | 5c83dcc | 2012-09-26 13:02:37 +0000 | [diff] [blame] | 21 | '../experimental/iOSSampleApp/Shared/SkUIView.mm', |
| 22 | '../experimental/iOSSampleApp/Shared/skia_ios.mm', |
caryclark@google.com | 5c83dcc | 2012-09-26 13:02:37 +0000 | [diff] [blame] | 23 | '../experimental/SimpleiOSApp/SimpleApp.mm', |
| 24 | '../experimental/SimpleiOSApp/SimpleiOSApp-Info.plist', |
| 25 | ], |
| 26 | 'dependencies': [ |
djsollen@google.com | 52f0297 | 2013-06-03 12:10:19 +0000 | [diff] [blame] | 27 | 'skia_lib.gyp:skia_lib', |
caryclark@google.com | 5c83dcc | 2012-09-26 13:02:37 +0000 | [diff] [blame] | 28 | 'views.gyp:views', |
| 29 | 'xml.gyp:xml', |
| 30 | ], |
| 31 | 'link_settings': { |
| 32 | 'libraries': [ |
bsalomon@google.com | 4663822 | 2012-10-04 12:52:03 +0000 | [diff] [blame] | 33 | '$(SDKROOT)/System/Library/Frameworks/CoreGraphics.framework', |
| 34 | '$(SDKROOT)/System/Library/Frameworks/CoreText.framework', |
| 35 | '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', |
| 36 | '$(SDKROOT)/System/Library/Frameworks/ImageIO.framework', |
| 37 | '$(SDKROOT)/System/Library/Frameworks/MobileCoreServices.framework', |
| 38 | '$(SDKROOT)/System/Library/Frameworks/UIKit.framework', |
caryclark@google.com | 5c83dcc | 2012-09-26 13:02:37 +0000 | [diff] [blame] | 39 | ], |
| 40 | 'libraries!': [ |
| 41 | #remove mac dependencies |
| 42 | '$(SDKROOT)/System/Library/Frameworks/Cocoa.framework', |
| 43 | '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', |
| 44 | '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework', |
| 45 | '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework', |
| 46 | '$(SDKROOT)/System/Library/Frameworks/ApplicationServices.framework', |
| 47 | ], |
| 48 | }, |
| 49 | 'xcode_settings' : { |
| 50 | 'INFOPLIST_FILE' : '../experimental/SimpleiOSApp/SimpleiOSApp-Info.plist', |
| 51 | }, |
| 52 | 'xcode_config_file': '../experimental/iOSSampleApp/SkiOSSampleApp-Base.xcconfig', |
| 53 | 'mac_bundle_resources' : [ |
| 54 | '../experimental/SimpleiOSApp/iPad/MainWindow_iPad.xib', |
| 55 | '../experimental/SimpleiOSApp/iPhone/MainWindow_iPhone.xib', |
| 56 | ], |
| 57 | }, |
| 58 | ], |
| 59 | } |