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