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', |
junov@chromium.org | 777442d | 2012-06-12 14:56:36 +0000 | [diff] [blame] | 21 | 'render_pictures', |
reed@google.com | 1bdf7fe | 2012-06-14 18:58:40 +0000 | [diff] [blame] | 22 | 'pinspect', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 23 | ], |
| 24 | }, |
| 25 | { |
| 26 | 'target_name': 'skdiff', |
| 27 | 'type': 'executable', |
| 28 | 'sources': [ |
| 29 | '../tools/skdiff_main.cpp', |
| 30 | ], |
| 31 | 'dependencies': [ |
| 32 | 'core.gyp:core', |
djsollen@google.com | 41b46be | 2012-03-23 19:36:53 +0000 | [diff] [blame] | 33 | 'effects.gyp:effects', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 34 | 'images.gyp:images', |
caryclark@google.com | afcb55c | 2011-12-14 17:12:04 +0000 | [diff] [blame] | 35 | 'ports.gyp:ports', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 36 | 'utils.gyp:utils', |
| 37 | ], |
| 38 | }, |
| 39 | { |
| 40 | 'target_name': 'skhello', |
| 41 | 'type': 'executable', |
| 42 | 'sources': [ |
| 43 | '../tools/skhello.cpp', |
| 44 | ], |
| 45 | 'dependencies': [ |
| 46 | 'core.gyp:core', |
djsollen@google.com | 41b46be | 2012-03-23 19:36:53 +0000 | [diff] [blame] | 47 | 'effects.gyp:effects', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 48 | 'images.gyp:images', |
caryclark@google.com | afcb55c | 2011-12-14 17:12:04 +0000 | [diff] [blame] | 49 | 'ports.gyp:ports', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 50 | 'utils.gyp:utils', |
| 51 | ], |
| 52 | }, |
| 53 | { |
| 54 | 'target_name': 'skimage', |
| 55 | 'type': 'executable', |
| 56 | 'sources': [ |
| 57 | '../tools/skimage_main.cpp', |
| 58 | ], |
| 59 | 'dependencies': [ |
| 60 | 'core.gyp:core', |
djsollen@google.com | 41b46be | 2012-03-23 19:36:53 +0000 | [diff] [blame] | 61 | 'effects.gyp:effects', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 62 | 'images.gyp:images', |
caryclark@google.com | afcb55c | 2011-12-14 17:12:04 +0000 | [diff] [blame] | 63 | 'ports.gyp:ports', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 64 | 'utils.gyp:utils', |
| 65 | ], |
| 66 | }, |
junov@chromium.org | 777442d | 2012-06-12 14:56:36 +0000 | [diff] [blame] | 67 | { |
| 68 | 'target_name': 'render_pictures', |
| 69 | 'type': 'executable', |
| 70 | 'sources': [ |
| 71 | '../tools/render_pictures_main.cpp', |
| 72 | ], |
| 73 | 'dependencies': [ |
| 74 | 'core.gyp:core', |
| 75 | 'images.gyp:images', |
| 76 | 'ports.gyp:ports', |
twiz@google.com | a31b8bb | 2012-06-22 18:24:56 +0000 | [diff] [blame] | 77 | 'tools.gyp:picture_utils', |
| 78 | ], |
| 79 | }, |
| 80 | { |
| 81 | 'target_name': 'picture_utils', |
| 82 | 'type': 'static_library', |
| 83 | 'sources': [ |
| 84 | '../tools/picture_utils.cpp', |
| 85 | ], |
| 86 | 'dependencies': [ |
| 87 | 'core.gyp:core', |
junov@chromium.org | 777442d | 2012-06-12 14:56:36 +0000 | [diff] [blame] | 88 | ], |
| 89 | }, |
reed@google.com | 1bdf7fe | 2012-06-14 18:58:40 +0000 | [diff] [blame] | 90 | { |
| 91 | 'target_name': 'pinspect', |
| 92 | 'type': 'executable', |
| 93 | 'sources': [ |
| 94 | '../tools/pinspect.cpp', |
| 95 | ], |
| 96 | 'dependencies': [ |
| 97 | 'core.gyp:core', |
| 98 | 'effects.gyp:effects', |
| 99 | 'images.gyp:images', |
| 100 | 'ports.gyp:ports', |
| 101 | 'utils.gyp:utils', |
| 102 | ], |
| 103 | }, |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 104 | ], |
| 105 | } |
| 106 | |
| 107 | # Local Variables: |
| 108 | # tab-width:2 |
| 109 | # indent-tabs-mode:nil |
| 110 | # End: |
| 111 | # vim: set expandtab tabstop=2 shiftwidth=2: |