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 'bench_pictures', | 16 'bench_pictures', |
17 'filter', | 17 'filter', |
18 'lua_pictures', | 18 'lua_pictures', |
19 'bbh_shootout', | 19 'bbh_shootout', |
20 'lua_app', | 20 'lua_app', |
21 'pinspect', | 21 'pinspect', |
22 'render_pdfs', | 22 'render_pdfs', |
23 'render_pictures', | 23 'render_pictures', |
24 'skdiff', | 24 'skdiff', |
25 'skpdiff', | 25 'skpdiff', |
26 'skhello', | 26 'skhello', |
27 'skimage', | 27 'skimage', |
| 28 'test_image_decoder', |
28 ], | 29 ], |
29 'conditions': [ | 30 'conditions': [ |
30 ['skia_shared_lib', | 31 ['skia_shared_lib', |
31 { | 32 { |
32 'dependencies': [ | 33 'dependencies': [ |
33 '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 |
34 ], | 35 ], |
35 }, | 36 }, |
36 ], | 37 ], |
37 ], | 38 ], |
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
394 '../src/utils/debugger/SkDebugCanvas.h', | 395 '../src/utils/debugger/SkDebugCanvas.h', |
395 '../src/utils/debugger/SkDebugCanvas.cpp', | 396 '../src/utils/debugger/SkDebugCanvas.cpp', |
396 '../src/utils/debugger/SkObjectParser.h', | 397 '../src/utils/debugger/SkObjectParser.h', |
397 '../src/utils/debugger/SkObjectParser.cpp', | 398 '../src/utils/debugger/SkObjectParser.cpp', |
398 ], | 399 ], |
399 'dependencies': [ | 400 'dependencies': [ |
400 'skia_lib.gyp:skia_lib', | 401 'skia_lib.gyp:skia_lib', |
401 'tools.gyp:picture_utils', | 402 'tools.gyp:picture_utils', |
402 ], | 403 ], |
403 }, | 404 }, |
| 405 { |
| 406 'target_name': 'test_image_decoder', |
| 407 'type': 'executable', |
| 408 'sources': [ |
| 409 '../tools/test_image_decoder.cpp', |
| 410 ], |
| 411 'dependencies': [ |
| 412 'skia_lib.gyp:skia_lib', |
| 413 ], |
| 414 }, |
404 ], | 415 ], |
405 'conditions': [ | 416 'conditions': [ |
406 ['skia_shared_lib', | 417 ['skia_shared_lib', |
407 { | 418 { |
408 'targets': [ | 419 'targets': [ |
409 { | 420 { |
410 'target_name': 'sklua', | 421 'target_name': 'sklua', |
411 'product_name': 'skia', | 422 'product_name': 'skia', |
412 'product_prefix': '', | 423 'product_prefix': '', |
413 'product_dir': '<(PRODUCT_DIR)/', | 424 'product_dir': '<(PRODUCT_DIR)/', |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
468 }, | 479 }, |
469 ], | 480 ], |
470 ], | 481 ], |
471 } | 482 } |
472 | 483 |
473 # Local Variables: | 484 # Local Variables: |
474 # tab-width:2 | 485 # tab-width:2 |
475 # indent-tabs-mode:nil | 486 # indent-tabs-mode:nil |
476 # End: | 487 # End: |
477 # vim: set expandtab tabstop=2 shiftwidth=2: | 488 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |