blob: d3759419a10bcf8c45c5d6773b95662dd6c91505 [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': [
scroggo6cfce1b2014-12-10 10:23:04 -080015 [ 'skia_os == "android"', {
16 'conditions': [
17 ['skia_android_framework == 0', {
18 'dependencies': [
19 'android_deps.gyp:Android_EntryPoint',
20 'skia_launcher.gyp:skia_launcher',
21 ],
22 }],
23 ],
borenet@google.comdd3d08e2012-06-27 19:04:39 +000024 'dependencies': [
scroggo6cfce1b2014-12-10 10:23:04 -080025 'android_output.gyp:android_output',
borenet@google.comdd3d08e2012-06-27 19:04:39 +000026 ],
27 }],
borenet@google.com7158e6a2012-11-01 17:43:44 +000028 [ 'skia_os == "nacl"', {
29 'dependencies': [
30 'nacl.gyp:nacl_interface',
31 ],
32 }],
caryclark@google.com5987f582012-10-02 18:33:14 +000033 ['skia_os == "ios"', {
34 'target_conditions': [
35 ['_type == "executable"', {
36 'mac_bundle' : 1,
halcanary0d154ee2014-08-11 11:33:51 -070037 'sources': [
38 '../src/views/ios/SkOSWindow_iOS.mm',
39 '../src/views/mac/SkEventNotifier.mm',
40 '../experimental/iOSSampleApp/iPad/AppDelegate_iPad.mm',
41 '../experimental/iOSSampleApp/iPhone/AppDelegate_iPhone.mm',
42 '../experimental/iOSSampleApp/Shared/SkUIView.mm',
43 '../experimental/iOSSampleApp/Shared/skia_ios.mm',
44 '../experimental/SimpleiOSApp/SimpleApp.mm',
45 ],
46 'include_dirs' : [
47 '../experimental/iOSSampleApp/Shared',
48 '../include/views',
halcanary0d154ee2014-08-11 11:33:51 -070049 '../include/utils/mac',
50 '../src/views/mac',
51 ],
52 'xcode_config_file': '../experimental/iOSSampleApp/SkiOSSampleApp-Base.xcconfig',
53 'mac_bundle_resources' : [
54 '../experimental/SimpleiOSApp/iPad/MainWindow_iPad.xib',
55 '../experimental/SimpleiOSApp/iPhone/MainWindow_iPhone.xib',
56 ],
57 'xcode_settings' : {
58 'INFOPLIST_FILE' : '../experimental/SimpleiOSApp/tool-Info.plist',
59 },
caryclark@google.com5987f582012-10-02 18:33:14 +000060 }],
61 ],
caryclark@google.com5987f582012-10-02 18:33:14 +000062 'dependencies': [
63 'views.gyp:views',
caryclark@google.com5987f582012-10-02 18:33:14 +000064 ],
65 'link_settings': {
66 'libraries': [
bsalomon@google.com46638222012-10-04 12:52:03 +000067 '$(SDKROOT)/System/Library/Frameworks/CoreGraphics.framework',
68 '$(SDKROOT)/System/Library/Frameworks/CoreText.framework',
69 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
70 '$(SDKROOT)/System/Library/Frameworks/ImageIO.framework',
71 '$(SDKROOT)/System/Library/Frameworks/MobileCoreServices.framework',
72 '$(SDKROOT)/System/Library/Frameworks/UIKit.framework',
caryclark@google.com5987f582012-10-02 18:33:14 +000073 ],
74 },
caryclark@google.com5987f582012-10-02 18:33:14 +000075 }],
borenet@google.comdd3d08e2012-06-27 19:04:39 +000076 ],
epoger@google.comccdbd2c2011-06-02 14:38:23 +000077 },
78}