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 'bench_pictures', | 17 'bench_pictures', |
17 'filter', | 18 'filter', |
| 19 'lua_app', |
18 'lua_pictures', | 20 'lua_pictures', |
19 'bbh_shootout', | |
20 'lua_app', | |
21 'pinspect', | 21 'pinspect', |
22 'render_pdfs', | 22 'render_pdfs', |
23 'render_pictures', | 23 'render_pictures', |
24 'skdiff', | 24 'skdiff', |
| 25 'skhello', |
25 'skpdiff', | 26 'skpdiff', |
26 'skhello', | 27 'skpmaker', |
27 'skimage', | 28 'skimage', |
28 'test_image_decoder', | 29 'test_image_decoder', |
29 ], | 30 ], |
30 'conditions': [ | 31 'conditions': [ |
31 ['skia_shared_lib', | 32 ['skia_shared_lib', |
32 { | 33 { |
33 'dependencies': [ | 34 'dependencies': [ |
34 'sklua', # This can only be built if skia is built as a shared lib
rary | 35 'sklua', # This can only be built if skia is built as a shared lib
rary |
35 ], | 36 ], |
36 }, | 37 }, |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 }], | 104 }], |
104 ], | 105 ], |
105 }, { # !skia_opencl | 106 }, { # !skia_opencl |
106 'sources': [ | 107 'sources': [ |
107 '../tools/skpdiff/SkDifferentPixelsMetric_cpu.cpp', | 108 '../tools/skpdiff/SkDifferentPixelsMetric_cpu.cpp', |
108 ], | 109 ], |
109 }], | 110 }], |
110 ], | 111 ], |
111 }, | 112 }, |
112 { | 113 { |
| 114 'target_name': 'skpmaker', |
| 115 'type': 'executable', |
| 116 'sources': [ |
| 117 '../tools/skpmaker.cpp', |
| 118 ], |
| 119 'include_dirs': [ |
| 120 '../src/core', |
| 121 ], |
| 122 'dependencies': [ |
| 123 'flags.gyp:flags', |
| 124 'skia_lib.gyp:skia_lib', |
| 125 ], |
| 126 }, |
| 127 { |
113 'target_name': 'skimagediff', | 128 'target_name': 'skimagediff', |
114 'type': 'executable', | 129 'type': 'executable', |
115 'sources': [ | 130 'sources': [ |
116 '../tools/skdiff.cpp', | 131 '../tools/skdiff.cpp', |
117 '../tools/skdiff.h', | 132 '../tools/skdiff.h', |
118 '../tools/skdiff_html.cpp', | 133 '../tools/skdiff_html.cpp', |
119 '../tools/skdiff_html.h', | 134 '../tools/skdiff_html.h', |
120 '../tools/skdiff_image.cpp', | 135 '../tools/skdiff_image.cpp', |
121 '../tools/skdiff_utils.cpp', | 136 '../tools/skdiff_utils.cpp', |
122 '../tools/skdiff_utils.h', | 137 '../tools/skdiff_utils.h', |
(...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
491 'type': 'executable', | 506 'type': 'executable', |
492 'sources': [ | 507 'sources': [ |
493 '../tools/win_lcid.cpp', | 508 '../tools/win_lcid.cpp', |
494 ], | 509 ], |
495 }, | 510 }, |
496 ], | 511 ], |
497 }, | 512 }, |
498 ], | 513 ], |
499 ], | 514 ], |
500 } | 515 } |
OLD | NEW |