| 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 'chrome_fuzz', | 20 'chrome_fuzz', |
| 21 'dump_record', |
| 21 'gpuveto', | 22 'gpuveto', |
| 22 'imgblur', | 23 'imgblur', |
| 23 'imgconv', | 24 'imgconv', |
| 24 'imgslice', | 25 'imgslice', |
| 25 'lua_app', | 26 'lua_app', |
| 26 'lua_pictures', | 27 'lua_pictures', |
| 27 'pinspect', | 28 'pinspect', |
| 28 'skdiff', | 29 'skdiff', |
| 29 'skhello', | 30 'skhello', |
| 30 'skpdiff', | 31 'skpdiff', |
| 31 'skpinfo', | 32 'skpinfo', |
| 32 'skpmaker', | 33 'skpmaker', |
| 33 'test_image_decoder', | 34 'test_image_decoder', |
| 34 'test_public_includes', | 35 'test_public_includes', |
| 35 'whitelist_typefaces', | 36 'whitelist_typefaces', |
| 36 ], | 37 ], |
| 37 'conditions': [ | 38 'conditions': [ |
| 38 ['skia_shared_lib', | 39 ['skia_shared_lib', |
| 39 { | 40 { |
| 40 'dependencies': [ | 41 'dependencies': [ |
| 41 'sklua', # This can only be built if skia is built as a shared lib
rary | 42 'sklua', # This can only be built if skia is built as a shared lib
rary |
| 42 ], | 43 ], |
| 43 }, | 44 }, |
| 44 ], | 45 ], |
| 45 ], | 46 ], |
| 46 }, | 47 }, |
| 47 { | 48 { |
| 49 'target_name': 'dump_record', |
| 50 'type': 'executable', |
| 51 'sources': [ |
| 52 '../tools/dump_record.cpp', |
| 53 '../tools/DumpRecord.cpp', |
| 54 ], |
| 55 'include_dirs': [ |
| 56 '../include/private', |
| 57 '../src/core', |
| 58 ], |
| 59 'dependencies': [ |
| 60 'flags.gyp:flags', |
| 61 'lazy_decode_bitmap', |
| 62 'skia_lib.gyp:skia_lib', |
| 63 ], |
| 64 }, |
| 65 { |
| 48 'target_name': 'chrome_fuzz', | 66 'target_name': 'chrome_fuzz', |
| 49 'type': 'executable', | 67 'type': 'executable', |
| 50 'sources': [ | 68 'sources': [ |
| 51 '../tools/chrome_fuzz.cpp', | 69 '../tools/chrome_fuzz.cpp', |
| 52 ], | 70 ], |
| 53 'dependencies': [ | 71 'dependencies': [ |
| 54 'skia_lib.gyp:skia_lib', | 72 'skia_lib.gyp:skia_lib', |
| 55 ], | 73 ], |
| 56 }, | 74 }, |
| 57 { | 75 { |
| (...skipping 529 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 587 'flags.gyp:flags', | 605 'flags.gyp:flags', |
| 588 'skia_lib.gyp:skia_lib', | 606 'skia_lib.gyp:skia_lib', |
| 589 'resources', | 607 'resources', |
| 590 ], | 608 ], |
| 591 }, | 609 }, |
| 592 ], | 610 ], |
| 593 }, | 611 }, |
| 594 ], | 612 ], |
| 595 ], | 613 ], |
| 596 } | 614 } |
| OLD | NEW |