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': [ |
11 { | 11 { |
12 # Build all executable targets defined below. | 12 # Build all executable targets defined below. |
13 'target_name': 'tools', | 13 'target_name': 'tools', |
14 'type': 'none', | 14 'type': 'none', |
15 'dependencies': [ | 15 'dependencies': [ |
16 'bbh_shootout', | |
17 'bench_pictures', | 16 'bench_pictures', |
18 'dump_record', | 17 'dump_record', |
19 'filter', | 18 'filter', |
20 'gpuveto', | 19 'gpuveto', |
21 'lua_app', | 20 'lua_app', |
22 'lua_pictures', | 21 'lua_pictures', |
23 'imgconv', | 22 'imgconv', |
24 'pinspect', | 23 'pinspect', |
25 'render_pdfs', | 24 'render_pdfs', |
26 'render_pictures', | 25 'render_pictures', |
27 'skdiff', | 26 'skdiff', |
28 'skhello', | 27 'skhello', |
29 'skpdiff', | 28 'skpdiff', |
30 'skpinfo', | 29 'skpinfo', |
31 'skpmaker', | 30 'skpmaker', |
32 'test_image_decoder', | 31 'test_image_decoder', |
33 'test_public_includes', | 32 'test_public_includes', |
34 ], | 33 ], |
35 'conditions': [ | 34 'conditions': [ |
36 ['skia_shared_lib', | 35 ['skia_shared_lib', |
37 { | 36 { |
38 'dependencies': [ | 37 'dependencies': [ |
39 'sklua', # This can only be built if skia is built as a shared lib
rary | 38 'sklua', # This can only be built if skia is built as a shared lib
rary |
40 ], | 39 ], |
41 }, | 40 }, |
42 ], | 41 ], |
43 ], | 42 ], |
44 }, | 43 }, |
45 { | 44 { |
46 'target_name': 'gm_expectations', | |
47 'type': 'static_library', | |
48 'include_dirs' : [ '../src/utils/' ], | |
49 'sources': [ | |
50 '../gm/gm_expectations.cpp', | |
51 ], | |
52 'dependencies': [ | |
53 'jsoncpp.gyp:jsoncpp', | |
54 'sk_tool_utils', | |
55 'skia_lib.gyp:skia_lib', | |
56 ], | |
57 'direct_dependent_settings': { | |
58 'include_dirs': [ '../gm/' ], | |
59 }, | |
60 }, | |
61 { | |
62 'target_name': 'crash_handler', | 45 'target_name': 'crash_handler', |
63 'type': 'static_library', | 46 'type': 'static_library', |
64 'sources': [ '../tools/CrashHandler.cpp' ], | 47 'sources': [ '../tools/CrashHandler.cpp' ], |
65 'dependencies': [ 'skia_lib.gyp:skia_lib' ], | 48 'dependencies': [ 'skia_lib.gyp:skia_lib' ], |
66 'direct_dependent_settings': { | 49 'direct_dependent_settings': { |
67 'include_dirs': [ '../tools' ], | 50 'include_dirs': [ '../tools' ], |
68 }, | 51 }, |
69 'all_dependent_settings': { | 52 'all_dependent_settings': { |
70 'msvs_settings': { | 53 'msvs_settings': { |
71 'VCLinkerTool': { | 54 'VCLinkerTool': { |
(...skipping 478 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
550 'type': 'executable', | 533 'type': 'executable', |
551 'sources': [ | 534 'sources': [ |
552 '../tools/imgconv.cpp', | 535 '../tools/imgconv.cpp', |
553 ], | 536 ], |
554 'dependencies': [ | 537 'dependencies': [ |
555 'flags.gyp:flags', | 538 'flags.gyp:flags', |
556 'skia_lib.gyp:skia_lib', | 539 'skia_lib.gyp:skia_lib', |
557 ], | 540 ], |
558 }, | 541 }, |
559 { | 542 { |
560 'target_name': 'bbh_shootout', | |
561 'type': 'executable', | |
562 'include_dirs': [ | |
563 '../bench', | |
564 '../tools/' | |
565 ], | |
566 'sources': [ | |
567 '../tools/bbh_shootout.cpp', | |
568 | |
569 # Bench code: | |
570 ], | |
571 'dependencies': [ | |
572 'timer', | |
573 'flags.gyp:flags', | |
574 'skia_lib.gyp:skia_lib', | |
575 'tools.gyp:picture_renderer', | |
576 'tools.gyp:picture_utils', | |
577 ], | |
578 }, | |
579 { | |
580 'target_name': 'filter', | 543 'target_name': 'filter', |
581 'type': 'executable', | 544 'type': 'executable', |
582 'include_dirs' : [ | 545 'include_dirs' : [ |
583 '../src/core', | 546 '../src/core', |
584 '../src/utils/debugger', | 547 '../src/utils/debugger', |
585 ], | 548 ], |
586 'sources': [ | 549 'sources': [ |
587 '../tools/filtermain.cpp', | 550 '../tools/filtermain.cpp', |
588 '../src/utils/debugger/SkDrawCommand.h', | 551 '../src/utils/debugger/SkDrawCommand.h', |
589 '../src/utils/debugger/SkDrawCommand.cpp', | 552 '../src/utils/debugger/SkDrawCommand.cpp', |
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
772 'flags.gyp:flags', | 735 'flags.gyp:flags', |
773 'skia_lib.gyp:skia_lib', | 736 'skia_lib.gyp:skia_lib', |
774 'resources', | 737 'resources', |
775 ], | 738 ], |
776 }, | 739 }, |
777 ], | 740 ], |
778 }, | 741 }, |
779 ], | 742 ], |
780 ], | 743 ], |
781 } | 744 } |
OLD | NEW |