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 'chrome_fuzz', | 21 'chrome_fuzz', |
22 'dump_record', | 22 'dump_record', |
23 'filter', | 23 'filter', |
| 24 'flatten', |
24 'gpuveto', | 25 'gpuveto', |
25 'lua_app', | 26 'lua_app', |
26 'lua_pictures', | 27 'lua_pictures', |
27 'imgconv', | 28 'imgconv', |
28 'pinspect', | 29 'pinspect', |
29 'render_pdfs', | 30 'render_pdfs', |
30 'render_pictures', | 31 'render_pictures', |
31 'skdiff', | 32 'skdiff', |
32 'skhello', | 33 'skhello', |
33 'skp2svg', | 34 'skp2svg', |
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
270 ], | 271 ], |
271 'include_dirs': [ | 272 'include_dirs': [ |
272 '../src/core/', | 273 '../src/core/', |
273 ], | 274 ], |
274 'dependencies': [ | 275 'dependencies': [ |
275 'flags.gyp:flags', | 276 'flags.gyp:flags', |
276 'skia_lib.gyp:skia_lib', | 277 'skia_lib.gyp:skia_lib', |
277 ], | 278 ], |
278 }, | 279 }, |
279 { | 280 { |
| 281 'target_name': 'flatten', |
| 282 'type': 'executable', |
| 283 'sources': [ |
| 284 '../tools/flatten.cpp', |
| 285 ], |
| 286 'dependencies': [ |
| 287 'skia_lib.gyp:skia_lib', |
| 288 ], |
| 289 }, |
| 290 { |
280 # Superseded by dm, should be removed. | 291 # Superseded by dm, should be removed. |
281 'target_name': 'skp2svg', | 292 'target_name': 'skp2svg', |
282 'type': 'executable', | 293 'type': 'executable', |
283 'sources': [ | 294 'sources': [ |
284 '../src/svg/skp2svg.cpp', | 295 '../src/svg/skp2svg.cpp', |
285 '../tools/LazyDecodeBitmap.cpp', | 296 '../tools/LazyDecodeBitmap.cpp', |
286 ], | 297 ], |
287 'include_dirs': [ | 298 'include_dirs': [ |
288 '../src/core/', | 299 '../src/core/', |
289 '../src/lazy/', | 300 '../src/lazy/', |
(...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
772 'flags.gyp:flags', | 783 'flags.gyp:flags', |
773 'skia_lib.gyp:skia_lib', | 784 'skia_lib.gyp:skia_lib', |
774 'resources', | 785 'resources', |
775 ], | 786 ], |
776 }, | 787 }, |
777 ], | 788 ], |
778 }, | 789 }, |
779 ], | 790 ], |
780 ], | 791 ], |
781 } | 792 } |
OLD | NEW |