OLD | NEW |
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 'bitmap_region_decoder', | |
21 'chrome_fuzz', | 20 'chrome_fuzz', |
22 'filter', | 21 'filter', |
23 'gpuveto', | 22 'gpuveto', |
24 'imgblur', | 23 'imgblur', |
25 'imgconv', | 24 'imgconv', |
26 'imgslice', | 25 'imgslice', |
27 'lua_app', | 26 'lua_app', |
28 'lua_pictures', | 27 'lua_pictures', |
29 'pinspect', | 28 'pinspect', |
30 'render_pdfs', | 29 'render_pdfs', |
(...skipping 10 matching lines...) Expand all Loading... |
41 ['skia_shared_lib', | 40 ['skia_shared_lib', |
42 { | 41 { |
43 'dependencies': [ | 42 'dependencies': [ |
44 'sklua', # This can only be built if skia is built as a shared lib
rary | 43 'sklua', # This can only be built if skia is built as a shared lib
rary |
45 ], | 44 ], |
46 }, | 45 }, |
47 ], | 46 ], |
48 ], | 47 ], |
49 }, | 48 }, |
50 { | 49 { |
51 'target_name': 'bitmap_region_decoder', | |
52 'type': 'static_library', | |
53 'sources': [ | |
54 '../tools/android/SkBitmapRegionCanvas.cpp', | |
55 '../tools/android/SkBitmapRegionCodec.cpp', | |
56 '../tools/android/SkBitmapRegionDecoder.cpp', | |
57 ], | |
58 'include_dirs': [ | |
59 '../include/private', | |
60 '../src/codec', | |
61 ], | |
62 'dependencies': [ | |
63 'skia_lib.gyp:skia_lib', | |
64 ], | |
65 'direct_dependent_settings': { | |
66 'include_dirs': [ | |
67 '../tools/android', | |
68 ], | |
69 }, | |
70 }, | |
71 { | |
72 'target_name': 'chrome_fuzz', | 50 'target_name': 'chrome_fuzz', |
73 'type': 'executable', | 51 'type': 'executable', |
74 'sources': [ | 52 'sources': [ |
75 '../tools/chrome_fuzz.cpp', | 53 '../tools/chrome_fuzz.cpp', |
76 ], | 54 ], |
77 'dependencies': [ | 55 'dependencies': [ |
78 'skia_lib.gyp:skia_lib', | 56 'skia_lib.gyp:skia_lib', |
79 ], | 57 ], |
80 }, | 58 }, |
81 { | 59 { |
(...skipping 498 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
580 ], | 558 ], |
581 }, | 559 }, |
582 { | 560 { |
583 'target_name': 'test_public_includes', | 561 'target_name': 'test_public_includes', |
584 'type': 'static_library', | 562 'type': 'static_library', |
585 # Ensure that our public headers don't have unused params so that clients | 563 # Ensure that our public headers don't have unused params so that clients |
586 # (e.g. Android) that include us can build with these warnings enabled | 564 # (e.g. Android) that include us can build with these warnings enabled |
587 'cflags!': [ '-Wno-unused-parameter' ], | 565 'cflags!': [ '-Wno-unused-parameter' ], |
588 'variables': { | 566 'variables': { |
589 'includes_to_test': [ | 567 'includes_to_test': [ |
| 568 '<(skia_include_path)/android', |
590 '<(skia_include_path)/animator', | 569 '<(skia_include_path)/animator', |
591 '<(skia_include_path)/c', | 570 '<(skia_include_path)/c', |
592 '<(skia_include_path)/codec', | 571 '<(skia_include_path)/codec', |
593 '<(skia_include_path)/config', | 572 '<(skia_include_path)/config', |
594 '<(skia_include_path)/core', | 573 '<(skia_include_path)/core', |
595 '<(skia_include_path)/effects', | 574 '<(skia_include_path)/effects', |
596 '<(skia_include_path)/gpu', | 575 '<(skia_include_path)/gpu', |
597 '<(skia_include_path)/images', | 576 '<(skia_include_path)/images', |
598 '<(skia_include_path)/pathops', | 577 '<(skia_include_path)/pathops', |
599 '<(skia_include_path)/pipe', | 578 '<(skia_include_path)/pipe', |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
738 'flags.gyp:flags', | 717 'flags.gyp:flags', |
739 'skia_lib.gyp:skia_lib', | 718 'skia_lib.gyp:skia_lib', |
740 'resources', | 719 'resources', |
741 ], | 720 ], |
742 }, | 721 }, |
743 ], | 722 ], |
744 }, | 723 }, |
745 ], | 724 ], |
746 ], | 725 ], |
747 } | 726 } |
OLD | NEW |