| 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 'bench_pictures', | 20 'bench_pictures', |
| 21 'chrome_fuzz', |
| 21 'dump_record', | 22 'dump_record', |
| 22 'filter', | 23 'filter', |
| 23 'gpuveto', | 24 'gpuveto', |
| 24 'lua_app', | 25 'lua_app', |
| 25 'lua_pictures', | 26 'lua_pictures', |
| 26 'imgconv', | 27 'imgconv', |
| 27 'pinspect', | 28 'pinspect', |
| 28 'render_pdfs', | 29 'render_pdfs', |
| 29 'render_pictures', | 30 'render_pictures', |
| 30 'skdiff', | 31 'skdiff', |
| 31 'skhello', | 32 'skhello', |
| 32 'skp2svg', | 33 'skp2svg', |
| 33 'skpdiff', | 34 'skpdiff', |
| 34 'skpinfo', | 35 'skpinfo', |
| 35 'skpmaker', | 36 'skpmaker', |
| 36 'test_image_decoder', | 37 'test_image_decoder', |
| 37 'test_public_includes', | 38 'test_public_includes', |
| 38 ], | 39 ], |
| 39 'conditions': [ | 40 'conditions': [ |
| 40 ['skia_shared_lib', | 41 ['skia_shared_lib', |
| 41 { | 42 { |
| 42 'dependencies': [ | 43 'dependencies': [ |
| 43 'sklua', # This can only be built if skia is built as a shared lib
rary | 44 'sklua', # This can only be built if skia is built as a shared lib
rary |
| 44 ], | 45 ], |
| 45 }, | 46 }, |
| 46 ], | 47 ], |
| 47 ], | 48 ], |
| 48 }, | 49 }, |
| 49 { | 50 { |
| 51 'target_name': 'chrome_fuzz', |
| 52 'type': 'executable', |
| 53 'sources': [ |
| 54 '../tools/chrome_fuzz.cpp', |
| 55 ], |
| 56 'dependencies': [ |
| 57 'skia_lib.gyp:skia_lib', |
| 58 ], |
| 59 }, |
| 60 { |
| 50 'target_name': 'crash_handler', | 61 'target_name': 'crash_handler', |
| 51 'type': 'static_library', | 62 'type': 'static_library', |
| 52 'sources': [ '../tools/CrashHandler.cpp' ], | 63 'sources': [ '../tools/CrashHandler.cpp' ], |
| 53 'dependencies': [ 'skia_lib.gyp:skia_lib' ], | 64 'dependencies': [ 'skia_lib.gyp:skia_lib' ], |
| 54 'direct_dependent_settings': { | 65 'direct_dependent_settings': { |
| 55 'include_dirs': [ '../tools' ], | 66 'include_dirs': [ '../tools' ], |
| 56 }, | 67 }, |
| 57 'conditions': [ | 68 'conditions': [ |
| 58 [ 'skia_is_bot', { | 69 [ 'skia_is_bot', { |
| 59 'defines': [ 'SK_CRASH_HANDLER' ], | 70 'defines': [ 'SK_CRASH_HANDLER' ], |
| (...skipping 699 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 759 'flags.gyp:flags', | 770 'flags.gyp:flags', |
| 760 'skia_lib.gyp:skia_lib', | 771 'skia_lib.gyp:skia_lib', |
| 761 'resources', | 772 'resources', |
| 762 ], | 773 ], |
| 763 }, | 774 }, |
| 764 ], | 775 ], |
| 765 }, | 776 }, |
| 766 ], | 777 ], |
| 767 ], | 778 ], |
| 768 } | 779 } |
| OLD | NEW |