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': [ |
(...skipping 10 matching lines...) Expand all Loading... |
21 'lua_app', | 21 'lua_app', |
22 'lua_pictures', | 22 'lua_pictures', |
23 'pinspect', | 23 'pinspect', |
24 'render_pdfs', | 24 'render_pdfs', |
25 'render_pictures', | 25 'render_pictures', |
26 'skdiff', | 26 'skdiff', |
27 'skhello', | 27 'skhello', |
28 'skpdiff', | 28 'skpdiff', |
29 'skpinfo', | 29 'skpinfo', |
30 'skpmaker', | 30 'skpmaker', |
31 'skimage', | |
32 'test_image_decoder', | 31 'test_image_decoder', |
33 'test_public_includes', | 32 'test_public_includes', |
34 ], | 33 ], |
35 'conditions': [ | 34 'conditions': [ |
36 ['skia_shared_lib', | 35 ['skia_shared_lib', |
37 { | 36 { |
38 'dependencies': [ | 37 'dependencies': [ |
39 'sklua', # This can only be built if skia is built as a shared lib
rary | 38 'sklua', # This can only be built if skia is built as a shared lib
rary |
40 ], | 39 ], |
41 }, | 40 }, |
42 ], | 41 ], |
43 ], | 42 ], |
44 }, | 43 }, |
45 { # This would go in gm.gyp, but it's also used by skimage below. | 44 { |
46 'target_name': 'gm_expectations', | 45 'target_name': 'gm_expectations', |
47 'type': 'static_library', | 46 'type': 'static_library', |
48 'include_dirs' : [ '../src/utils/' ], | 47 'include_dirs' : [ '../src/utils/' ], |
49 'sources': [ | 48 'sources': [ |
50 '../gm/gm_expectations.cpp', | 49 '../gm/gm_expectations.cpp', |
51 ], | 50 ], |
52 'dependencies': [ | 51 'dependencies': [ |
53 'jsoncpp.gyp:jsoncpp', | 52 'jsoncpp.gyp:jsoncpp', |
54 'sk_tool_utils', | 53 'sk_tool_utils', |
55 'skia_lib.gyp:skia_lib', | 54 'skia_lib.gyp:skia_lib', |
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
260 '../tools/skhello.cpp', | 259 '../tools/skhello.cpp', |
261 ], | 260 ], |
262 'dependencies': [ | 261 'dependencies': [ |
263 'flags.gyp:flags', | 262 'flags.gyp:flags', |
264 'pdf.gyp:pdf', | 263 'pdf.gyp:pdf', |
265 ], | 264 ], |
266 }], | 265 }], |
267 ], | 266 ], |
268 }, | 267 }, |
269 { | 268 { |
270 'target_name': 'skimage', | |
271 'type': 'executable', | |
272 'sources': [ | |
273 '../tools/skimage_main.cpp', | |
274 ], | |
275 'include_dirs': [ | |
276 # For SkBitmapHasher.h | |
277 '../src/utils/', | |
278 '../tools/', | |
279 ], | |
280 'dependencies': [ | |
281 'gm_expectations', | |
282 'flags.gyp:flags', | |
283 'jsoncpp.gyp:jsoncpp', | |
284 'skia_lib.gyp:skia_lib', | |
285 ], | |
286 }, | |
287 { | |
288 'target_name': 'skpinfo', | 269 'target_name': 'skpinfo', |
289 'type': 'executable', | 270 'type': 'executable', |
290 'sources': [ | 271 'sources': [ |
291 '../tools/skpinfo.cpp', | 272 '../tools/skpinfo.cpp', |
292 ], | 273 ], |
293 'include_dirs': [ | 274 'include_dirs': [ |
294 '../src/core/', | 275 '../src/core/', |
295 ], | 276 ], |
296 'dependencies': [ | 277 'dependencies': [ |
297 'flags.gyp:flags', | 278 'flags.gyp:flags', |
(...skipping 481 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
779 'flags.gyp:flags', | 760 'flags.gyp:flags', |
780 'skia_lib.gyp:skia_lib', | 761 'skia_lib.gyp:skia_lib', |
781 'resources', | 762 'resources', |
782 ], | 763 ], |
783 }, | 764 }, |
784 ], | 765 ], |
785 }, | 766 }, |
786 ], | 767 ], |
787 ], | 768 ], |
788 } | 769 } |
OLD | NEW |