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 # Building on other platforms not tested yet. |
| 7 # |
6 { | 8 { |
7 'includes': [ | 9 'includes': [ |
8 'apptype_console.gypi', | 10 'apptype_console.gypi', |
9 ], | 11 ], |
10 'targets': [ | 12 'targets': [ |
11 { | 13 { |
12 # Build all executable targets defined below. | 14 # Build all executable targets defined below. |
13 'target_name': 'tools', | 15 'target_name': 'tools', |
14 'type': 'none', | 16 'type': 'none', |
15 'dependencies': [ | 17 'dependencies': [ |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 'skia_base_libs.gyp:skia_base_libs', | 59 'skia_base_libs.gyp:skia_base_libs', |
58 'effects.gyp:effects', | 60 'effects.gyp:effects', |
59 'images.gyp:images', | 61 'images.gyp:images', |
60 ], | 62 ], |
61 }, | 63 }, |
62 { | 64 { |
63 'target_name': 'skhello', | 65 'target_name': 'skhello', |
64 'type': 'executable', | 66 'type': 'executable', |
65 'sources': [ | 67 'sources': [ |
66 '../tools/skhello.cpp', | 68 '../tools/skhello.cpp', |
| 69 '../tools/SkFlags.h', |
| 70 '../tools/SkFlags.cpp', |
67 ], | 71 ], |
68 'dependencies': [ | 72 'dependencies': [ |
69 'skia_base_libs.gyp:skia_base_libs', | 73 'skia_base_libs.gyp:skia_base_libs', |
70 'effects.gyp:effects', | 74 'effects.gyp:effects', |
71 'flags.gyp:flags', | |
72 'images.gyp:images', | 75 'images.gyp:images', |
73 ], | 76 ], |
74 }, | 77 }, |
75 { | 78 { |
76 'target_name': 'skimage', | 79 'target_name': 'skimage', |
77 'type': 'executable', | 80 'type': 'executable', |
78 'sources': [ | 81 'sources': [ |
79 '../tools/skimage_main.cpp', | 82 '../tools/skimage_main.cpp', |
80 ], | 83 ], |
81 'dependencies': [ | 84 'dependencies': [ |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 { | 130 { |
128 'target_name': 'picture_renderer', | 131 'target_name': 'picture_renderer', |
129 'type': 'static_library', | 132 'type': 'static_library', |
130 'sources': [ | 133 'sources': [ |
131 '../tools/PictureRenderer.h', | 134 '../tools/PictureRenderer.h', |
132 '../tools/PictureRenderer.cpp', | 135 '../tools/PictureRenderer.cpp', |
133 '../tools/PictureRenderingFlags.h', | 136 '../tools/PictureRenderingFlags.h', |
134 '../tools/PictureRenderingFlags.cpp', | 137 '../tools/PictureRenderingFlags.cpp', |
135 '../tools/CopyTilesRenderer.h', | 138 '../tools/CopyTilesRenderer.h', |
136 '../tools/CopyTilesRenderer.cpp', | 139 '../tools/CopyTilesRenderer.cpp', |
| 140 '../tools/SkFlags.h', |
| 141 '../tools/SkFlags.cpp', |
137 '../src/pipe/utils/SamplePipeControllers.h', | 142 '../src/pipe/utils/SamplePipeControllers.h', |
138 '../src/pipe/utils/SamplePipeControllers.cpp', | 143 '../src/pipe/utils/SamplePipeControllers.cpp', |
139 ], | 144 ], |
140 'include_dirs': [ | 145 'include_dirs': [ |
141 '../src/core/', | 146 '../src/core/', |
142 '../src/pipe/utils/', | 147 '../src/pipe/utils/', |
143 '../src/utils/', | 148 '../src/utils/', |
144 ], | 149 ], |
145 'dependencies': [ | 150 'dependencies': [ |
146 'skia_base_libs.gyp:skia_base_libs', | 151 'skia_base_libs.gyp:skia_base_libs', |
147 'effects.gyp:effects', | 152 'effects.gyp:effects', |
148 'images.gyp:images', | 153 'images.gyp:images', |
149 'tools.gyp:picture_utils', | 154 'tools.gyp:picture_utils', |
150 'flags.gyp:flags', | |
151 ], | 155 ], |
152 'conditions': [ | 156 'conditions': [ |
153 ['skia_gpu == 1', | 157 ['skia_gpu == 1', |
154 { | 158 { |
155 'include_dirs' : [ | 159 'include_dirs' : [ |
156 '../src/gpu', | 160 '../src/gpu', |
157 ], | 161 ], |
158 }, | 162 }, |
159 ], | 163 ], |
160 ], | 164 ], |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
286 }, | 290 }, |
287 ], | 291 ], |
288 ], | 292 ], |
289 } | 293 } |
290 | 294 |
291 # Local Variables: | 295 # Local Variables: |
292 # tab-width:2 | 296 # tab-width:2 |
293 # indent-tabs-mode:nil | 297 # indent-tabs-mode:nil |
294 # End: | 298 # End: |
295 # vim: set expandtab tabstop=2 shiftwidth=2: | 299 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |