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': [ |
(...skipping 512 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
523 'include_dirs': [ | 523 'include_dirs': [ |
524 '../src/core', | 524 '../src/core', |
525 '../src/pipe/utils/', | 525 '../src/pipe/utils/', |
526 '../src/utils/', | 526 '../src/utils/', |
527 ], | 527 ], |
528 'dependencies': [ | 528 'dependencies': [ |
529 'flags.gyp:flags', | 529 'flags.gyp:flags', |
530 'pdf.gyp:pdf', | 530 'pdf.gyp:pdf', |
531 'skia_lib.gyp:skia_lib', | 531 'skia_lib.gyp:skia_lib', |
532 'tools.gyp:picture_utils', | 532 'tools.gyp:picture_utils', |
| 533 'tools.gyp:sk_tool_proc_stats', |
533 ], | 534 ], |
534 'conditions': [ | 535 'conditions': [ |
535 ['skia_win_debuggers_path and skia_os == "win"', | 536 ['skia_win_debuggers_path and skia_os == "win"', |
536 { | 537 { |
537 'dependencies': [ | 538 'dependencies': [ |
538 'tools.gyp:win_dbghelp', | 539 'tools.gyp:win_dbghelp', |
539 ], | 540 ], |
540 }, | 541 }, |
541 ], | 542 ], |
542 # VS static libraries don't have a linker option. We must set a global | 543 # VS static libraries don't have a linker option. We must set a global |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
639 { | 640 { |
640 'target_name': 'test_image_decoder', | 641 'target_name': 'test_image_decoder', |
641 'type': 'executable', | 642 'type': 'executable', |
642 'sources': [ | 643 'sources': [ |
643 '../tools/test_image_decoder.cpp', | 644 '../tools/test_image_decoder.cpp', |
644 ], | 645 ], |
645 'dependencies': [ | 646 'dependencies': [ |
646 'skia_lib.gyp:skia_lib', | 647 'skia_lib.gyp:skia_lib', |
647 ], | 648 ], |
648 }, | 649 }, |
| 650 { |
| 651 'target_name': 'sk_tool_proc_stats', |
| 652 'type': 'static_library', |
| 653 'sources': [ |
| 654 '../tools/ProcStats.h', |
| 655 '../tools/ProcStats.cpp', |
| 656 ], |
| 657 'direct_dependent_settings': { |
| 658 'include_dirs': [ '../tools', ], |
| 659 }, |
| 660 }, |
649 ], | 661 ], |
650 'conditions': [ | 662 'conditions': [ |
651 ['skia_shared_lib', | 663 ['skia_shared_lib', |
652 { | 664 { |
653 'targets': [ | 665 'targets': [ |
654 { | 666 { |
655 'target_name': 'sklua', | 667 'target_name': 'sklua', |
656 'product_name': 'skia', | 668 'product_name': 'skia', |
657 'product_prefix': '', | 669 'product_prefix': '', |
658 'product_dir': '<(PRODUCT_DIR)/', | 670 'product_dir': '<(PRODUCT_DIR)/', |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
731 'flags.gyp:flags', | 743 'flags.gyp:flags', |
732 'skia_lib.gyp:skia_lib', | 744 'skia_lib.gyp:skia_lib', |
733 'resources', | 745 'resources', |
734 ], | 746 ], |
735 }, | 747 }, |
736 ], | 748 ], |
737 }, | 749 }, |
738 ], | 750 ], |
739 ], | 751 ], |
740 } | 752 } |
OLD | NEW |