blob: a30619373b8ad100bd0681de4ed2a12695762232 [file] [log] [blame]
epoger@google.comccdbd2c2011-06-02 14:38:23 +00001# target_defaults used for executable targets that generate a console app
2{
3 'target_defaults': {
epoger@google.comccdbd2c2011-06-02 14:38:23 +00004 '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',
epoger@google.comccdbd2c2011-06-02 14:38:23 +000012 },
13 },
borenet@google.comdd3d08e2012-06-27 19:04:39 +000014 'conditions': [
djsollen@google.com2d6535a2012-10-12 19:44:35 +000015 [ 'skia_os == "android"', {
borenet@google.comdd3d08e2012-06-27 19:04:39 +000016 'dependencies': [
borenet@google.comaf730912012-08-09 15:54:28 +000017 'android_deps.gyp:Android_EntryPoint',
borenet@google.comdd3d08e2012-06-27 19:04:39 +000018 ],
19 }],
borenet@google.com7158e6a2012-11-01 17:43:44 +000020 [ 'skia_os == "nacl"', {
21 'dependencies': [
22 'nacl.gyp:nacl_interface',
23 ],
24 }],
caryclark@google.com5987f582012-10-02 18:33:14 +000025 ['skia_os == "ios"', {
26 'target_conditions': [
27 ['_type == "executable"', {
28 'mac_bundle' : 1,
29 }],
30 ],
31 'include_dirs' : [
32 '../experimental/iOSSampleApp/Shared',
33 '../include/views',
34 '../include/xml',
35 '../include/utils/mac',
36 ],
37 'sources': [
38 '../src/views/ios/SkOSWindow_iOS.mm',
39 '../src/views/mac/SkEventNotifier.h',
40 '../src/views/mac/SkEventNotifier.mm',
41 '../experimental/iOSSampleApp/iPad/AppDelegate_iPad.h',
42 '../experimental/iOSSampleApp/iPad/AppDelegate_iPad.mm',
43 '../experimental/iOSSampleApp/iPhone/AppDelegate_iPhone.h',
44 '../experimental/iOSSampleApp/iPhone/AppDelegate_iPhone.mm',
45 '../experimental/iOSSampleApp/Shared/SkUIView.h',
46 '../experimental/iOSSampleApp/Shared/SkUIView.mm',
47 '../experimental/iOSSampleApp/Shared/skia_ios.mm',
48 '../experimental/SimpleiOSApp/SimpleApp.h',
49 '../experimental/SimpleiOSApp/SimpleApp.mm',
50 ],
51 'dependencies': [
52 'views.gyp:views',
53 'xml.gyp:xml',
54 ],
55 'link_settings': {
56 'libraries': [
bsalomon@google.com46638222012-10-04 12:52:03 +000057 '$(SDKROOT)/System/Library/Frameworks/CoreGraphics.framework',
58 '$(SDKROOT)/System/Library/Frameworks/CoreText.framework',
59 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
60 '$(SDKROOT)/System/Library/Frameworks/ImageIO.framework',
61 '$(SDKROOT)/System/Library/Frameworks/MobileCoreServices.framework',
62 '$(SDKROOT)/System/Library/Frameworks/UIKit.framework',
caryclark@google.com5987f582012-10-02 18:33:14 +000063 ],
64 },
65 'xcode_config_file': '../experimental/iOSSampleApp/SkiOSSampleApp-Base.xcconfig',
66 'mac_bundle_resources' : [
67 '../experimental/SimpleiOSApp/iPad/MainWindow_iPad.xib',
68 '../experimental/SimpleiOSApp/iPhone/MainWindow_iPhone.xib',
69 ],
70 'xcode_settings' : {
71 'INFOPLIST_FILE' : '../experimental/SimpleiOSApp/tool-Info.plist',
72 },
73 }],
borenet@google.comdd3d08e2012-06-27 19:04:39 +000074 ],
epoger@google.comccdbd2c2011-06-02 14:38:23 +000075 },
76}
77
78# Local Variables:
79# tab-width:2
80# indent-tabs-mode:nil
81# End:
82# vim: set expandtab tabstop=2 shiftwidth=2: