Home | History | Annotate | Download | only in gyp
      1 # GYP file to build various tools.
      2 #
      3 # To build on Linux:
      4 #  ./gyp_skia tools.gyp && make tools
      5 #
      6 # Building on other platforms not tested yet.
      7 #
      8 {
      9   'includes': [
     10     'apptype_console.gypi',
     11     'common.gypi',
     12   ],
     13   'targets': [
     14     {
     15       # Build all executable targets defined below.
     16       'target_name': 'tools',
     17       'type': 'none',
     18       'dependencies': [
     19         'skdiff',
     20         'skhello',
     21         'skimage',
     22       ],
     23     },
     24     {
     25       'target_name': 'skdiff',
     26       'type': 'executable',
     27       'sources': [
     28         '../src/effects/SkEffects_none.cpp',
     29         '../tools/skdiff_main.cpp',
     30       ],
     31       'dependencies': [
     32         'core.gyp:core',
     33         'images.gyp:images',
     34         'ports.gyp:ports',
     35         'utils.gyp:utils',
     36       ],
     37     },
     38     {
     39       'target_name': 'skhello',
     40       'type': 'executable',
     41       'sources': [
     42         '../src/effects/SkEffects_none.cpp',
     43         '../tools/skhello.cpp',
     44       ],
     45       'dependencies': [
     46         'core.gyp:core',
     47         'images.gyp:images',
     48         'ports.gyp:ports',
     49         'utils.gyp:utils',
     50       ],
     51     },
     52     {
     53       'target_name': 'skimage',
     54       'type': 'executable',
     55       'sources': [
     56         '../src/effects/SkEffects_none.cpp',
     57         '../tools/skimage_main.cpp',
     58       ],
     59       'dependencies': [
     60         'core.gyp:core',
     61         'images.gyp:images',
     62         'ports.gyp:ports',
     63         'utils.gyp:utils',
     64       ],
     65     },
     66   ],
     67 }
     68 
     69 # Local Variables:
     70 # tab-width:2
     71 # indent-tabs-mode:nil
     72 # End:
     73 # vim: set expandtab tabstop=2 shiftwidth=2:
     74