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 and skia_os == "win"', | |
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 | |
196 # project linker option, or add it to each executable. | |
197 ['skia_win_debuggers_path and skia_os == "win" and ' | |
198 'skia_arch_width == 64', | |
borenet
2013/03/08 16:59:52
Sorry for continuing to nitpick... can we make thi
edisonn
2013/03/08 17:05:39
but it is a 4 space indent, I think it should be c
borenet
2013/03/08 17:11:21
I disagree. To me, the proper alignment for a sec
edisonn
2013/03/08 17:13:12
done; yeah, look better like this
On 2013/03/08 17
| |
199 { | |
200 'msvs_settings': { | |
201 'VCLinkerTool': { | |
202 'AdditionalDependencies': [ | |
203 '<(skia_win_debuggers_path)/x64/DbgHelp.lib', | |
204 ], | |
205 }, | |
206 }, | |
207 }, | |
208 ], | |
209 ['skia_win_debuggers_path and skia_os == "win" and ' | |
210 'skia_arch_width == 32', | |
borenet
2013/03/08 16:59:52
Same here.
edisonn
2013/03/08 17:05:39
same
| |
211 { | |
212 'msvs_settings': { | |
213 'VCLinkerTool': { | |
214 'AdditionalDependencies': [ | |
215 '<(skia_win_debuggers_path)/DbgHelp.lib', | |
216 ], | |
217 }, | |
218 }, | |
219 }, | |
220 ], | |
221 ], | |
187 }, | 222 }, |
188 { | 223 { |
189 'target_name': 'picture_utils', | 224 'target_name': 'picture_utils', |
190 'type': 'static_library', | 225 'type': 'static_library', |
191 'sources': [ | 226 'sources': [ |
192 '../tools/picture_utils.cpp', | 227 '../tools/picture_utils.cpp', |
193 '../tools/picture_utils.h', | 228 '../tools/picture_utils.h', |
194 ], | 229 ], |
195 'dependencies': [ | 230 'dependencies': [ |
196 'skia_base_libs.gyp:skia_base_libs', | 231 'skia_base_libs.gyp:skia_base_libs', |
(...skipping 29 matching lines...) Expand all Loading... | |
226 '../debugger/SkObjectParser.h', | 261 '../debugger/SkObjectParser.h', |
227 '../debugger/SkObjectParser.cpp', | 262 '../debugger/SkObjectParser.cpp', |
228 ], | 263 ], |
229 'dependencies': [ | 264 'dependencies': [ |
230 'skia_base_libs.gyp:skia_base_libs', | 265 'skia_base_libs.gyp:skia_base_libs', |
231 'effects.gyp:effects', | 266 'effects.gyp:effects', |
232 'images.gyp:images', | 267 'images.gyp:images', |
233 'tools.gyp:picture_utils', | 268 'tools.gyp:picture_utils', |
234 ], | 269 ], |
235 }, | 270 }, |
271 { | |
272 'target_name': 'win_dbghelp', | |
273 'type': 'static_library', | |
274 'defines': [ | |
275 'SK_CDB_PATH="<(skia_win_debuggers_path)"', | |
276 ], | |
277 'sources': [ | |
278 '../tools/win_dbghelp.h', | |
279 '../tools/win_dbghelp.cpp', | |
280 ], | |
281 }, | |
236 ], | 282 ], |
237 } | 283 } |
238 | 284 |
239 # Local Variables: | 285 # Local Variables: |
240 # tab-width:2 | 286 # tab-width:2 |
241 # indent-tabs-mode:nil | 287 # indent-tabs-mode:nil |
242 # End: | 288 # End: |
243 # vim: set expandtab tabstop=2 shiftwidth=2: | 289 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |