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 { | 6 { |
| 7 'includes': [ | 7 'includes': [ |
| 8 'apptype_console.gypi', | 8 'apptype_console.gypi', |
| 9 ], | 9 ], |
| 10 'targets': [ | 10 'targets': [ |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 134 'conditions': [ | 134 'conditions': [ |
| 135 [ 'skia_os == "nacl"', { | 135 [ 'skia_os == "nacl"', { |
| 136 'sources': [ | 136 'sources': [ |
| 137 '../platform_tools/nacl/src/nacl_hello.cpp', | 137 '../platform_tools/nacl/src/nacl_hello.cpp', |
| 138 ], | 138 ], |
| 139 }, { | 139 }, { |
| 140 'sources': [ | 140 'sources': [ |
| 141 '../tools/skhello.cpp', | 141 '../tools/skhello.cpp', |
| 142 ], | 142 ], |
| 143 'dependencies': [ | 143 'dependencies': [ |
| 144 'flags.gyp:flags', | |
|
epoger
2013/12/13 18:33:25
alphabetized dependencies throughout this file
| |
| 144 'pdf.gyp:pdf', | 145 'pdf.gyp:pdf', |
| 145 'flags.gyp:flags', | |
| 146 ], | 146 ], |
| 147 }], | 147 }], |
| 148 ], | 148 ], |
| 149 }, | 149 }, |
| 150 { | 150 { |
| 151 'target_name': 'skimage', | 151 'target_name': 'skimage', |
| 152 'type': 'executable', | 152 'type': 'executable', |
| 153 'sources': [ | 153 'sources': [ |
| 154 '../tools/skimage_main.cpp', | 154 '../tools/skimage_main.cpp', |
| 155 ], | 155 ], |
| 156 'include_dirs': [ | 156 'include_dirs': [ |
| 157 # For SkBitmapHasher.h | 157 # For SkBitmapHasher.h |
| 158 '../src/utils/', | 158 '../src/utils/', |
| 159 ], | 159 ], |
| 160 'dependencies': [ | 160 'dependencies': [ |
| 161 'skia_lib.gyp:skia_lib', | |
| 162 'flags.gyp:flags', | 161 'flags.gyp:flags', |
| 163 'gm.gyp:gm_expectations', | 162 'gm.gyp:gm_expectations', |
| 164 'jsoncpp.gyp:jsoncpp', | 163 'jsoncpp.gyp:jsoncpp', |
| 164 'skia_lib.gyp:skia_lib', | |
| 165 'utils.gyp:utils', | 165 'utils.gyp:utils', |
| 166 ], | 166 ], |
| 167 }, | 167 }, |
| 168 | 168 |
| 169 { | 169 { |
| 170 'target_name': 'lua_app', | 170 'target_name': 'lua_app', |
| 171 'type': 'executable', | 171 'type': 'executable', |
| 172 'sources': [ | 172 'sources': [ |
| 173 '../tools/lua/lua_app.cpp', | 173 '../tools/lua/lua_app.cpp', |
| 174 '../src/utils/SkLua.cpp', | 174 '../src/utils/SkLua.cpp', |
| 175 ], | 175 ], |
| 176 'dependencies': [ | 176 'dependencies': [ |
| 177 'skia_lib.gyp:skia_lib', | |
| 178 'effects.gyp:effects', | 177 'effects.gyp:effects', |
| 179 'utils.gyp:utils', | |
| 180 'images.gyp:images', | 178 'images.gyp:images', |
| 179 'lua.gyp:lua', | |
| 181 'pdf.gyp:pdf', | 180 'pdf.gyp:pdf', |
| 182 'ports.gyp:ports', | 181 'ports.gyp:ports', |
| 183 'lua.gyp:lua', | 182 'skia_lib.gyp:skia_lib', |
| 183 'utils.gyp:utils', | |
| 184 ], | 184 ], |
| 185 }, | 185 }, |
| 186 { | 186 { |
| 187 'target_name': 'lua_pictures', | 187 'target_name': 'lua_pictures', |
| 188 'type': 'executable', | 188 'type': 'executable', |
| 189 'sources': [ | 189 'sources': [ |
| 190 '../tools/lua/lua_pictures.cpp', | 190 '../tools/lua/lua_pictures.cpp', |
| 191 '../src/utils/SkLuaCanvas.cpp', | 191 '../src/utils/SkLuaCanvas.cpp', |
| 192 '../src/utils/SkLua.cpp', | 192 '../src/utils/SkLua.cpp', |
| 193 ], | 193 ], |
| 194 'dependencies': [ | 194 'dependencies': [ |
| 195 'skia_lib.gyp:skia_lib', | |
| 196 'effects.gyp:effects', | 195 'effects.gyp:effects', |
| 197 'utils.gyp:utils', | 196 'flags.gyp:flags', |
| 198 'images.gyp:images', | 197 'images.gyp:images', |
| 198 'lua.gyp:lua', | |
| 199 'tools.gyp:picture_renderer', | 199 'tools.gyp:picture_renderer', |
| 200 'tools.gyp:picture_utils', | 200 'tools.gyp:picture_utils', |
| 201 'pdf.gyp:pdf', | 201 'pdf.gyp:pdf', |
| 202 'ports.gyp:ports', | 202 'ports.gyp:ports', |
| 203 'flags.gyp:flags', | 203 'skia_lib.gyp:skia_lib', |
| 204 'lua.gyp:lua', | 204 'utils.gyp:utils', |
| 205 ], | 205 ], |
| 206 }, | 206 }, |
| 207 { | 207 { |
| 208 'target_name': 'render_pictures', | 208 'target_name': 'render_pictures', |
| 209 'type': 'executable', | 209 'type': 'executable', |
| 210 'sources': [ | 210 'sources': [ |
| 211 '../tools/render_pictures_main.cpp', | 211 '../tools/render_pictures_main.cpp', |
| 212 ], | 212 ], |
| 213 'include_dirs': [ | 213 'include_dirs': [ |
| 214 '../src/core', | 214 '../src/core', |
| 215 '../src/images', | 215 '../src/images', |
| 216 '../src/lazy', | 216 '../src/lazy', |
| 217 '../src/pipe/utils/', | 217 '../src/pipe/utils/', |
| 218 ], | 218 ], |
| 219 'dependencies': [ | 219 'dependencies': [ |
| 220 'flags.gyp:flags', | |
| 221 'jsoncpp.gyp:jsoncpp', | |
|
epoger
2013/12/13 18:33:25
hiding amongst the re-alphabetizations are these a
| |
| 220 'skia_lib.gyp:skia_lib', | 222 'skia_lib.gyp:skia_lib', |
| 221 'tools.gyp:picture_renderer', | 223 'tools.gyp:picture_renderer', |
| 222 'tools.gyp:picture_utils', | 224 'tools.gyp:picture_utils', |
| 223 'flags.gyp:flags', | |
| 224 ], | 225 ], |
| 225 }, | 226 }, |
| 226 { | 227 { |
| 227 'target_name': 'bench_pictures', | 228 'target_name': 'bench_pictures', |
| 228 'type': 'executable', | 229 'type': 'executable', |
| 229 'sources': [ | 230 'sources': [ |
| 230 '../bench/SkBenchLogger.h', | 231 '../bench/SkBenchLogger.h', |
| 231 '../bench/SkBenchLogger.cpp', | 232 '../bench/SkBenchLogger.cpp', |
| 232 '../bench/TimerData.h', | 233 '../bench/TimerData.h', |
| 233 '../bench/TimerData.cpp', | 234 '../bench/TimerData.cpp', |
| 234 '../tools/bench_pictures_main.cpp', | 235 '../tools/bench_pictures_main.cpp', |
| 235 '../tools/PictureBenchmark.cpp', | 236 '../tools/PictureBenchmark.cpp', |
| 236 ], | 237 ], |
| 237 'include_dirs': [ | 238 'include_dirs': [ |
| 238 '../src/core/', | 239 '../src/core/', |
| 239 '../bench', | 240 '../bench', |
| 240 '../src/lazy/', | 241 '../src/lazy/', |
| 241 ], | 242 ], |
| 242 'dependencies': [ | 243 'dependencies': [ |
| 244 'bench.gyp:bench_timer', | |
| 245 'flags.gyp:flags', | |
| 246 'jsoncpp.gyp:jsoncpp', | |
| 243 'skia_lib.gyp:skia_lib', | 247 'skia_lib.gyp:skia_lib', |
| 244 'tools.gyp:picture_utils', | 248 'tools.gyp:picture_utils', |
| 245 'tools.gyp:picture_renderer', | 249 'tools.gyp:picture_renderer', |
| 246 'bench.gyp:bench_timer', | |
| 247 'flags.gyp:flags', | |
| 248 ], | 250 ], |
| 249 }, | 251 }, |
| 250 { | 252 { |
| 251 'target_name': 'picture_renderer', | 253 'target_name': 'picture_renderer', |
| 252 'type': 'static_library', | 254 'type': 'static_library', |
| 253 'sources': [ | 255 'sources': [ |
| 254 '../tools/LazyDecodeBitmap.cpp', | 256 '../tools/LazyDecodeBitmap.cpp', |
| 255 '../tools/PictureRenderer.h', | 257 '../tools/PictureRenderer.h', |
| 256 '../tools/PictureRenderer.cpp', | 258 '../tools/PictureRenderer.cpp', |
| 257 '../tools/PictureRenderingFlags.h', | 259 '../tools/PictureRenderingFlags.h', |
| 258 '../tools/PictureRenderingFlags.cpp', | 260 '../tools/PictureRenderingFlags.cpp', |
| 259 '../tools/CopyTilesRenderer.h', | 261 '../tools/CopyTilesRenderer.h', |
| 260 '../tools/CopyTilesRenderer.cpp', | 262 '../tools/CopyTilesRenderer.cpp', |
| 261 '../src/pipe/utils/SamplePipeControllers.h', | 263 '../src/pipe/utils/SamplePipeControllers.h', |
| 262 '../src/pipe/utils/SamplePipeControllers.cpp', | 264 '../src/pipe/utils/SamplePipeControllers.cpp', |
| 263 ], | 265 ], |
| 264 'include_dirs': [ | 266 'include_dirs': [ |
| 265 '../src/core', | 267 '../src/core', |
| 266 '../src/images', | 268 '../src/images', |
| 267 '../src/lazy', | 269 '../src/lazy', |
| 268 '../src/pipe/utils/', | 270 '../src/pipe/utils/', |
| 269 '../src/utils/', | 271 '../src/utils/', |
| 270 ], | 272 ], |
| 271 'dependencies': [ | 273 'dependencies': [ |
| 274 'flags.gyp:flags', | |
| 275 'jsoncpp.gyp:jsoncpp', | |
| 272 'skia_lib.gyp:skia_lib', | 276 'skia_lib.gyp:skia_lib', |
| 273 'tools.gyp:picture_utils', | 277 'tools.gyp:picture_utils', |
| 274 'flags.gyp:flags', | |
| 275 ], | 278 ], |
| 276 'conditions': [ | 279 'conditions': [ |
| 277 ['skia_gpu == 1', | 280 ['skia_gpu == 1', |
| 278 { | 281 { |
| 279 'include_dirs' : [ | 282 'include_dirs' : [ |
| 280 '../src/gpu', | 283 '../src/gpu', |
| 281 ], | 284 ], |
| 282 }, | 285 }, |
| 283 ], | 286 ], |
| 284 ], | 287 ], |
| 285 }, | 288 }, |
| 286 { | 289 { |
| 287 'target_name': 'render_pdfs', | 290 'target_name': 'render_pdfs', |
| 288 'type': 'executable', | 291 'type': 'executable', |
| 289 'sources': [ | 292 'sources': [ |
| 290 '../tools/render_pdfs_main.cpp', | 293 '../tools/render_pdfs_main.cpp', |
| 291 '../tools/PdfRenderer.cpp', | 294 '../tools/PdfRenderer.cpp', |
| 292 '../tools/PdfRenderer.h', | 295 '../tools/PdfRenderer.h', |
| 293 ], | 296 ], |
| 294 'include_dirs': [ | 297 'include_dirs': [ |
| 295 '../src/pipe/utils/', | 298 '../src/pipe/utils/', |
| 296 '../src/utils/', | 299 '../src/utils/', |
| 297 ], | 300 ], |
| 298 'dependencies': [ | 301 'dependencies': [ |
| 302 'pdf.gyp:pdf', | |
| 299 'skia_lib.gyp:skia_lib', | 303 'skia_lib.gyp:skia_lib', |
| 300 'pdf.gyp:pdf', | |
| 301 'tools.gyp:picture_utils', | 304 'tools.gyp:picture_utils', |
| 302 ], | 305 ], |
| 303 'conditions': [ | 306 'conditions': [ |
| 304 ['skia_win_debuggers_path and skia_os == "win"', | 307 ['skia_win_debuggers_path and skia_os == "win"', |
| 305 { | 308 { |
| 306 'dependencies': [ | 309 'dependencies': [ |
| 307 'tools.gyp:win_dbghelp', | 310 'tools.gyp:win_dbghelp', |
| 308 ], | 311 ], |
| 309 }, | 312 }, |
| 310 ], | 313 ], |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 352 ], | 355 ], |
| 353 }, | 356 }, |
| 354 }, | 357 }, |
| 355 { | 358 { |
| 356 'target_name': 'pinspect', | 359 'target_name': 'pinspect', |
| 357 'type': 'executable', | 360 'type': 'executable', |
| 358 'sources': [ | 361 'sources': [ |
| 359 '../tools/pinspect.cpp', | 362 '../tools/pinspect.cpp', |
| 360 ], | 363 ], |
| 361 'dependencies': [ | 364 'dependencies': [ |
| 365 'flags.gyp:flags', | |
| 362 'skia_lib.gyp:skia_lib', | 366 'skia_lib.gyp:skia_lib', |
| 363 'tools.gyp:picture_renderer', | 367 'tools.gyp:picture_renderer', |
| 364 'flags.gyp:flags', | |
| 365 ], | 368 ], |
| 366 }, | 369 }, |
| 367 { | 370 { |
| 368 'target_name': 'bbh_shootout', | 371 'target_name': 'bbh_shootout', |
| 369 'type': 'executable', | 372 'type': 'executable', |
| 370 'include_dirs': [ | 373 'include_dirs': [ |
| 371 '../bench', | 374 '../bench', |
| 372 '../tools/' | 375 '../tools/' |
| 373 ], | 376 ], |
| 374 'sources': [ | 377 'sources': [ |
| 375 '../tools/bbh_shootout.cpp', | 378 '../tools/bbh_shootout.cpp', |
| 376 | 379 |
| 377 # Bench code: | 380 # Bench code: |
| 378 '../bench/TimerData.h', | 381 '../bench/TimerData.h', |
| 379 '../bench/TimerData.cpp', | 382 '../bench/TimerData.cpp', |
| 380 ], | 383 ], |
| 381 'dependencies': [ | 384 'dependencies': [ |
| 385 'bench.gyp:bench_timer', | |
| 386 'flags.gyp:flags', | |
| 387 'jsoncpp.gyp:jsoncpp', | |
| 382 'skia_lib.gyp:skia_lib', | 388 'skia_lib.gyp:skia_lib', |
| 383 'bench.gyp:bench_timer', | 389 'tools.gyp:picture_renderer', |
| 384 'tools.gyp:picture_utils', | 390 'tools.gyp:picture_utils', |
| 385 'tools.gyp:picture_renderer', | |
| 386 'flags.gyp:flags', | |
| 387 ], | 391 ], |
| 388 }, | 392 }, |
| 389 { | 393 { |
| 390 'target_name': 'filter', | 394 'target_name': 'filter', |
| 391 'type': 'executable', | 395 'type': 'executable', |
| 392 'include_dirs' : [ | 396 'include_dirs' : [ |
| 393 '../src/core', | 397 '../src/core', |
| 394 '../src/utils/debugger', | 398 '../src/utils/debugger', |
| 395 ], | 399 ], |
| 396 'sources': [ | 400 'sources': [ |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 480 'type': 'executable', | 484 'type': 'executable', |
| 481 'sources': [ | 485 'sources': [ |
| 482 '../tools/win_lcid.cpp', | 486 '../tools/win_lcid.cpp', |
| 483 ], | 487 ], |
| 484 }, | 488 }, |
| 485 ], | 489 ], |
| 486 }, | 490 }, |
| 487 ], | 491 ], |
| 488 ], | 492 ], |
| 489 } | 493 } |
| OLD | NEW |