| 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', |
| 20 'dump_record', | 21 'dump_record', |
| 21 'filter', | 22 'filter', |
| 22 'gpuveto', | 23 'gpuveto', |
| 23 'lua_app', | 24 'lua_app', |
| 24 'lua_pictures', | 25 'lua_pictures', |
| 25 'pinspect', | 26 'pinspect', |
| 26 'render_pdfs', | 27 'render_pdfs', |
| 27 'render_pictures', | 28 'render_pictures', |
| 28 'skdiff', | 29 'skdiff', |
| 29 'skhello', | 30 'skhello', |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 'flags.gyp:flags', | 84 'flags.gyp:flags', |
| 84 'skia_lib.gyp:skia_lib', | 85 'skia_lib.gyp:skia_lib', |
| 85 ], | 86 ], |
| 86 'direct_dependent_settings': { | 87 'direct_dependent_settings': { |
| 87 'include_dirs': [ '../tools', ], | 88 'include_dirs': [ '../tools', ], |
| 88 }, | 89 }, |
| 89 }, | 90 }, |
| 90 { | 91 { |
| 91 'target_name': 'sk_tool_utils', | 92 'target_name': 'sk_tool_utils', |
| 92 'type': 'static_library', | 93 'type': 'static_library', |
| 93 'sources': [ '../tools/sk_tool_utils.cpp' ], | 94 'sources': [ |
| 95 '../tools/sk_tool_utils.cpp', |
| 96 '../tools/sk_tool_utils_font.cpp', |
| 97 ], |
| 94 'dependencies': [ | 98 'dependencies': [ |
| 95 'skia_lib.gyp:skia_lib', | 99 'skia_lib.gyp:skia_lib', |
| 96 ], | 100 ], |
| 97 'direct_dependent_settings': { | 101 'direct_dependent_settings': { |
| 98 'include_dirs': [ '../tools', ], | 102 'include_dirs': [ '../tools', ], |
| 99 }, | 103 }, |
| 100 }, | 104 }, |
| 101 { | 105 { |
| 102 'target_name' : 'timer', | 106 'target_name' : 'timer', |
| 103 'type': 'static_library', | 107 'type': 'static_library', |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 259 }, | 263 }, |
| 260 { | 264 { |
| 261 'target_name': 'skimage', | 265 'target_name': 'skimage', |
| 262 'type': 'executable', | 266 'type': 'executable', |
| 263 'sources': [ | 267 'sources': [ |
| 264 '../tools/skimage_main.cpp', | 268 '../tools/skimage_main.cpp', |
| 265 ], | 269 ], |
| 266 'include_dirs': [ | 270 'include_dirs': [ |
| 267 # For SkBitmapHasher.h | 271 # For SkBitmapHasher.h |
| 268 '../src/utils/', | 272 '../src/utils/', |
| 273 '../tools/', |
| 269 ], | 274 ], |
| 270 'dependencies': [ | 275 'dependencies': [ |
| 271 'gm_expectations', | 276 'gm_expectations', |
| 272 'flags.gyp:flags', | 277 'flags.gyp:flags', |
| 273 'jsoncpp.gyp:jsoncpp', | 278 'jsoncpp.gyp:jsoncpp', |
| 274 'skia_lib.gyp:skia_lib', | 279 'skia_lib.gyp:skia_lib', |
| 275 ], | 280 ], |
| 276 }, | 281 }, |
| 277 { | 282 { |
| 278 'target_name': 'skpinfo', | 283 'target_name': 'skpinfo', |
| (...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 614 '../src/utils/debugger/SkDebugCanvas.cpp', | 619 '../src/utils/debugger/SkDebugCanvas.cpp', |
| 615 '../src/utils/debugger/SkObjectParser.h', | 620 '../src/utils/debugger/SkObjectParser.h', |
| 616 '../src/utils/debugger/SkObjectParser.cpp', | 621 '../src/utils/debugger/SkObjectParser.cpp', |
| 617 ], | 622 ], |
| 618 'dependencies': [ | 623 'dependencies': [ |
| 619 'skia_lib.gyp:skia_lib', | 624 'skia_lib.gyp:skia_lib', |
| 620 'tools.gyp:picture_utils', | 625 'tools.gyp:picture_utils', |
| 621 ], | 626 ], |
| 622 }, | 627 }, |
| 623 { | 628 { |
| 629 'target_name': 'create_test_font', |
| 630 'type': 'executable', |
| 631 'sources': [ |
| 632 '../tools/create_test_font.cpp', |
| 633 ], |
| 634 'include_dirs': [ |
| 635 '../src/core', |
| 636 ], |
| 637 'dependencies': [ |
| 638 'flags.gyp:flags', |
| 639 'skia_lib.gyp:skia_lib', |
| 640 ], |
| 641 }, |
| 642 { |
| 624 'target_name': 'test_image_decoder', | 643 'target_name': 'test_image_decoder', |
| 625 'type': 'executable', | 644 'type': 'executable', |
| 626 'sources': [ | 645 'sources': [ |
| 627 '../tools/test_image_decoder.cpp', | 646 '../tools/test_image_decoder.cpp', |
| 628 ], | 647 ], |
| 629 'dependencies': [ | 648 'dependencies': [ |
| 630 'skia_lib.gyp:skia_lib', | 649 'skia_lib.gyp:skia_lib', |
| 631 ], | 650 ], |
| 632 }, | 651 }, |
| 633 ], | 652 ], |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 694 'type': 'executable', | 713 'type': 'executable', |
| 695 'sources': [ | 714 'sources': [ |
| 696 '../tools/win_lcid.cpp', | 715 '../tools/win_lcid.cpp', |
| 697 ], | 716 ], |
| 698 }, | 717 }, |
| 699 ], | 718 ], |
| 700 }, | 719 }, |
| 701 ], | 720 ], |
| 702 ], | 721 ], |
| 703 } | 722 } |
| OLD | NEW |