Chromium Code Reviews| 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 12 matching lines...) Expand all Loading... | |
| 23 'pinspect', | 23 'pinspect', |
| 24 'render_pdfs', | 24 'render_pdfs', |
| 25 'render_pictures', | 25 'render_pictures', |
| 26 'skdiff', | 26 'skdiff', |
| 27 'skhello', | 27 'skhello', |
| 28 'skpdiff', | 28 'skpdiff', |
| 29 'skpinfo', | 29 'skpinfo', |
| 30 'skpmaker', | 30 'skpmaker', |
| 31 'skimage', | 31 'skimage', |
| 32 'test_image_decoder', | 32 'test_image_decoder', |
| 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 ], |
| (...skipping 571 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 614 'target_name': 'proc_stats', | 615 'target_name': 'proc_stats', |
| 615 'type': 'static_library', | 616 'type': 'static_library', |
| 616 'sources': [ | 617 'sources': [ |
| 617 '../tools/ProcStats.h', | 618 '../tools/ProcStats.h', |
| 618 '../tools/ProcStats.cpp', | 619 '../tools/ProcStats.cpp', |
| 619 ], | 620 ], |
| 620 'direct_dependent_settings': { | 621 'direct_dependent_settings': { |
| 621 'include_dirs': [ '../tools', ], | 622 'include_dirs': [ '../tools', ], |
| 622 }, | 623 }, |
| 623 }, | 624 }, |
| 625 { | |
| 626 'target_name': 'test_public_includes', | |
| 627 'type': 'static_library', | |
| 628 #'cflags!': [ '-Wno-unused-parameter' ], | |
| 629 'variables': { | |
| 630 'includes_to_test': [ | |
| 631 '<(skia_include_path)/animator', | |
| 632 '<(skia_include_path)/c', | |
| 633 '<(skia_include_path)/config', | |
| 634 '<(skia_include_path)/core', | |
| 635 '<(skia_include_path)/effects', | |
| 636 '<(skia_include_path)/gpu', | |
| 637 '<(skia_include_path)/images', | |
| 638 '<(skia_include_path)/pathops', | |
| 639 '<(skia_include_path)/pdf', | |
| 640 '<(skia_include_path)/pipe', | |
| 641 '<(skia_include_path)/ports', | |
| 642 '<(skia_include_path)/svg', | |
| 643 '<(skia_include_path)/utils', | |
| 644 '<(skia_include_path)/views', | |
| 645 '<(skia_include_path)/xml', | |
| 646 ], | |
| 647 'paths_to_ignore': [ | |
| 648 '<(skia_include_path)/gpu/gl/GrGLConfig_chrome.h', | |
| 649 '<(skia_include_path)/ports/SkTypeface_mac.h', | |
| 650 '<(skia_include_path)/ports/SkTypeface_win.h', | |
| 651 '<(skia_include_path)/utils/ios', | |
| 652 '<(skia_include_path)/utils/mac', | |
| 653 '<(skia_include_path)/utils/win', | |
| 654 '<(skia_include_path)/utils/SkDebugUtils.h', | |
| 655 '<(skia_include_path)/utils/SkJSONCPP.h', | |
| 656 '<(skia_include_path)/utils/SkWGL.h', | |
| 657 '<(skia_include_path)/views/SkOSWindow_Android.h', | |
| 658 '<(skia_include_path)/views/SkOSWindow_iOS.h', | |
| 659 '<(skia_include_path)/views/SkOSWindow_Mac.h', | |
| 660 '<(skia_include_path)/views/SkOSWindow_NaCl.h', | |
| 661 '<(skia_include_path)/views/SkOSWindow_SDL.h', | |
| 662 '<(skia_include_path)/views/SkOSWindow_Unix.h', | |
| 663 '<(skia_include_path)/views/SkOSWindow_Win.h', | |
| 664 '<(skia_include_path)/views/animated', | |
| 665 ], | |
| 666 }, | |
| 667 'include_dirs': [ | |
| 668 '<@(includes_to_test)', | |
| 669 ], | |
| 670 'sources': [ | |
| 671 # unused_param_test.cpp is generated by the action below. | |
| 672 '<(INTERMEDIATE_DIR)/test_public_includes.cpp', | |
| 673 ], | |
| 674 'actions': [ | |
| 675 { | |
| 676 'action_name': 'generate_includes_cpp', | |
| 677 'inputs': [ | |
| 678 '../tools/generate_includes_cpp.py', | |
| 679 '<@(includes_to_test)', | |
| 680 # This causes the gyp generator on mac to fail | |
| 681 #'<@(paths_to_ignore)', | |
|
borenet
2014/11/13 15:13:34
I don't think this needs to be listed here anyway.
| |
| 682 ], | |
| 683 'outputs': [ | |
| 684 '<(INTERMEDIATE_DIR)/test_public_includes.cpp', | |
| 685 ], | |
| 686 'action': ['python', '../tools/generate_includes_cpp.py', | |
| 687 '--ignore', '<(paths_to_ignore)', | |
| 688 '<@(_outputs)', '<@(includes_to_test)'], | |
| 689 }, | |
| 690 ], | |
| 691 }, | |
| 624 ], | 692 ], |
| 625 'conditions': [ | 693 'conditions': [ |
| 626 ['skia_shared_lib', | 694 ['skia_shared_lib', |
| 627 { | 695 { |
| 628 'targets': [ | 696 'targets': [ |
| 629 { | 697 { |
| 630 'target_name': 'sklua', | 698 'target_name': 'sklua', |
| 631 'product_name': 'skia', | 699 'product_name': 'skia', |
| 632 'product_prefix': '', | 700 'product_prefix': '', |
| 633 'product_dir': '<(PRODUCT_DIR)/', | 701 'product_dir': '<(PRODUCT_DIR)/', |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 706 'flags.gyp:flags', | 774 'flags.gyp:flags', |
| 707 'skia_lib.gyp:skia_lib', | 775 'skia_lib.gyp:skia_lib', |
| 708 'resources', | 776 'resources', |
| 709 ], | 777 ], |
| 710 }, | 778 }, |
| 711 ], | 779 ], |
| 712 }, | 780 }, |
| 713 ], | 781 ], |
| 714 ], | 782 ], |
| 715 } | 783 } |
| OLD | NEW |