blob: 93eab7d7936f3764e55d2b614f91171b066dffc0 [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',
twiz@google.coma31b8bb2012-06-22 18:24:56 +000077 '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.org777442d2012-06-12 14:56:36 +000088 ],
89 },
reed@google.com1bdf7fe2012-06-14 18:58:40 +000090 {
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.comccdbd2c2011-06-02 14:38:23 +0000104 ],
105}
106
107# Local Variables:
108# tab-width:2
109# indent-tabs-mode:nil
110# End:
111# vim: set expandtab tabstop=2 shiftwidth=2: