Home | History | Annotate | Download | only in gyp
      1 # GYP file to build the "gm" (golden master) executable.
      2 {
      3   'includes': [
      4     'apptype_console.gypi',
      5     'common.gypi',
      6   ],
      7   'targets': [
      8     {
      9       'target_name': 'gm',
     10       'type': 'executable',
     11       'includes': [
     12         'gmslides.gypi',
     13       ],
     14       'sources': [
     15         '../gm/gm.cpp',
     16         '../gm/gmmain.cpp',
     17         '../gm/system_preferences_default.cpp',
     18       ],
     19       'dependencies': [
     20         'core.gyp:core',
     21         'effects.gyp:effects',
     22         'gpu.gyp:gr',
     23         'gpu.gyp:skgr',
     24         'images.gyp:images',
     25         'ports.gyp:ports',
     26         'pdf.gyp:pdf',
     27         'utils.gyp:utils',        
     28       ],
     29       'conditions': [
     30         ['skia_os == "mac"', {
     31           'sources!': [
     32             '../gm/system_preferences_default.cpp',
     33           ],
     34           'sources': [
     35             '../gm/system_preferences_mac.mm',
     36           ],
     37           'link_settings': {
     38             'libraries': [
     39               '$(SDKROOT)/System/Library/Frameworks/Cocoa.framework',
     40               '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
     41             ],
     42           },
     43         }],
     44         ['skia_os == "win"', {
     45           'dependencies': [
     46             'xps.gyp:xps',
     47           ],
     48         }],
     49       ],  
     50     },
     51   ],
     52 }
     53 
     54 # Local Variables:
     55 # tab-width:2
     56 # indent-tabs-mode:nil
     57 # End:
     58 # vim: set expandtab tabstop=2 shiftwidth=2:
     59