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', |
| 37 | ], |
| 38 | 'sources': [ |
| 39 | '../src/views/ios/SkOSWindow_iOS.mm', |
| 40 | '../src/views/mac/SkEventNotifier.h', |
| 41 | '../src/views/mac/SkEventNotifier.mm', |
| 42 | '../experimental/iOSSampleApp/iPad/AppDelegate_iPad.h', |
| 43 | '../experimental/iOSSampleApp/iPad/AppDelegate_iPad.mm', |
| 44 | '../experimental/iOSSampleApp/iPhone/AppDelegate_iPhone.h', |
| 45 | '../experimental/iOSSampleApp/iPhone/AppDelegate_iPhone.mm', |
| 46 | '../experimental/iOSSampleApp/Shared/SkUIView.h', |
| 47 | '../experimental/iOSSampleApp/Shared/SkUIView.mm', |
| 48 | '../experimental/iOSSampleApp/Shared/skia_ios.mm', |
| 49 | '../experimental/SimpleiOSApp/SimpleApp.h', |
| 50 | '../experimental/SimpleiOSApp/SimpleApp.mm', |
| 51 | ], |
| 52 | 'dependencies': [ |
| 53 | 'views.gyp:views', |
| 54 | 'xml.gyp:xml', |
| 55 | ], |
| 56 | 'link_settings': { |
| 57 | 'libraries': [ |
bsalomon@google.com | 4663822 | 2012-10-04 12:52:03 +0000 | [diff] [blame] | 58 | '$(SDKROOT)/System/Library/Frameworks/CoreGraphics.framework', |
| 59 | '$(SDKROOT)/System/Library/Frameworks/CoreText.framework', |
| 60 | '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', |
| 61 | '$(SDKROOT)/System/Library/Frameworks/ImageIO.framework', |
| 62 | '$(SDKROOT)/System/Library/Frameworks/MobileCoreServices.framework', |
| 63 | '$(SDKROOT)/System/Library/Frameworks/UIKit.framework', |
caryclark@google.com | 5987f58 | 2012-10-02 18:33:14 +0000 | [diff] [blame] | 64 | ], |
| 65 | }, |
| 66 | 'xcode_config_file': '../experimental/iOSSampleApp/SkiOSSampleApp-Base.xcconfig', |
| 67 | 'mac_bundle_resources' : [ |
| 68 | '../experimental/SimpleiOSApp/iPad/MainWindow_iPad.xib', |
| 69 | '../experimental/SimpleiOSApp/iPhone/MainWindow_iPhone.xib', |
| 70 | ], |
| 71 | 'xcode_settings' : { |
| 72 | 'INFOPLIST_FILE' : '../experimental/SimpleiOSApp/tool-Info.plist', |
| 73 | }, |
| 74 | }], |
borenet@google.com | dd3d08e | 2012-06-27 19:04:39 +0000 | [diff] [blame] | 75 | ], |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 76 | }, |
| 77 | } |