epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 1 | # target_defaults used for executable targets that generate a console app |
| 2 | { |
| 3 | 'target_defaults': { |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 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', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 12 | }, |
| 13 | }, |
borenet@google.com | dd3d08e | 2012-06-27 19:04:39 +0000 | [diff] [blame] | 14 | 'conditions': [ |
djsollen@google.com | 2d6535a | 2012-10-12 19:44:35 +0000 | [diff] [blame] | 15 | [ 'skia_os == "android"', { |
borenet@google.com | dd3d08e | 2012-06-27 19:04:39 +0000 | [diff] [blame] | 16 | 'dependencies': [ |
borenet@google.com | af73091 | 2012-08-09 15:54:28 +0000 | [diff] [blame] | 17 | 'android_deps.gyp:Android_EntryPoint', |
djsollen@google.com | cc95b1a | 2013-08-12 12:30:04 +0000 | [diff] [blame] | 18 | 'android_system.gyp:skia_launcher', |
borenet@google.com | dd3d08e | 2012-06-27 19:04:39 +0000 | [diff] [blame] | 19 | ], |
| 20 | }], |
borenet@google.com | 7158e6a | 2012-11-01 17:43:44 +0000 | [diff] [blame] | 21 | [ 'skia_os == "nacl"', { |
| 22 | 'dependencies': [ |
| 23 | 'nacl.gyp:nacl_interface', |
| 24 | ], |
| 25 | }], |
caryclark@google.com | 5987f58 | 2012-10-02 18:33:14 +0000 | [diff] [blame] | 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', |
commit-bot@chromium.org | ae0054e | 2014-04-05 01:13:43 +0000 | [diff] [blame] | 37 | '../src/views/mac', |
caryclark@google.com | 5987f58 | 2012-10-02 18:33:14 +0000 | [diff] [blame] | 38 | ], |
| 39 | 'sources': [ |
| 40 | '../src/views/ios/SkOSWindow_iOS.mm', |
caryclark@google.com | 5987f58 | 2012-10-02 18:33:14 +0000 | [diff] [blame] | 41 | '../src/views/mac/SkEventNotifier.mm', |
caryclark@google.com | 5987f58 | 2012-10-02 18:33:14 +0000 | [diff] [blame] | 42 | '../experimental/iOSSampleApp/iPad/AppDelegate_iPad.mm', |
caryclark@google.com | 5987f58 | 2012-10-02 18:33:14 +0000 | [diff] [blame] | 43 | '../experimental/iOSSampleApp/iPhone/AppDelegate_iPhone.mm', |
caryclark@google.com | 5987f58 | 2012-10-02 18:33:14 +0000 | [diff] [blame] | 44 | '../experimental/iOSSampleApp/Shared/SkUIView.mm', |
| 45 | '../experimental/iOSSampleApp/Shared/skia_ios.mm', |
caryclark@google.com | 5987f58 | 2012-10-02 18:33:14 +0000 | [diff] [blame] | 46 | '../experimental/SimpleiOSApp/SimpleApp.mm', |
| 47 | ], |
| 48 | 'dependencies': [ |
| 49 | 'views.gyp:views', |
| 50 | 'xml.gyp:xml', |
| 51 | ], |
| 52 | 'link_settings': { |
| 53 | 'libraries': [ |
bsalomon@google.com | 4663822 | 2012-10-04 12:52:03 +0000 | [diff] [blame] | 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', |
caryclark@google.com | 5987f58 | 2012-10-02 18:33:14 +0000 | [diff] [blame] | 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 | }], |
borenet@google.com | dd3d08e | 2012-06-27 19:04:39 +0000 | [diff] [blame] | 71 | ], |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 72 | }, |
| 73 | } |