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 'bbh_shootout', |
17 'bench_pictures', | 17 'bench_pictures', |
18 'bench_record', | 18 'bench_record', |
19 'bench_playback', | 19 'bench_playback', |
20 'create_test_font', | |
21 'dump_record', | 20 'dump_record', |
22 'filter', | 21 'filter', |
23 'gpuveto', | 22 'gpuveto', |
24 'lua_app', | 23 'lua_app', |
25 'lua_pictures', | 24 'lua_pictures', |
26 'pinspect', | 25 'pinspect', |
27 'render_pdfs', | 26 'render_pdfs', |
28 'render_pictures', | 27 'render_pictures', |
29 'skdiff', | 28 'skdiff', |
30 'skhello', | 29 'skhello', |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 'include_dirs': [ '../tools', ], | 87 'include_dirs': [ '../tools', ], |
89 }, | 88 }, |
90 }, | 89 }, |
91 { | 90 { |
92 'target_name': 'sk_tool_utils', | 91 'target_name': 'sk_tool_utils', |
93 'type': 'static_library', | 92 'type': 'static_library', |
94 'sources': [ | 93 'sources': [ |
95 '../tools/sk_tool_utils.cpp', | 94 '../tools/sk_tool_utils.cpp', |
96 '../tools/sk_tool_utils_font.cpp', | 95 '../tools/sk_tool_utils_font.cpp', |
97 ], | 96 ], |
| 97 'include_dirs': [ |
| 98 '../src/fonts', |
| 99 ], |
98 'dependencies': [ | 100 'dependencies': [ |
| 101 'flags.gyp:flags', |
99 'skia_lib.gyp:skia_lib', | 102 'skia_lib.gyp:skia_lib', |
100 ], | 103 ], |
101 'direct_dependent_settings': { | 104 'direct_dependent_settings': { |
102 'include_dirs': [ '../tools', ], | 105 'include_dirs': [ '../tools', ], |
103 }, | 106 }, |
104 }, | 107 }, |
105 { | 108 { |
106 'target_name' : 'timer', | 109 'target_name' : 'timer', |
107 'type': 'static_library', | 110 'type': 'static_library', |
108 'sources': [ | 111 'sources': [ |
(...skipping 515 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
624 '../src/utils/debugger/SkDebugCanvas.cpp', | 627 '../src/utils/debugger/SkDebugCanvas.cpp', |
625 '../src/utils/debugger/SkObjectParser.h', | 628 '../src/utils/debugger/SkObjectParser.h', |
626 '../src/utils/debugger/SkObjectParser.cpp', | 629 '../src/utils/debugger/SkObjectParser.cpp', |
627 ], | 630 ], |
628 'dependencies': [ | 631 'dependencies': [ |
629 'skia_lib.gyp:skia_lib', | 632 'skia_lib.gyp:skia_lib', |
630 'tools.gyp:picture_utils', | 633 'tools.gyp:picture_utils', |
631 ], | 634 ], |
632 }, | 635 }, |
633 { | 636 { |
634 'target_name': 'create_test_font', | |
635 'type': 'executable', | |
636 'sources': [ | |
637 '../tools/create_test_font.cpp', | |
638 ], | |
639 'include_dirs': [ | |
640 '../src/core', | |
641 ], | |
642 'dependencies': [ | |
643 'flags.gyp:flags', | |
644 'skia_lib.gyp:skia_lib', | |
645 ], | |
646 }, | |
647 { | |
648 'target_name': 'test_image_decoder', | 637 'target_name': 'test_image_decoder', |
649 'type': 'executable', | 638 'type': 'executable', |
650 'sources': [ | 639 'sources': [ |
651 '../tools/test_image_decoder.cpp', | 640 '../tools/test_image_decoder.cpp', |
652 ], | 641 ], |
653 'dependencies': [ | 642 'dependencies': [ |
654 'skia_lib.gyp:skia_lib', | 643 'skia_lib.gyp:skia_lib', |
655 ], | 644 ], |
656 }, | 645 }, |
657 ], | 646 ], |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
716 { | 705 { |
717 'target_name': 'win_lcid', | 706 'target_name': 'win_lcid', |
718 'type': 'executable', | 707 'type': 'executable', |
719 'sources': [ | 708 'sources': [ |
720 '../tools/win_lcid.cpp', | 709 '../tools/win_lcid.cpp', |
721 ], | 710 ], |
722 }, | 711 }, |
723 ], | 712 ], |
724 }, | 713 }, |
725 ], | 714 ], |
| 715 ['skia_os == "mac"', |
| 716 { |
| 717 'targets': [ |
| 718 { |
| 719 'target_name': 'create_test_font', |
| 720 'type': 'executable', |
| 721 'sources': [ |
| 722 '../tools/create_test_font.cpp', |
| 723 ], |
| 724 'include_dirs': [ |
| 725 '../src/core', |
| 726 ], |
| 727 'dependencies': [ |
| 728 'flags.gyp:flags', |
| 729 'skia_lib.gyp:skia_lib', |
| 730 'resources', |
| 731 ], |
| 732 }, |
| 733 ], |
| 734 }, |
| 735 ], |
726 ], | 736 ], |
727 } | 737 } |
OLD | NEW |