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

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: fixing windows AGAIN! 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
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 571 matching lines...) Expand 10 before | Expand all | Expand 10 after
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)/gpu/gl/SkANGLEGLContext.h',
650 '<(skia_include_path)/ports/SkTypeface_mac.h',
651 '<(skia_include_path)/ports/SkTypeface_win.h',
652 '<(skia_include_path)/utils/ios',
653 '<(skia_include_path)/utils/mac',
654 '<(skia_include_path)/utils/win',
655 '<(skia_include_path)/utils/SkDebugUtils.h',
656 '<(skia_include_path)/utils/SkJSONCPP.h',
657 '<(skia_include_path)/utils/SkWGL.h',
658 '<(skia_include_path)/views/SkOSWindow_Android.h',
659 '<(skia_include_path)/views/SkOSWindow_iOS.h',
660 '<(skia_include_path)/views/SkOSWindow_Mac.h',
661 '<(skia_include_path)/views/SkOSWindow_NaCl.h',
662 '<(skia_include_path)/views/SkOSWindow_SDL.h',
663 '<(skia_include_path)/views/SkOSWindow_Unix.h',
664 '<(skia_include_path)/views/SkOSWindow_Win.h',
665 '<(skia_include_path)/views/animated',
666 ],
667 },
668 'include_dirs': [
669 '<@(includes_to_test)',
670 ],
671 'sources': [
672 # unused_param_test.cpp is generated by the action below.
673 '<(INTERMEDIATE_DIR)/test_public_includes.cpp',
674 ],
675 'actions': [
676 {
677 'action_name': 'generate_includes_cpp',
678 'inputs': [
679 '../tools/generate_includes_cpp.py',
680 '<@(includes_to_test)',
681 # This causes the gyp generator on mac to fail
682 #'<@(paths_to_ignore)',
683 ],
684 'outputs': [
685 '<(INTERMEDIATE_DIR)/test_public_includes.cpp',
686 ],
687 'action': ['python', '../tools/generate_includes_cpp.py',
688 '--ignore', '<(paths_to_ignore)',
689 '<@(_outputs)', '<@(includes_to_test)'],
690 },
691 ],
692 },
624 ], 693 ],
625 'conditions': [ 694 'conditions': [
626 ['skia_shared_lib', 695 ['skia_shared_lib',
627 { 696 {
628 'targets': [ 697 'targets': [
629 { 698 {
630 'target_name': 'sklua', 699 'target_name': 'sklua',
631 'product_name': 'skia', 700 'product_name': 'skia',
632 'product_prefix': '', 701 'product_prefix': '',
633 'product_dir': '<(PRODUCT_DIR)/', 702 'product_dir': '<(PRODUCT_DIR)/',
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
706 'flags.gyp:flags', 775 'flags.gyp:flags',
707 'skia_lib.gyp:skia_lib', 776 'skia_lib.gyp:skia_lib',
708 'resources', 777 'resources',
709 ], 778 ],
710 }, 779 },
711 ], 780 ],
712 }, 781 },
713 ], 782 ],
714 ], 783 ],
715 } 784 }
OLDNEW
« no previous file with comments | « gyp/gpu.gypi ('k') | include/core/SkWriteBuffer.h » ('j') | tools/generate_includes_cpp.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698