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 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
177 '../src/utils/', | 177 '../src/utils/', |
178 ], | 178 ], |
179 'dependencies': [ | 179 'dependencies': [ |
180 'core.gyp:core', | 180 'core.gyp:core', |
181 'effects.gyp:effects', | 181 'effects.gyp:effects', |
182 'images.gyp:images', | 182 'images.gyp:images', |
183 'pdf.gyp:pdf', | 183 'pdf.gyp:pdf', |
184 'ports.gyp:ports', | 184 'ports.gyp:ports', |
185 'tools.gyp:picture_utils', | 185 'tools.gyp:picture_utils', |
186 ], | 186 ], |
187 'conditions': [ | |
188 ['skia_win_debuggers_path != ""', | |
borenet
2013/03/07 20:22:39
This expression can just be: 'skia_win_debuggers_p
edisonn
2013/03/07 20:43:42
Done.
| |
189 { | |
190 'dependencies': [ | |
191 'tools.gyp:win_dbghelp', | |
192 ], | |
193 }, | |
194 ], | |
195 # VS static libraries don't have a linker option. We must set a global p roject linker option, or add it to each executable. | |
epoger
2013/03/07 21:09:09
please line-wrap that rascal
edisonn
2013/03/08 15:50:57
Done.
| |
196 ['skia_win_debuggers_path != "" and skia_os == "win" and skia_arch_width == 64', | |
197 { | |
198 'msvs_settings': { | |
199 'VCLinkerTool': { | |
200 'AdditionalDependencies': [ | |
201 '<(skia_win_debuggers_path)/x64/DbgHelp.lib', | |
202 ], | |
203 }, | |
204 }, | |
205 }, | |
206 ], | |
207 ['skia_win_debuggers_path != "" and skia_os == "win" and skia_arch_width == 32', | |
208 { | |
209 'msvs_settings': { | |
210 'VCLinkerTool': { | |
211 'AdditionalDependencies': [ | |
212 '<(skia_win_debuggers_path)/DbgHelp.lib', | |
213 ], | |
214 }, | |
215 }, | |
216 }, | |
217 ], | |
218 ], | |
187 }, | 219 }, |
188 { | 220 { |
189 'target_name': 'picture_utils', | 221 'target_name': 'picture_utils', |
190 'type': 'static_library', | 222 'type': 'static_library', |
191 'sources': [ | 223 'sources': [ |
192 '../tools/picture_utils.cpp', | 224 '../tools/picture_utils.cpp', |
193 '../tools/picture_utils.h', | 225 '../tools/picture_utils.h', |
194 ], | 226 ], |
195 'dependencies': [ | 227 'dependencies': [ |
196 'skia_base_libs.gyp:skia_base_libs', | 228 'skia_base_libs.gyp:skia_base_libs', |
(...skipping 29 matching lines...) Expand all Loading... | |
226 '../debugger/SkObjectParser.h', | 258 '../debugger/SkObjectParser.h', |
227 '../debugger/SkObjectParser.cpp', | 259 '../debugger/SkObjectParser.cpp', |
228 ], | 260 ], |
229 'dependencies': [ | 261 'dependencies': [ |
230 'skia_base_libs.gyp:skia_base_libs', | 262 'skia_base_libs.gyp:skia_base_libs', |
231 'effects.gyp:effects', | 263 'effects.gyp:effects', |
232 'images.gyp:images', | 264 'images.gyp:images', |
233 'tools.gyp:picture_utils', | 265 'tools.gyp:picture_utils', |
234 ], | 266 ], |
235 }, | 267 }, |
268 { | |
269 'target_name': 'win_dbghelp', | |
270 'type': 'static_library', | |
271 'defines': [ | |
272 'SK_CDB_PATH="<(skia_win_debuggers_path)"', | |
273 ], | |
274 'sources': [ | |
275 '../tools/win_dbghelp.h', | |
276 '../tools/win_dbghelp.cpp', | |
277 ], | |
278 }, | |
236 ], | 279 ], |
237 } | 280 } |
238 | 281 |
239 # Local Variables: | 282 # Local Variables: |
240 # tab-width:2 | 283 # tab-width:2 |
241 # indent-tabs-mode:nil | 284 # indent-tabs-mode:nil |
242 # End: | 285 # End: |
243 # vim: set expandtab tabstop=2 shiftwidth=2: | 286 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |