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"', { 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 ], 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': [ 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', 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 }], 75 ], 76 }, 77 } 78