epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 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', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 11 | ], |
| 12 | 'targets': [ |
| 13 | { |
| 14 | # Build all executable targets defined below. |
| 15 | 'target_name': 'tools', |
| 16 | 'type': 'none', |
| 17 | 'dependencies': [ |
| 18 | 'skdiff', |
| 19 | 'skhello', |
| 20 | 'skimage', |
| 21 | ], |
| 22 | }, |
| 23 | { |
| 24 | 'target_name': 'skdiff', |
| 25 | 'type': 'executable', |
| 26 | 'sources': [ |
| 27 | '../tools/skdiff_main.cpp', |
| 28 | ], |
| 29 | 'dependencies': [ |
| 30 | 'core.gyp:core', |
djsollen@google.com | 41b46be | 2012-03-23 19:36:53 +0000 | [diff] [blame] | 31 | 'effects.gyp:effects', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 32 | 'images.gyp:images', |
caryclark@google.com | afcb55c | 2011-12-14 17:12:04 +0000 | [diff] [blame] | 33 | 'ports.gyp:ports', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 34 | 'utils.gyp:utils', |
| 35 | ], |
| 36 | }, |
| 37 | { |
| 38 | 'target_name': 'skhello', |
| 39 | 'type': 'executable', |
| 40 | 'sources': [ |
| 41 | '../tools/skhello.cpp', |
| 42 | ], |
| 43 | 'dependencies': [ |
| 44 | 'core.gyp:core', |
djsollen@google.com | 41b46be | 2012-03-23 19:36:53 +0000 | [diff] [blame] | 45 | 'effects.gyp:effects', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 46 | 'images.gyp:images', |
caryclark@google.com | afcb55c | 2011-12-14 17:12:04 +0000 | [diff] [blame] | 47 | 'ports.gyp:ports', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 48 | 'utils.gyp:utils', |
| 49 | ], |
| 50 | }, |
| 51 | { |
| 52 | 'target_name': 'skimage', |
| 53 | 'type': 'executable', |
| 54 | 'sources': [ |
| 55 | '../tools/skimage_main.cpp', |
| 56 | ], |
| 57 | 'dependencies': [ |
| 58 | 'core.gyp:core', |
djsollen@google.com | 41b46be | 2012-03-23 19:36:53 +0000 | [diff] [blame] | 59 | 'effects.gyp:effects', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 60 | 'images.gyp:images', |
caryclark@google.com | afcb55c | 2011-12-14 17:12:04 +0000 | [diff] [blame] | 61 | 'ports.gyp:ports', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 62 | 'utils.gyp:utils', |
| 63 | ], |
| 64 | }, |
| 65 | ], |
| 66 | } |
| 67 | |
| 68 | # Local Variables: |
| 69 | # tab-width:2 |
| 70 | # indent-tabs-mode:nil |
| 71 | # End: |
| 72 | # vim: set expandtab tabstop=2 shiftwidth=2: |