blob: a43b811b3ef160b7a0b56145b9b37a41518b88e0 [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',
reed@google.com1bdf7fe2012-06-14 18:58:40 +000022 'pinspect',
epoger@google.comccdbd2c2011-06-02 14:38:23 +000023 ],
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.com41b46be2012-03-23 19:36:53 +000033 'effects.gyp:effects',
epoger@google.comccdbd2c2011-06-02 14:38:23 +000034 'images.gyp:images',
caryclark@google.comafcb55c2011-12-14 17:12:04 +000035 'ports.gyp:ports',
epoger@google.comccdbd2c2011-06-02 14:38:23 +000036 '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.com41b46be2012-03-23 19:36:53 +000047 'effects.gyp:effects',
epoger@google.comccdbd2c2011-06-02 14:38:23 +000048 'images.gyp:images',
caryclark@google.comafcb55c2011-12-14 17:12:04 +000049 'ports.gyp:ports',
epoger@google.comccdbd2c2011-06-02 14:38:23 +000050 '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.com41b46be2012-03-23 19:36:53 +000061 'effects.gyp:effects',
epoger@google.comccdbd2c2011-06-02 14:38:23 +000062 'images.gyp:images',
caryclark@google.comafcb55c2011-12-14 17:12:04 +000063 'ports.gyp:ports',
epoger@google.comccdbd2c2011-06-02 14:38:23 +000064 'utils.gyp:utils',
65 ],
66 },
junov@chromium.org777442d2012-06-12 14:56:36 +000067 {
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',
77 ],
78 },
reed@google.com1bdf7fe2012-06-14 18:58:40 +000079 {
80 'target_name': 'pinspect',
81 'type': 'executable',
82 'sources': [
83 '../tools/pinspect.cpp',
84 ],
85 'dependencies': [
86 'core.gyp:core',
87 'effects.gyp:effects',
88 'images.gyp:images',
89 'ports.gyp:ports',
90 'utils.gyp:utils',
91 ],
92 },
junov@chromium.org777442d2012-06-12 14:56:36 +000093
epoger@google.comccdbd2c2011-06-02 14:38:23 +000094 ],
95}
96
97# Local Variables:
98# tab-width:2
99# indent-tabs-mode:nil
100# End:
101# vim: set expandtab tabstop=2 shiftwidth=2: