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 'chrome_fuzz', | 22 'chrome_fuzz', |
22 'dump_record', | 23 'dump_record', |
23 'filter', | 24 'filter', |
24 'flatten', | 25 'flatten', |
25 'gpuveto', | 26 'gpuveto', |
26 'lua_app', | 27 'lua_app', |
27 'lua_pictures', | 28 'lua_pictures', |
28 'imgconv', | 29 'imgconv', |
29 'pinspect', | 30 'pinspect', |
30 'render_pdfs', | 31 'render_pdfs', |
(...skipping 12 matching lines...) Expand all Loading... |
43 ['skia_shared_lib', | 44 ['skia_shared_lib', |
44 { | 45 { |
45 'dependencies': [ | 46 'dependencies': [ |
46 'sklua', # This can only be built if skia is built as a shared lib
rary | 47 'sklua', # This can only be built if skia is built as a shared lib
rary |
47 ], | 48 ], |
48 }, | 49 }, |
49 ], | 50 ], |
50 ], | 51 ], |
51 }, | 52 }, |
52 { | 53 { |
| 54 'target_name': 'bitmap_region_decoder', |
| 55 'type': 'static_library', |
| 56 'sources': [ |
| 57 '../tools/SkBitmapRegionCanvas.cpp', |
| 58 '../tools/SkBitmapRegionDecoderInterface.cpp', |
| 59 '../tools/SkBitmapRegionSampler.cpp', |
| 60 ], |
| 61 'include_dirs': [ |
| 62 '../include/private' |
| 63 ], |
| 64 'dependencies': [ |
| 65 'skia_lib.gyp:skia_lib', |
| 66 ], |
| 67 }, |
| 68 { |
53 'target_name': 'chrome_fuzz', | 69 'target_name': 'chrome_fuzz', |
54 'type': 'executable', | 70 'type': 'executable', |
55 'sources': [ | 71 'sources': [ |
56 '../tools/chrome_fuzz.cpp', | 72 '../tools/chrome_fuzz.cpp', |
57 ], | 73 ], |
58 'dependencies': [ | 74 'dependencies': [ |
59 'skia_lib.gyp:skia_lib', | 75 'skia_lib.gyp:skia_lib', |
60 ], | 76 ], |
61 }, | 77 }, |
62 { | 78 { |
(...skipping 758 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
821 'flags.gyp:flags', | 837 'flags.gyp:flags', |
822 'skia_lib.gyp:skia_lib', | 838 'skia_lib.gyp:skia_lib', |
823 'resources', | 839 'resources', |
824 ], | 840 ], |
825 }, | 841 }, |
826 ], | 842 ], |
827 }, | 843 }, |
828 ], | 844 ], |
829 ], | 845 ], |
830 } | 846 } |
OLD | NEW |