OLD | NEW |
1 # target_defaults used for executable targets that generate a console app | 1 # target_defaults used for executable targets that generate a console app |
2 { | 2 { |
3 'target_defaults': { | 3 'target_defaults': { |
4 'msvs_settings': { | 4 'msvs_settings': { |
5 'VCLinkerTool': { | 5 'VCLinkerTool': { |
6 #Allows for creation / output to console. | 6 #Allows for creation / output to console. |
7 #Console (/SUBSYSTEM:CONSOLE) | 7 #Console (/SUBSYSTEM:CONSOLE) |
8 'SubSystem': '1', | 8 'SubSystem': '1', |
9 | 9 |
10 #Console app, use main/wmain | 10 #Console app, use main/wmain |
11 'EntryPointSymbol': 'mainCRTStartup', | 11 'EntryPointSymbol': 'mainCRTStartup', |
12 }, | 12 }, |
13 }, | 13 }, |
14 'conditions': [ | 14 'conditions': [ |
15 [ 'skia_os == "android" and not skia_android_framework', { | 15 [ 'skia_os == "android" and not skia_android_framework', { |
16 'dependencies': [ | 16 'dependencies': [ |
17 'android_deps.gyp:Android_EntryPoint', | 17 'android_deps.gyp:Android_EntryPoint', |
18 'skia_launcher.gyp:skia_launcher', | 18 'skia_launcher.gyp:skia_launcher', |
19 ], | 19 ], |
20 }], | 20 }], |
21 [ 'skia_os == "nacl"', { | 21 [ 'skia_os == "nacl"', { |
22 'dependencies': [ | 22 'dependencies': [ |
23 'nacl.gyp:nacl_interface', | 23 'nacl.gyp:nacl_interface', |
24 ], | 24 ], |
25 }], | 25 }], |
26 ['skia_os == "ios"', { | 26 ['skia_os == "ios"', { |
27 'target_conditions': [ | 27 'target_conditions': [ |
28 ['_type == "executable"', { | 28 ['_type == "executable"', { |
29 'mac_bundle' : 1, | 29 'mac_bundle' : 1, |
| 30 'sources': [ |
| 31 '../src/views/ios/SkOSWindow_iOS.mm', |
| 32 '../src/views/mac/SkEventNotifier.mm', |
| 33 '../experimental/iOSSampleApp/iPad/AppDelegate_iPad.mm', |
| 34 '../experimental/iOSSampleApp/iPhone/AppDelegate_iPhone.mm', |
| 35 '../experimental/iOSSampleApp/Shared/SkUIView.mm', |
| 36 '../experimental/iOSSampleApp/Shared/skia_ios.mm', |
| 37 '../experimental/SimpleiOSApp/SimpleApp.mm', |
| 38 ], |
| 39 'include_dirs' : [ |
| 40 '../experimental/iOSSampleApp/Shared', |
| 41 '../include/views', |
| 42 '../include/xml', |
| 43 '../include/utils/mac', |
| 44 '../src/views/mac', |
| 45 ], |
| 46 'xcode_config_file': '../experimental/iOSSampleApp/SkiOSSampleApp-Ba
se.xcconfig', |
| 47 'mac_bundle_resources' : [ |
| 48 '../experimental/SimpleiOSApp/iPad/MainWindow_iPad.xib', |
| 49 '../experimental/SimpleiOSApp/iPhone/MainWindow_iPhone.xib', |
| 50 ], |
| 51 'xcode_settings' : { |
| 52 'INFOPLIST_FILE' : '../experimental/SimpleiOSApp/tool-Info.plist', |
| 53 }, |
30 }], | 54 }], |
31 ], | 55 ], |
32 'include_dirs' : [ | |
33 '../experimental/iOSSampleApp/Shared', | |
34 '../include/views', | |
35 '../include/xml', | |
36 '../include/utils/mac', | |
37 '../src/views/mac', | |
38 ], | |
39 'sources': [ | |
40 '../src/views/ios/SkOSWindow_iOS.mm', | |
41 '../src/views/mac/SkEventNotifier.mm', | |
42 '../experimental/iOSSampleApp/iPad/AppDelegate_iPad.mm', | |
43 '../experimental/iOSSampleApp/iPhone/AppDelegate_iPhone.mm', | |
44 '../experimental/iOSSampleApp/Shared/SkUIView.mm', | |
45 '../experimental/iOSSampleApp/Shared/skia_ios.mm', | |
46 '../experimental/SimpleiOSApp/SimpleApp.mm', | |
47 ], | |
48 'dependencies': [ | 56 'dependencies': [ |
49 'views.gyp:views', | 57 'views.gyp:views', |
50 'xml.gyp:xml', | 58 'xml.gyp:xml', |
51 ], | 59 ], |
52 'link_settings': { | 60 'link_settings': { |
53 'libraries': [ | 61 'libraries': [ |
54 '$(SDKROOT)/System/Library/Frameworks/CoreGraphics.framework', | 62 '$(SDKROOT)/System/Library/Frameworks/CoreGraphics.framework', |
55 '$(SDKROOT)/System/Library/Frameworks/CoreText.framework', | 63 '$(SDKROOT)/System/Library/Frameworks/CoreText.framework', |
56 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', | 64 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', |
57 '$(SDKROOT)/System/Library/Frameworks/ImageIO.framework', | 65 '$(SDKROOT)/System/Library/Frameworks/ImageIO.framework', |
58 '$(SDKROOT)/System/Library/Frameworks/MobileCoreServices.framework', | 66 '$(SDKROOT)/System/Library/Frameworks/MobileCoreServices.framework', |
59 '$(SDKROOT)/System/Library/Frameworks/UIKit.framework', | 67 '$(SDKROOT)/System/Library/Frameworks/UIKit.framework', |
60 ], | 68 ], |
61 }, | 69 }, |
62 'xcode_config_file': '../experimental/iOSSampleApp/SkiOSSampleApp-Base.x
cconfig', | |
63 'mac_bundle_resources' : [ | |
64 '../experimental/SimpleiOSApp/iPad/MainWindow_iPad.xib', | |
65 '../experimental/SimpleiOSApp/iPhone/MainWindow_iPhone.xib', | |
66 ], | |
67 'xcode_settings' : { | |
68 'INFOPLIST_FILE' : '../experimental/SimpleiOSApp/tool-Info.plist', | |
69 }, | |
70 }], | 70 }], |
71 ], | 71 ], |
72 }, | 72 }, |
73 } | 73 } |
OLD | NEW |