blob: 04356c690ecccb059ae5650b02a2b4002ac6b9b3 [file] [log] [blame]
epoger@google.comccdbd2c2011-06-02 14:38:23 +00001# 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.comccdbd2c2011-06-02 14:38:23 +000011 ],
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.org777442d2012-06-12 14:56:36 +000021 'render_pictures',
epoger@google.comccdbd2c2011-06-02 14:38:23 +000022 ],
23 },
24 {
25 'target_name': 'skdiff',
26 'type': 'executable',
27 'sources': [
28 '../tools/skdiff_main.cpp',
29 ],
30 'dependencies': [
31 'core.gyp:core',
djsollen@google.com41b46be2012-03-23 19:36:53 +000032 'effects.gyp:effects',
epoger@google.comccdbd2c2011-06-02 14:38:23 +000033 'images.gyp:images',
caryclark@google.comafcb55c2011-12-14 17:12:04 +000034 'ports.gyp:ports',
epoger@google.comccdbd2c2011-06-02 14:38:23 +000035 'utils.gyp:utils',
36 ],
37 },
38 {
39 'target_name': 'skhello',
40 'type': 'executable',
41 'sources': [
42 '../tools/skhello.cpp',
43 ],
44 'dependencies': [
45 'core.gyp:core',
djsollen@google.com41b46be2012-03-23 19:36:53 +000046 'effects.gyp:effects',
epoger@google.comccdbd2c2011-06-02 14:38:23 +000047 'images.gyp:images',
caryclark@google.comafcb55c2011-12-14 17:12:04 +000048 'ports.gyp:ports',
epoger@google.comccdbd2c2011-06-02 14:38:23 +000049 'utils.gyp:utils',
50 ],
51 },
52 {
53 'target_name': 'skimage',
54 'type': 'executable',
55 'sources': [
56 '../tools/skimage_main.cpp',
57 ],
58 'dependencies': [
59 'core.gyp:core',
djsollen@google.com41b46be2012-03-23 19:36:53 +000060 'effects.gyp:effects',
epoger@google.comccdbd2c2011-06-02 14:38:23 +000061 'images.gyp:images',
caryclark@google.comafcb55c2011-12-14 17:12:04 +000062 'ports.gyp:ports',
epoger@google.comccdbd2c2011-06-02 14:38:23 +000063 'utils.gyp:utils',
64 ],
65 },
junov@chromium.org777442d2012-06-12 14:56:36 +000066 {
67 'target_name': 'render_pictures',
68 'type': 'executable',
69 'sources': [
70 '../tools/render_pictures_main.cpp',
71 ],
72 'dependencies': [
73 'core.gyp:core',
74 'images.gyp:images',
75 'ports.gyp:ports',
76 ],
77 },
78
epoger@google.comccdbd2c2011-06-02 14:38:23 +000079 ],
80}
81
82# Local Variables:
83# tab-width:2
84# indent-tabs-mode:nil
85# End:
86# vim: set expandtab tabstop=2 shiftwidth=2: