OLD | NEW |
1 # GYP file to build various tools. | 1 # GYP file to build various tools. |
2 # | 2 # |
3 # To build on Linux: | 3 # To build on Linux: |
4 # ./gyp_skia tools.gyp && make tools | 4 # ./gyp_skia tools.gyp && make tools |
5 # | 5 # |
6 { | 6 { |
7 'includes': [ | 7 'includes': [ |
8 'apptype_console.gypi', | 8 'apptype_console.gypi', |
9 ], | 9 ], |
10 'targets': [ | 10 'targets': [ |
11 { | 11 { |
12 # Build all executable targets defined below. | 12 # Build all executable targets defined below. |
13 'target_name': 'tools', | 13 'target_name': 'tools', |
14 'type': 'none', | 14 'type': 'none', |
15 'dependencies': [ | 15 'dependencies': [ |
16 'bbh_shootout', | 16 'bbh_shootout', |
17 'bench_pictures', | 17 'bench_pictures', |
18 'bench_record', | 18 'bench_record', |
19 'filter', | 19 'filter', |
20 'lua_app', | 20 'lua_app', |
21 'lua_pictures', | 21 'lua_pictures', |
22 'pinspect', | 22 'pinspect', |
23 'render_pdfs', | 23 'render_pdfs', |
24 'render_pictures', | 24 'render_pictures', |
25 'skdiff', | 25 'skdiff', |
26 'skhello', | 26 'skhello', |
27 'skpdiff', | 27 'skpdiff', |
| 28 'skpinfo', |
28 'skpmaker', | 29 'skpmaker', |
29 'skimage', | 30 'skimage', |
30 'test_image_decoder', | 31 'test_image_decoder', |
31 ], | 32 ], |
32 'conditions': [ | 33 'conditions': [ |
33 ['skia_shared_lib', | 34 ['skia_shared_lib', |
34 { | 35 { |
35 'dependencies': [ | 36 'dependencies': [ |
36 'sklua', # This can only be built if skia is built as a shared lib
rary | 37 'sklua', # This can only be built if skia is built as a shared lib
rary |
37 ], | 38 ], |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 '../src/utils/', | 175 '../src/utils/', |
175 ], | 176 ], |
176 'dependencies': [ | 177 'dependencies': [ |
177 'flags.gyp:flags', | 178 'flags.gyp:flags', |
178 'gm.gyp:gm_expectations', | 179 'gm.gyp:gm_expectations', |
179 'jsoncpp.gyp:jsoncpp', | 180 'jsoncpp.gyp:jsoncpp', |
180 'skia_lib.gyp:skia_lib', | 181 'skia_lib.gyp:skia_lib', |
181 'utils.gyp:utils', | 182 'utils.gyp:utils', |
182 ], | 183 ], |
183 }, | 184 }, |
| 185 { |
| 186 'target_name': 'skpinfo', |
| 187 'type': 'executable', |
| 188 'sources': [ |
| 189 '../tools/skpinfo.cpp', |
| 190 ], |
| 191 'include_dirs': [ |
| 192 '../tools/flags', |
| 193 '../src/core/', |
| 194 ], |
| 195 'dependencies': [ |
| 196 'flags.gyp:flags', |
| 197 'skia_lib.gyp:skia_lib', |
| 198 ], |
| 199 }, |
184 | 200 |
185 { | 201 { |
186 'target_name': 'lua_app', | 202 'target_name': 'lua_app', |
187 'type': 'executable', | 203 'type': 'executable', |
188 'sources': [ | 204 'sources': [ |
189 '../tools/lua/lua_app.cpp', | 205 '../tools/lua/lua_app.cpp', |
190 '../src/utils/SkLua.cpp', | 206 '../src/utils/SkLua.cpp', |
191 ], | 207 ], |
192 'include_dirs': [ | 208 'include_dirs': [ |
193 # Lua exposes GrReduceClip which in turn requires src/core for SkTLList | 209 # Lua exposes GrReduceClip which in turn requires src/core for SkTLList |
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
530 'type': 'executable', | 546 'type': 'executable', |
531 'sources': [ | 547 'sources': [ |
532 '../tools/win_lcid.cpp', | 548 '../tools/win_lcid.cpp', |
533 ], | 549 ], |
534 }, | 550 }, |
535 ], | 551 ], |
536 }, | 552 }, |
537 ], | 553 ], |
538 ], | 554 ], |
539 } | 555 } |
OLD | NEW |