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 'dump_record', | 18 'dump_record', |
18 'filter', | 19 'filter', |
19 'gpuveto', | 20 'gpuveto', |
20 'lua_app', | 21 'lua_app', |
21 'lua_pictures', | 22 'lua_pictures', |
22 'imgconv', | 23 'imgconv', |
23 'pinspect', | 24 'pinspect', |
24 'render_pdfs', | 25 'render_pdfs', |
25 'render_pictures', | 26 'render_pictures', |
26 'skdiff', | 27 'skdiff', |
27 'skhello', | 28 'skhello', |
28 'skpdiff', | 29 'skpdiff', |
29 'skpinfo', | 30 'skpinfo', |
30 'skpmaker', | 31 'skpmaker', |
31 'test_image_decoder', | 32 'test_image_decoder', |
32 'test_public_includes', | 33 'test_public_includes', |
33 ], | 34 ], |
34 'conditions': [ | 35 'conditions': [ |
35 ['skia_shared_lib', | 36 ['skia_shared_lib', |
36 { | 37 { |
37 'dependencies': [ | 38 'dependencies': [ |
38 'sklua', # This can only be built if skia is built as a shared lib
rary | 39 'sklua', # This can only be built if skia is built as a shared lib
rary |
39 ], | 40 ], |
40 }, | 41 }, |
41 ], | 42 ], |
42 ], | 43 ], |
43 }, | 44 }, |
44 { | 45 { |
| 46 'target_name': 'gm_expectations', |
| 47 'type': 'static_library', |
| 48 'include_dirs' : [ '../src/utils/' ], |
| 49 'sources': [ |
| 50 '../gm/gm_expectations.cpp', |
| 51 ], |
| 52 'dependencies': [ |
| 53 'jsoncpp.gyp:jsoncpp', |
| 54 'sk_tool_utils', |
| 55 'skia_lib.gyp:skia_lib', |
| 56 ], |
| 57 'direct_dependent_settings': { |
| 58 'include_dirs': [ '../gm/' ], |
| 59 }, |
| 60 }, |
| 61 { |
45 'target_name': 'crash_handler', | 62 'target_name': 'crash_handler', |
46 'type': 'static_library', | 63 'type': 'static_library', |
47 'sources': [ '../tools/CrashHandler.cpp' ], | 64 'sources': [ '../tools/CrashHandler.cpp' ], |
48 'dependencies': [ 'skia_lib.gyp:skia_lib' ], | 65 'dependencies': [ 'skia_lib.gyp:skia_lib' ], |
49 'direct_dependent_settings': { | 66 'direct_dependent_settings': { |
50 'include_dirs': [ '../tools' ], | 67 'include_dirs': [ '../tools' ], |
51 }, | 68 }, |
52 'all_dependent_settings': { | 69 'all_dependent_settings': { |
53 'msvs_settings': { | 70 'msvs_settings': { |
54 'VCLinkerTool': { | 71 'VCLinkerTool': { |
(...skipping 478 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
533 'type': 'executable', | 550 'type': 'executable', |
534 'sources': [ | 551 'sources': [ |
535 '../tools/imgconv.cpp', | 552 '../tools/imgconv.cpp', |
536 ], | 553 ], |
537 'dependencies': [ | 554 'dependencies': [ |
538 'flags.gyp:flags', | 555 'flags.gyp:flags', |
539 'skia_lib.gyp:skia_lib', | 556 'skia_lib.gyp:skia_lib', |
540 ], | 557 ], |
541 }, | 558 }, |
542 { | 559 { |
| 560 'target_name': 'bbh_shootout', |
| 561 'type': 'executable', |
| 562 'include_dirs': [ |
| 563 '../bench', |
| 564 '../tools/' |
| 565 ], |
| 566 'sources': [ |
| 567 '../tools/bbh_shootout.cpp', |
| 568 |
| 569 # Bench code: |
| 570 ], |
| 571 'dependencies': [ |
| 572 'timer', |
| 573 'flags.gyp:flags', |
| 574 'skia_lib.gyp:skia_lib', |
| 575 'tools.gyp:picture_renderer', |
| 576 'tools.gyp:picture_utils', |
| 577 ], |
| 578 }, |
| 579 { |
543 'target_name': 'filter', | 580 'target_name': 'filter', |
544 'type': 'executable', | 581 'type': 'executable', |
545 'include_dirs' : [ | 582 'include_dirs' : [ |
546 '../src/core', | 583 '../src/core', |
547 '../src/utils/debugger', | 584 '../src/utils/debugger', |
548 ], | 585 ], |
549 'sources': [ | 586 'sources': [ |
550 '../tools/filtermain.cpp', | 587 '../tools/filtermain.cpp', |
551 '../src/utils/debugger/SkDrawCommand.h', | 588 '../src/utils/debugger/SkDrawCommand.h', |
552 '../src/utils/debugger/SkDrawCommand.cpp', | 589 '../src/utils/debugger/SkDrawCommand.cpp', |
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
735 'flags.gyp:flags', | 772 'flags.gyp:flags', |
736 'skia_lib.gyp:skia_lib', | 773 'skia_lib.gyp:skia_lib', |
737 'resources', | 774 'resources', |
738 ], | 775 ], |
739 }, | 776 }, |
740 ], | 777 ], |
741 }, | 778 }, |
742 ], | 779 ], |
743 ], | 780 ], |
744 } | 781 } |
OLD | NEW |