Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(299)

Side by Side Diff: gyp/tools.gyp

Issue 1416913003: Clean up some dead code. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: kill dump-record Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « BUILD.public ('k') | src/svg/skp2svg.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 Google Inc. 1 # Copyright 2015 Google Inc.
2 # 2 #
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 # GYP file to build various tools. 5 # GYP file to build various tools.
6 # 6 #
7 # To build on Linux: 7 # To build on Linux:
8 # ./gyp_skia tools.gyp && make tools 8 # ./gyp_skia tools.gyp && make tools
9 # 9 #
10 { 10 {
11 'includes': [ 11 'includes': [
12 'apptype_console.gypi', 12 'apptype_console.gypi',
13 ], 13 ],
14 'targets': [ 14 'targets': [
15 { 15 {
16 # Build all executable targets defined below. 16 # Build all executable targets defined below.
17 'target_name': 'tools', 17 'target_name': 'tools',
18 'type': 'none', 18 'type': 'none',
19 'dependencies': [ 19 'dependencies': [
20 'bench_pictures',
21 'bitmap_region_decoder', 20 'bitmap_region_decoder',
22 'chrome_fuzz', 21 'chrome_fuzz',
23 'dump_record',
24 'filter', 22 'filter',
25 'flatten',
26 'gpuveto', 23 'gpuveto',
27 'imgblur', 24 'imgblur',
28 'imgconv', 25 'imgconv',
29 'imgslice', 26 'imgslice',
30 'lua_app', 27 'lua_app',
31 'lua_pictures', 28 'lua_pictures',
32 'pinspect', 29 'pinspect',
33 'render_pdfs', 30 'render_pdfs',
34 'render_pictures',
35 'skdiff', 31 'skdiff',
36 'skhello', 32 'skhello',
37 'skp2svg',
38 'skpdiff', 33 'skpdiff',
39 'skpinfo', 34 'skpinfo',
40 'skpmaker', 35 'skpmaker',
41 'test_image_decoder', 36 'test_image_decoder',
42 'test_public_includes', 37 'test_public_includes',
43 'whitelist_typefaces', 38 'whitelist_typefaces',
44 ], 39 ],
45 'conditions': [ 40 'conditions': [
46 ['skia_shared_lib', 41 ['skia_shared_lib',
47 { 42 {
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 ], 332 ],
338 'include_dirs': [ 333 'include_dirs': [
339 '../include/core', 334 '../include/core',
340 ], 335 ],
341 'dependencies': [ 336 'dependencies': [
342 'flags.gyp:flags', 337 'flags.gyp:flags',
343 'skia_lib.gyp:skia_lib', 338 'skia_lib.gyp:skia_lib',
344 ], 339 ],
345 }, 340 },
346 { 341 {
347 'target_name': 'flatten', 342 'target_name': 'lazy_decode_bitmap',
348 'type': 'executable', 343 'type': 'static_library',
349 'sources': [ 344 'sources': [ '../tools/LazyDecodeBitmap.cpp' ],
350 '../tools/flatten.cpp', 345 'include_dirs': [
351 ], 346 '../include/private',
352 'dependencies': [ 347 '../src/core',
353 'skia_lib.gyp:skia_lib', 348 '../src/lazy',
354 ], 349 ],
355 }, 350 'dependencies': [
356 { 351 'flags.gyp:flags',
357 # Superseded by dm, should be removed. 352 'skia_lib.gyp:skia_lib'
358 'target_name': 'skp2svg', 353 ],
359 'type': 'executable',
360 'sources': [
361 '../src/svg/skp2svg.cpp',
362 '../tools/LazyDecodeBitmap.cpp',
363 ],
364 'include_dirs': [
365 '../include/private',
366 '../src/core/',
367 '../src/lazy/',
368 '../tools/',
369 ],
370 'dependencies': [
371 'flags.gyp:flags',
372 'skia_lib.gyp:skia_lib',
373 'svg.gyp:svg',
374 'xml.gyp:xml',
375 ],
376 }, 354 },
377 { 355 {
378 'target_name': 'gpuveto', 356 'target_name': 'gpuveto',
379 'type': 'executable', 357 'type': 'executable',
380 'sources': [ 358 'sources': [
381 '../tools/gpuveto.cpp', 359 '../tools/gpuveto.cpp',
382 '../tools/LazyDecodeBitmap.cpp',
383 ], 360 ],
384 'include_dirs': [ 361 'include_dirs': [
385 '../include/private', 362 '../include/private',
386 '../src/core/', 363 '../src/core/',
387 '../src/images', 364 '../src/images',
388 '../src/lazy',
389 ], 365 ],
390 'dependencies': [ 366 'dependencies': [
367 'lazy_decode_bitmap',
391 'flags.gyp:flags', 368 'flags.gyp:flags',
392 'skia_lib.gyp:skia_lib', 369 'skia_lib.gyp:skia_lib',
393 ], 370 ],
394 }, 371 },
395 { 372 {
396 'target_name': 'lua_app', 373 'target_name': 'lua_app',
397 'type': 'executable', 374 'type': 'executable',
398 'sources': [ 375 'sources': [
399 '../tools/lua/lua_app.cpp', 376 '../tools/lua/lua_app.cpp',
400 '../src/utils/SkLua.cpp', 377 '../src/utils/SkLua.cpp',
(...skipping 21 matching lines...) Expand all
422 '../src/utils/SkLuaCanvas.cpp', 399 '../src/utils/SkLuaCanvas.cpp',
423 '../src/utils/SkLua.cpp', 400 '../src/utils/SkLua.cpp',
424 ], 401 ],
425 'include_dirs': [ 402 'include_dirs': [
426 '../include/private', 403 '../include/private',
427 # Lua exposes GrReduceClip which in turn requires src/core for SkTLList 404 # Lua exposes GrReduceClip which in turn requires src/core for SkTLList
428 '../src/gpu/', 405 '../src/gpu/',
429 '../src/core/', 406 '../src/core/',
430 ], 407 ],
431 'dependencies': [ 408 'dependencies': [
409 'lazy_decode_bitmap',
432 'effects.gyp:effects', 410 'effects.gyp:effects',
433 'flags.gyp:flags', 411 'flags.gyp:flags',
434 'images.gyp:images', 412 'images.gyp:images',
435 'lua.gyp:lua', 413 'lua.gyp:lua',
436 'tools.gyp:picture_renderer',
437 'tools.gyp:picture_utils', 414 'tools.gyp:picture_utils',
438 'pdf.gyp:pdf', 415 'pdf.gyp:pdf',
439 'ports.gyp:ports', 416 'ports.gyp:ports',
440 'skia_lib.gyp:skia_lib', 417 'skia_lib.gyp:skia_lib',
441 ], 418 ],
442 }, 419 },
443 { 420 {
444 'target_name': 'render_pictures',
445 'type': 'executable',
446 'sources': [
447 '../tools/render_pictures_main.cpp',
448 ],
449 'include_dirs': [
450 '../include/private',
451 '../src/core',
452 '../src/images',
453 '../src/lazy',
454 '../src/pipe/utils/',
455 ],
456 'dependencies': [
457 'flags.gyp:flags',
458 'skia_lib.gyp:skia_lib',
459 'tools.gyp:picture_renderer',
460 'tools.gyp:picture_utils',
461 ],
462 },
463 {
464 'target_name': 'bench_pictures',
465 'type': 'executable',
466 'sources': [
467 '../bench/BenchLogger.cpp',
468 '../bench/BenchLogger.h',
469 '../tools/PictureBenchmark.cpp',
470 '../tools/PictureResultsWriter.h',
471 '../tools/bench_pictures_main.cpp',
472 ],
473 'include_dirs': [
474 '../include/private',
475 '../src/core/',
476 '../bench',
477 '../src/lazy/',
478 ],
479 'dependencies': [
480 'timer',
481 'crash_handler',
482 'flags.gyp:flags',
483 'jsoncpp.gyp:jsoncpp',
484 'skia_lib.gyp:skia_lib',
485 'tools.gyp:picture_renderer',
486 'tools.gyp:picture_utils',
487 ],
488 'conditions': [
489 ['skia_android_framework == 1', {
490 'libraries': [ '-lskia' ],
491 }],
492 ],
493 },
494 {
495 'target_name': 'dump_record',
496 'type': 'executable',
497 'sources': [
498 '../tools/dump_record.cpp',
499 '../tools/DumpRecord.cpp',
500 '../tools/LazyDecodeBitmap.cpp',
501 ],
502 'include_dirs': [
503 '../include/private',
504 '../src/core/',
505 '../src/images',
506 '../src/lazy',
507 ],
508 'dependencies': [
509 'timer',
510 'flags.gyp:flags',
511 'skia_lib.gyp:skia_lib',
512 ],
513 },
514 {
515 'target_name': 'picture_renderer', 421 'target_name': 'picture_renderer',
516 'type': 'static_library', 422 'type': 'static_library',
517 'sources': [ 423 'sources': [
518 '../tools/image_expectations.h',
519 '../tools/image_expectations.cpp',
520 '../tools/LazyDecodeBitmap.cpp',
521 '../tools/PictureRenderer.h', 424 '../tools/PictureRenderer.h',
522 '../tools/PictureRenderer.cpp', 425 '../tools/PictureRenderer.cpp',
523 '../tools/PictureRenderingFlags.h',
524 '../tools/PictureRenderingFlags.cpp',
525 '../tools/CopyTilesRenderer.h',
526 '../tools/CopyTilesRenderer.cpp',
527 '../src/pipe/utils/SamplePipeControllers.h',
528 '../src/pipe/utils/SamplePipeControllers.cpp',
529 ], 426 ],
530 'include_dirs': [ 427 'include_dirs': [
531 '../include/private', 428 '../include/private',
532 '../src/core', 429 '../src/core',
533 '../src/images', 430 '../src/images',
534 '../src/lazy', 431 '../src/lazy',
535 '../src/pipe/utils/', 432 '../src/pipe/utils/',
536 '../src/utils/', 433 '../src/utils/',
537 ], 434 ],
538 'direct_dependent_settings': {
539 'include_dirs': [
540 # needed for JSON headers used within image_expectations.h
541 '../third_party/externals/jsoncpp-chromium/overrides/include/',
542 '../third_party/externals/jsoncpp/include/',
543 ],
544 },
545 'dependencies': [ 435 'dependencies': [
436 'lazy_decode_bitmap',
546 'flags.gyp:flags', 437 'flags.gyp:flags',
547 'jsoncpp.gyp:jsoncpp', 438 'jsoncpp.gyp:jsoncpp',
548 'skia_lib.gyp:skia_lib', 439 'skia_lib.gyp:skia_lib',
549 'tools.gyp:picture_utils', 440 'tools.gyp:picture_utils',
550 ], 441 ],
551 'conditions': [ 442 'conditions': [
552 ['skia_gpu == 1', 443 ['skia_gpu == 1',
553 { 444 {
554 'include_dirs' : [ 445 'include_dirs' : [
555 '../src/gpu', 446 '../src/gpu',
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
635 ], 526 ],
636 }, 527 },
637 }, 528 },
638 { 529 {
639 'target_name': 'pinspect', 530 'target_name': 'pinspect',
640 'type': 'executable', 531 'type': 'executable',
641 'sources': [ 532 'sources': [
642 '../tools/pinspect.cpp', 533 '../tools/pinspect.cpp',
643 ], 534 ],
644 'dependencies': [ 535 'dependencies': [
536 'lazy_decode_bitmap',
645 'flags.gyp:flags', 537 'flags.gyp:flags',
646 'skia_lib.gyp:skia_lib', 538 'skia_lib.gyp:skia_lib',
647 'tools.gyp:picture_renderer',
648 ], 539 ],
649 }, 540 },
650 { 541 {
651 'target_name': 'imgconv', 542 'target_name': 'imgconv',
652 'type': 'executable', 543 'type': 'executable',
653 'sources': [ 544 'sources': [
654 '../tools/imgconv.cpp', 545 '../tools/imgconv.cpp',
655 ], 546 ],
656 'dependencies': [ 547 'dependencies': [
657 'flags.gyp:flags', 548 'flags.gyp:flags',
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
869 'flags.gyp:flags', 760 'flags.gyp:flags',
870 'skia_lib.gyp:skia_lib', 761 'skia_lib.gyp:skia_lib',
871 'resources', 762 'resources',
872 ], 763 ],
873 }, 764 },
874 ], 765 ],
875 }, 766 },
876 ], 767 ],
877 ], 768 ],
878 } 769 }
OLDNEW
« no previous file with comments | « BUILD.public ('k') | src/svg/skp2svg.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698