Chromium Code Reviews| 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 p roject | |
|
borenet
2013/03/08 16:30:56
Nit: I'd still prefer if we stayed under the colum
edisonn
2013/03/08 16:49:13
Done.
| |
| 196 # linker option, or add it to each executable. | |
| 197 ['skia_win_debuggers_path and skia_os == "win" and skia_arch_width == 64 ', | |
|
borenet
2013/03/08 16:30:56
Nit: and here
edisonn
2013/03/08 16:49:13
Done.
| |
| 198 { | |
| 199 'msvs_settings': { | |
| 200 'VCLinkerTool': { | |
| 201 'AdditionalDependencies': [ | |
| 202 '<(skia_win_debuggers_path)/x64/DbgHelp.lib', | |
| 203 ], | |
| 204 }, | |
| 205 }, | |
| 206 }, | |
| 207 ], | |
| 208 ['skia_win_debuggers_path and skia_os == "win" and skia_arch_width == 32 ', | |
|
borenet
2013/03/08 16:30:56
Nit: and here
edisonn
2013/03/08 16:49:13
Done.
| |
| 209 { | |
| 210 'msvs_settings': { | |
| 211 'VCLinkerTool': { | |
| 212 'AdditionalDependencies': [ | |
| 213 '<(skia_win_debuggers_path)/DbgHelp.lib', | |
| 214 ], | |
| 215 }, | |
| 216 }, | |
| 217 }, | |
| 218 ], | |
| 219 ], | |
| 187 }, | 220 }, |
| 188 { | 221 { |
| 189 'target_name': 'picture_utils', | 222 'target_name': 'picture_utils', |
| 190 'type': 'static_library', | 223 'type': 'static_library', |
| 191 'sources': [ | 224 'sources': [ |
| 192 '../tools/picture_utils.cpp', | 225 '../tools/picture_utils.cpp', |
| 193 '../tools/picture_utils.h', | 226 '../tools/picture_utils.h', |
| 194 ], | 227 ], |
| 195 'dependencies': [ | 228 'dependencies': [ |
| 196 'skia_base_libs.gyp:skia_base_libs', | 229 'skia_base_libs.gyp:skia_base_libs', |
| (...skipping 29 matching lines...) Expand all Loading... | |
| 226 '../debugger/SkObjectParser.h', | 259 '../debugger/SkObjectParser.h', |
| 227 '../debugger/SkObjectParser.cpp', | 260 '../debugger/SkObjectParser.cpp', |
| 228 ], | 261 ], |
| 229 'dependencies': [ | 262 'dependencies': [ |
| 230 'skia_base_libs.gyp:skia_base_libs', | 263 'skia_base_libs.gyp:skia_base_libs', |
| 231 'effects.gyp:effects', | 264 'effects.gyp:effects', |
| 232 'images.gyp:images', | 265 'images.gyp:images', |
| 233 'tools.gyp:picture_utils', | 266 'tools.gyp:picture_utils', |
| 234 ], | 267 ], |
| 235 }, | 268 }, |
| 269 { | |
| 270 'target_name': 'win_dbghelp', | |
| 271 'type': 'static_library', | |
| 272 'defines': [ | |
| 273 'SK_CDB_PATH="<(skia_win_debuggers_path)"', | |
| 274 ], | |
| 275 'sources': [ | |
| 276 '../tools/win_dbghelp.h', | |
| 277 '../tools/win_dbghelp.cpp', | |
| 278 ], | |
| 279 }, | |
| 236 ], | 280 ], |
| 237 } | 281 } |
| 238 | 282 |
| 239 # Local Variables: | 283 # Local Variables: |
| 240 # tab-width:2 | 284 # tab-width:2 |
| 241 # indent-tabs-mode:nil | 285 # indent-tabs-mode:nil |
| 242 # End: | 286 # End: |
| 243 # vim: set expandtab tabstop=2 shiftwidth=2: | 287 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |