blob: 3678e7cd1a3365121a1e3909a3ba6854106bb030 [file] [log] [blame]
caryclark@google.com5c83dcc2012-09-26 13:02:37 +00001{
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': [
borenet@google.comefb1d772012-10-10 19:45:51 +000031 'skia_base_libs.gyp:skia_base_libs',
caryclark@google.com5c83dcc2012-09-26 13:02:37 +000032 'effects.gyp:effects',
33 'images.gyp:images',
caryclark@google.com5c83dcc2012-09-26 13:02:37 +000034 'views.gyp:views',
35 'xml.gyp:xml',
36 ],
37 'link_settings': {
38 'libraries': [
bsalomon@google.com46638222012-10-04 12:52:03 +000039 '$(SDKROOT)/System/Library/Frameworks/CoreGraphics.framework',
40 '$(SDKROOT)/System/Library/Frameworks/CoreText.framework',
41 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
42 '$(SDKROOT)/System/Library/Frameworks/ImageIO.framework',
43 '$(SDKROOT)/System/Library/Frameworks/MobileCoreServices.framework',
44 '$(SDKROOT)/System/Library/Frameworks/UIKit.framework',
caryclark@google.com5c83dcc2012-09-26 13:02:37 +000045 ],
46 'libraries!': [
47 #remove mac dependencies
48 '$(SDKROOT)/System/Library/Frameworks/Cocoa.framework',
49 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
50 '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework',
51 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework',
52 '$(SDKROOT)/System/Library/Frameworks/ApplicationServices.framework',
53 ],
54 },
55 'xcode_settings' : {
56 'INFOPLIST_FILE' : '../experimental/SimpleiOSApp/SimpleiOSApp-Info.plist',
57 },
58 'xcode_config_file': '../experimental/iOSSampleApp/SkiOSSampleApp-Base.xcconfig',
59 'mac_bundle_resources' : [
60 '../experimental/SimpleiOSApp/iPad/MainWindow_iPad.xib',
61 '../experimental/SimpleiOSApp/iPhone/MainWindow_iPhone.xib',
62 ],
63 },
64 ],
65}
66
67# Local Variables:
68# tab-width:2
69# indent-tabs-mode:nil
70# End:
71# vim: set expandtab tabstop=2 shiftwidth=2: