OLD | NEW |
1 # Copyright 2015 Google Inc. | 1 # Copyright 2015 Google Inc. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 # GYP file to build various tools. | 5 # GYP file to build various tools. |
6 # | 6 # |
7 # To build on Linux: | 7 # To build on Linux: |
8 # ./gyp_skia tools.gyp && make tools | 8 # ./gyp_skia tools.gyp && make tools |
9 # | 9 # |
10 { | 10 { |
11 'includes': [ | 11 'includes': [ |
12 'apptype_console.gypi', | 12 'apptype_console.gypi', |
13 ], | 13 ], |
14 'targets': [ | 14 'targets': [ |
15 { | 15 { |
16 # Build all executable targets defined below. | 16 # Build all executable targets defined below. |
17 'target_name': 'tools', | 17 'target_name': 'tools', |
18 'type': 'none', | 18 'type': 'none', |
19 'dependencies': [ | 19 'dependencies': [ |
20 'bench_pictures', | 20 'bench_pictures', |
21 'bitmap_region_decoder', | 21 'bitmap_region_decoder', |
22 'chrome_fuzz', | 22 'chrome_fuzz', |
23 'dump_record', | 23 'dump_record', |
24 'filter', | 24 'filter', |
25 'flatten', | 25 'flatten', |
26 'gpuveto', | 26 'gpuveto', |
| 27 'imgblur', |
| 28 'imgconv', |
| 29 'imgslice', |
27 'lua_app', | 30 'lua_app', |
28 'lua_pictures', | 31 'lua_pictures', |
29 'imgconv', | |
30 'pinspect', | 32 'pinspect', |
31 'render_pdfs', | 33 'render_pdfs', |
32 'render_pictures', | 34 'render_pictures', |
33 'skdiff', | 35 'skdiff', |
34 'skhello', | 36 'skhello', |
35 'skp2svg', | 37 'skp2svg', |
36 'skpdiff', | 38 'skpdiff', |
37 'skpinfo', | 39 'skpinfo', |
38 'skpmaker', | 40 'skpmaker', |
39 'imgslice', | |
40 'test_image_decoder', | 41 'test_image_decoder', |
41 'test_public_includes', | 42 'test_public_includes', |
42 'whitelist_typefaces', | 43 'whitelist_typefaces', |
43 ], | 44 ], |
44 'conditions': [ | 45 'conditions': [ |
45 ['skia_shared_lib', | 46 ['skia_shared_lib', |
46 { | 47 { |
47 'dependencies': [ | 48 'dependencies': [ |
48 'sklua', # This can only be built if skia is built as a shared lib
rary | 49 'sklua', # This can only be built if skia is built as a shared lib
rary |
49 ], | 50 ], |
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
306 'include_dirs': [ | 307 'include_dirs': [ |
307 '../include/private', | 308 '../include/private', |
308 '../src/core/', | 309 '../src/core/', |
309 ], | 310 ], |
310 'dependencies': [ | 311 'dependencies': [ |
311 'flags.gyp:flags', | 312 'flags.gyp:flags', |
312 'skia_lib.gyp:skia_lib', | 313 'skia_lib.gyp:skia_lib', |
313 ], | 314 ], |
314 }, | 315 }, |
315 { | 316 { |
| 317 'target_name': 'imgblur', |
| 318 'type': 'executable', |
| 319 'sources': [ |
| 320 '../tools/imgblur.cpp', |
| 321 ], |
| 322 'include_dirs': [ |
| 323 '../include/core', |
| 324 ], |
| 325 'dependencies': [ |
| 326 'flags.gyp:flags', |
| 327 'flags.gyp:flags_common', |
| 328 'skia_lib.gyp:skia_lib', |
| 329 'tools.gyp:sk_tool_utils', |
| 330 ], |
| 331 }, |
| 332 { |
316 'target_name': 'imgslice', | 333 'target_name': 'imgslice', |
317 'type': 'executable', | 334 'type': 'executable', |
318 'sources': [ | 335 'sources': [ |
319 '../tools/imgslice.cpp', | 336 '../tools/imgslice.cpp', |
320 ], | 337 ], |
321 'include_dirs': [ | 338 'include_dirs': [ |
322 '../include/core', | 339 '../include/core', |
323 ], | 340 ], |
324 'dependencies': [ | 341 'dependencies': [ |
325 'flags.gyp:flags', | 342 'flags.gyp:flags', |
(...skipping 526 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
852 'flags.gyp:flags', | 869 'flags.gyp:flags', |
853 'skia_lib.gyp:skia_lib', | 870 'skia_lib.gyp:skia_lib', |
854 'resources', | 871 'resources', |
855 ], | 872 ], |
856 }, | 873 }, |
857 ], | 874 ], |
858 }, | 875 }, |
859 ], | 876 ], |
860 ], | 877 ], |
861 } | 878 } |
OLD | NEW |