Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(500)

Side by Side Diff: gyp/tools.gyp

Issue 721903002: Cleanup public includes directory. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: &^%%$# Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « gyp/gpu.gypi ('k') | include/core/SkWriteBuffer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 574 matching lines...) Expand 10 before | Expand all | Expand 10 after
617 'target_name': 'proc_stats', 618 'target_name': 'proc_stats',
618 'type': 'static_library', 619 'type': 'static_library',
619 'sources': [ 620 'sources': [
620 '../tools/ProcStats.h', 621 '../tools/ProcStats.h',
621 '../tools/ProcStats.cpp', 622 '../tools/ProcStats.cpp',
622 ], 623 ],
623 'direct_dependent_settings': { 624 'direct_dependent_settings': {
624 'include_dirs': [ '../tools', ], 625 'include_dirs': [ '../tools', ],
625 }, 626 },
626 }, 627 },
628 {
629 'target_name': 'test_public_includes',
630 'type': 'static_library',
631 #'cflags!': [ '-Wno-unused-parameter' ],
632 'variables': {
633 'includes_to_test': [
634 '<(skia_include_path)/animator',
635 '<(skia_include_path)/c',
636 '<(skia_include_path)/config',
637 '<(skia_include_path)/core',
638 '<(skia_include_path)/effects',
639 '<(skia_include_path)/gpu',
640 '<(skia_include_path)/images',
641 '<(skia_include_path)/pathops',
642 '<(skia_include_path)/pdf',
643 '<(skia_include_path)/pipe',
644 '<(skia_include_path)/ports',
645 '<(skia_include_path)/svg',
646 '<(skia_include_path)/utils',
647 '<(skia_include_path)/views',
648 '<(skia_include_path)/xml',
649 ],
650 'paths_to_ignore': [
651 '<(skia_include_path)/gpu/gl/GrGLConfig_chrome.h',
652 '<(skia_include_path)/ports/SkTypeface_mac.h',
653 '<(skia_include_path)/ports/SkTypeface_win.h',
654 '<(skia_include_path)/utils/ios',
655 '<(skia_include_path)/utils/mac',
656 '<(skia_include_path)/utils/win',
657 '<(skia_include_path)/utils/SkDebugUtils.h',
658 '<(skia_include_path)/utils/SkJSONCPP.h',
659 '<(skia_include_path)/utils/SkWGL.h',
660 '<(skia_include_path)/views/animated',
661 '<(skia_include_path)/views/SkOSWindow_Android.h',
662 '<(skia_include_path)/views/SkOSWindow_iOS.h',
663 '<(skia_include_path)/views/SkOSWindow_Mac.h',
664 '<(skia_include_path)/views/SkOSWindow_NaCl.h',
665 '<(skia_include_path)/views/SkOSWindow_SDL.h',
666 '<(skia_include_path)/views/SkOSWindow_Unix.h',
667 '<(skia_include_path)/views/SkOSWindow_Win.h',
668 '<(skia_include_path)/views/SkWindow.h',
669 '<(skia_include_path)/xml/SkJS.h',
670 ],
671 },
672 'include_dirs': [
673 '<@(includes_to_test)',
674 ],
675 'sources': [
676 # unused_param_test.cpp is generated by the action below.
677 '<(INTERMEDIATE_DIR)/test_public_includes.cpp',
678 ],
679 'actions': [
680 {
681 'action_name': 'generate_includes_cpp',
682 'inputs': [
683 '../tools/generate_includes_cpp.py',
684 '<@(includes_to_test)',
685 # This causes the gyp generator on mac to fail
686 #'<@(paths_to_ignore)',
687 ],
688 'outputs': [
689 '<(INTERMEDIATE_DIR)/test_public_includes.cpp',
690 ],
691 'action': ['python', '../tools/generate_includes_cpp.py',
692 '--ignore', '<(paths_to_ignore)',
693 '<@(_outputs)', '<@(includes_to_test)'],
694 },
695 ],
696 },
627 ], 697 ],
628 'conditions': [ 698 'conditions': [
629 ['skia_shared_lib', 699 ['skia_shared_lib',
630 { 700 {
631 'targets': [ 701 'targets': [
632 { 702 {
633 'target_name': 'sklua', 703 'target_name': 'sklua',
634 'product_name': 'skia', 704 'product_name': 'skia',
635 'product_prefix': '', 705 'product_prefix': '',
636 'product_dir': '<(PRODUCT_DIR)/', 706 'product_dir': '<(PRODUCT_DIR)/',
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
709 'flags.gyp:flags', 779 'flags.gyp:flags',
710 'skia_lib.gyp:skia_lib', 780 'skia_lib.gyp:skia_lib',
711 'resources', 781 'resources',
712 ], 782 ],
713 }, 783 },
714 ], 784 ],
715 }, 785 },
716 ], 786 ],
717 ], 787 ],
718 } 788 }
OLDNEW
« no previous file with comments | « gyp/gpu.gypi ('k') | include/core/SkWriteBuffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698