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', |
| 14 | ], |
| 15 | 'sources': [ |
| 16 | '../src/views/ios/SkOSWindow_iOS.mm', |
| 17 | '../src/views/mac/SkEventNotifier.h', |
| 18 | '../src/views/mac/SkEventNotifier.mm', |
| 19 | '../experimental/iOSSampleApp/iPad/AppDelegate_iPad.h', |
| 20 | '../experimental/iOSSampleApp/iPad/AppDelegate_iPad.mm', |
| 21 | '../experimental/iOSSampleApp/iPhone/AppDelegate_iPhone.h', |
| 22 | '../experimental/iOSSampleApp/iPhone/AppDelegate_iPhone.mm', |
| 23 | '../experimental/iOSSampleApp/Shared/SkUIView.h', |
| 24 | '../experimental/iOSSampleApp/Shared/SkUIView.mm', |
| 25 | '../experimental/iOSSampleApp/Shared/skia_ios.mm', |
| 26 | '../experimental/SimpleiOSApp/SimpleApp.h', |
| 27 | '../experimental/SimpleiOSApp/SimpleApp.mm', |
| 28 | '../experimental/SimpleiOSApp/SimpleiOSApp-Info.plist', |
| 29 | ], |
| 30 | 'dependencies': [ |
djsollen@google.com | 52f0297 | 2013-06-03 12:10:19 +0000 | [diff] [blame] | 31 | 'skia_lib.gyp:skia_lib', |
caryclark@google.com | 5c83dcc | 2012-09-26 13:02:37 +0000 | [diff] [blame] | 32 | 'views.gyp:views', |
| 33 | 'xml.gyp:xml', |
| 34 | ], |
| 35 | 'link_settings': { |
| 36 | 'libraries': [ |
bsalomon@google.com | 4663822 | 2012-10-04 12:52:03 +0000 | [diff] [blame] | 37 | '$(SDKROOT)/System/Library/Frameworks/CoreGraphics.framework', |
| 38 | '$(SDKROOT)/System/Library/Frameworks/CoreText.framework', |
| 39 | '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', |
| 40 | '$(SDKROOT)/System/Library/Frameworks/ImageIO.framework', |
| 41 | '$(SDKROOT)/System/Library/Frameworks/MobileCoreServices.framework', |
| 42 | '$(SDKROOT)/System/Library/Frameworks/UIKit.framework', |
caryclark@google.com | 5c83dcc | 2012-09-26 13:02:37 +0000 | [diff] [blame] | 43 | ], |
| 44 | 'libraries!': [ |
| 45 | #remove mac dependencies |
| 46 | '$(SDKROOT)/System/Library/Frameworks/Cocoa.framework', |
| 47 | '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', |
| 48 | '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework', |
| 49 | '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework', |
| 50 | '$(SDKROOT)/System/Library/Frameworks/ApplicationServices.framework', |
| 51 | ], |
| 52 | }, |
| 53 | 'xcode_settings' : { |
| 54 | 'INFOPLIST_FILE' : '../experimental/SimpleiOSApp/SimpleiOSApp-Info.plist', |
| 55 | }, |
| 56 | 'xcode_config_file': '../experimental/iOSSampleApp/SkiOSSampleApp-Base.xcconfig', |
| 57 | 'mac_bundle_resources' : [ |
| 58 | '../experimental/SimpleiOSApp/iPad/MainWindow_iPad.xib', |
| 59 | '../experimental/SimpleiOSApp/iPhone/MainWindow_iPhone.xib', |
| 60 | ], |
| 61 | }, |
| 62 | ], |
| 63 | } |
| 64 | |
| 65 | # Local Variables: |
| 66 | # tab-width:2 |
| 67 | # indent-tabs-mode:nil |
| 68 | # End: |
| 69 | # vim: set expandtab tabstop=2 shiftwidth=2: |