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. | 6 # Building on other platforms not tested yet. |
7 # | 7 # |
8 { | 8 { |
9 'includes': [ | 9 'includes': [ |
10 'apptype_console.gypi', | 10 'apptype_console.gypi', |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
169 '../src/pipe/utils/', | 169 '../src/pipe/utils/', |
170 '../src/utils/', | 170 '../src/utils/', |
171 ], | 171 ], |
172 'dependencies': [ | 172 'dependencies': [ |
173 'core.gyp:core', | 173 'core.gyp:core', |
174 'effects.gyp:effects', | 174 'effects.gyp:effects', |
175 'images.gyp:images', | 175 'images.gyp:images', |
176 'pdf.gyp:pdf', | 176 'pdf.gyp:pdf', |
177 'ports.gyp:ports', | 177 'ports.gyp:ports', |
178 'tools.gyp:picture_utils', | 178 'tools.gyp:picture_utils', |
179 'tools.gyp:win_dbghelp', | |
borenet
2013/02/28 20:28:19
Please make this opt-in.
edisonn
2013/03/07 19:25:03
Done.
| |
179 ], | 180 ], |
180 }, | 181 }, |
181 { | 182 { |
182 'target_name': 'picture_utils', | 183 'target_name': 'picture_utils', |
183 'type': 'static_library', | 184 'type': 'static_library', |
184 'sources': [ | 185 'sources': [ |
185 '../tools/picture_utils.cpp', | 186 '../tools/picture_utils.cpp', |
186 '../tools/picture_utils.h', | 187 '../tools/picture_utils.h', |
187 ], | 188 ], |
188 'dependencies': [ | 189 'dependencies': [ |
(...skipping 30 matching lines...) Expand all Loading... | |
219 '../debugger/SkObjectParser.h', | 220 '../debugger/SkObjectParser.h', |
220 '../debugger/SkObjectParser.cpp', | 221 '../debugger/SkObjectParser.cpp', |
221 ], | 222 ], |
222 'dependencies': [ | 223 'dependencies': [ |
223 'skia_base_libs.gyp:skia_base_libs', | 224 'skia_base_libs.gyp:skia_base_libs', |
224 'effects.gyp:effects', | 225 'effects.gyp:effects', |
225 'images.gyp:images', | 226 'images.gyp:images', |
226 'tools.gyp:picture_utils', | 227 'tools.gyp:picture_utils', |
227 ], | 228 ], |
228 }, | 229 }, |
230 { | |
231 'target_name': 'win_dbghelp', | |
232 'type': 'static_library', | |
233 'sources': [ | |
234 '../tools/win_dbghelp.h', | |
235 '../tools/win_dbghelp.cpp', | |
236 ], | |
237 'conditions': [ | |
238 ['skia_os == "win"', | |
239 { | |
240 'msvs_settings': { | |
241 'VCLinkerTool': { | |
242 'AdditionalDependencies': [ | |
243 'conditions': [ | |
244 ['skia_arch_width == 64', { | |
245 'c:/DbgHelp/x64/DbgHelp.lib', | |
246 }], | |
247 ['skia_arch_width == 32', { | |
248 'c:/DbgHelp/DbgHelp.lib', | |
edisonn
2013/02/28 17:00:48
q: can gyp set this path from an environment varia
borenet
2013/02/28 20:28:19
Not directly, that I'm aware of, but it could come
edisonn
2013/03/07 19:25:03
Done.
| |
249 }], | |
250 ], | |
251 ], | |
252 }, | |
253 }, | |
254 }, | |
255 ], | |
256 ], | |
257 }, | |
229 ], | 258 ], |
230 } | 259 } |
231 | 260 |
232 # Local Variables: | 261 # Local Variables: |
233 # tab-width:2 | 262 # tab-width:2 |
234 # indent-tabs-mode:nil | 263 # indent-tabs-mode:nil |
235 # End: | 264 # End: |
236 # vim: set expandtab tabstop=2 shiftwidth=2: | 265 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |