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