Home | History | Annotate | Download | only in gyp
      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         ],
     19       }],
     20       [ 'skia_os == "nacl"', {
     21         'dependencies': [
     22           'nacl.gyp:nacl_interface',
     23         ],
     24       }],
     25       ['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': [
     57             '$(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',
     63           ],
     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       }],
     74     ],
     75   },
     76 }
     77 
     78 # Local Variables:
     79 # tab-width:2
     80 # indent-tabs-mode:nil
     81 # End:
     82 # vim: set expandtab tabstop=2 shiftwidth=2:
     83