Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / skia / gyp / apptype_console.gypi
1 # target_defaults used for executable targets that generate a console app
2 {
3   'target_defaults': {
4     'msvs_settings': {
5       'VCLinkerTool': {
6         #Allows for creation / output to console.
7         #Console (/SUBSYSTEM:CONSOLE)
8         'SubSystem': '1',
9
10         #Console app, use main/wmain
11         'EntryPointSymbol': 'mainCRTStartup',
12       },
13     },
14     'conditions': [
15       [ 'skia_os == "android" and not skia_android_framework', {
16         'dependencies': [
17           'android_deps.gyp:Android_EntryPoint',
18           'android_system.gyp:skia_launcher',
19         ],
20       }],
21       [ 'skia_os == "nacl"', {
22         'dependencies': [
23           'nacl.gyp:nacl_interface',
24         ],
25       }],
26       ['skia_os == "ios"', {
27         'target_conditions': [
28           ['_type == "executable"', {
29             'mac_bundle' : 1,
30           }],
31         ],
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': [
49           'views.gyp:views',
50           'xml.gyp:xml',
51         ],
52         'link_settings': {
53           'libraries': [
54             '$(SDKROOT)/System/Library/Frameworks/CoreGraphics.framework',
55             '$(SDKROOT)/System/Library/Frameworks/CoreText.framework',
56             '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
57             '$(SDKROOT)/System/Library/Frameworks/ImageIO.framework',
58             '$(SDKROOT)/System/Library/Frameworks/MobileCoreServices.framework',
59             '$(SDKROOT)/System/Library/Frameworks/UIKit.framework',
60           ],
61         },
62         'xcode_config_file': '../experimental/iOSSampleApp/SkiOSSampleApp-Base.xcconfig',
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       }],
71     ],
72   },
73 }