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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 }, | 42 }, |
43 ], | 43 ], |
44 ], | 44 ], |
45 }, | 45 }, |
46 { # This would go in gm.gyp, but it's also used by skimage below. | 46 { # This would go in gm.gyp, but it's also used by skimage below. |
47 'target_name': 'gm_expectations', | 47 'target_name': 'gm_expectations', |
48 'type': 'static_library', | 48 'type': 'static_library', |
49 'include_dirs' : [ '../src/utils/' ], | 49 'include_dirs' : [ '../src/utils/' ], |
50 'sources': [ | 50 'sources': [ |
51 '../gm/gm_expectations.cpp', | 51 '../gm/gm_expectations.cpp', |
52 '../tools/sk_tool_utils.cpp', | |
53 ], | 52 ], |
54 'dependencies': [ | 53 'dependencies': [ |
55 'jsoncpp.gyp:jsoncpp', | 54 'jsoncpp.gyp:jsoncpp', |
| 55 'sk_tool_utils', |
56 'skia_lib.gyp:skia_lib', | 56 'skia_lib.gyp:skia_lib', |
57 ], | 57 ], |
58 'direct_dependent_settings': { | 58 'direct_dependent_settings': { |
59 'include_dirs': [ '../gm/' ], | 59 'include_dirs': [ '../gm/' ], |
60 }, | 60 }, |
61 }, | 61 }, |
62 { | 62 { |
63 'target_name': 'crash_handler', | 63 'target_name': 'crash_handler', |
64 'type': 'static_library', | 64 'type': 'static_library', |
65 'sources': [ '../tools/CrashHandler.cpp' ], | 65 'sources': [ '../tools/CrashHandler.cpp' ], |
(...skipping 11 matching lines...) Expand all Loading... |
77 }, | 77 }, |
78 { | 78 { |
79 'target_name': 'resources', | 79 'target_name': 'resources', |
80 'type': 'static_library', | 80 'type': 'static_library', |
81 'sources': [ '../tools/Resources.cpp' ], | 81 'sources': [ '../tools/Resources.cpp' ], |
82 'dependencies': [ | 82 'dependencies': [ |
83 'flags.gyp:flags', | 83 'flags.gyp:flags', |
84 'skia_lib.gyp:skia_lib', | 84 'skia_lib.gyp:skia_lib', |
85 ], | 85 ], |
86 'direct_dependent_settings': { | 86 'direct_dependent_settings': { |
87 'include_dirs': [ '../tools/', ], | 87 'include_dirs': [ '../tools', ], |
88 }, | 88 }, |
89 }, | 89 }, |
90 { | 90 { |
| 91 'target_name': 'sk_tool_utils', |
| 92 'type': 'static_library', |
| 93 'sources': [ '../tools/sk_tool_utils.cpp' ], |
| 94 'dependencies': [ |
| 95 'skia_lib.gyp:skia_lib', |
| 96 ], |
| 97 'direct_dependent_settings': { |
| 98 'include_dirs': [ '../tools', ], |
| 99 }, |
| 100 }, |
| 101 { |
91 'target_name' : 'timer', | 102 'target_name' : 'timer', |
92 'type': 'static_library', | 103 'type': 'static_library', |
93 'sources': [ | 104 'sources': [ |
94 '../tools/timer/Timer.cpp', | 105 '../tools/timer/Timer.cpp', |
95 '../tools/timer/TimerData.cpp', | 106 '../tools/timer/TimerData.cpp', |
96 ], | 107 ], |
97 'include_dirs': [ | 108 'include_dirs': [ |
98 '../src/core', | 109 '../src/core', |
99 '../src/gpu', | 110 '../src/gpu', |
100 ], | 111 ], |
(...skipping 585 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
686 'type': 'executable', | 697 'type': 'executable', |
687 'sources': [ | 698 'sources': [ |
688 '../tools/win_lcid.cpp', | 699 '../tools/win_lcid.cpp', |
689 ], | 700 ], |
690 }, | 701 }, |
691 ], | 702 ], |
692 }, | 703 }, |
693 ], | 704 ], |
694 ], | 705 ], |
695 } | 706 } |
OLD | NEW |