| 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 'dump_record', |
| 22 'get_images_from_skps', | 22 'get_images_from_skps', |
| 23 'gpuveto', | 23 'gpuveto', |
| 24 'imgblur', | 24 'imgblur', |
| 25 'imgconv', | |
| 26 'imgslice', | 25 'imgslice', |
| 27 'lua_app', | 26 'lua_app', |
| 28 'lua_pictures', | 27 'lua_pictures', |
| 29 'pinspect', | 28 'pinspect', |
| 30 'skdiff', | 29 'skdiff', |
| 31 'skhello', | 30 'skhello', |
| 32 'skpinfo', | 31 'skpinfo', |
| 33 'skpmaker', | 32 'skpmaker', |
| 34 'test_image_decoder', | |
| 35 'test_public_includes', | 33 'test_public_includes', |
| 36 'whitelist_typefaces', | 34 'whitelist_typefaces', |
| 37 ], | 35 ], |
| 38 'conditions': [ | 36 'conditions': [ |
| 39 ['skia_shared_lib', | 37 ['skia_shared_lib', |
| 40 { | 38 { |
| 41 'dependencies': [ | 39 'dependencies': [ |
| 42 'sklua', # This can only be built if skia is built as a shared lib
rary | 40 'sklua', # This can only be built if skia is built as a shared lib
rary |
| 43 ], | 41 ], |
| 44 }, | 42 }, |
| (...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 364 'type': 'executable', | 362 'type': 'executable', |
| 365 'sources': [ | 363 'sources': [ |
| 366 '../tools/pinspect.cpp', | 364 '../tools/pinspect.cpp', |
| 367 ], | 365 ], |
| 368 'dependencies': [ | 366 'dependencies': [ |
| 369 'flags.gyp:flags', | 367 'flags.gyp:flags', |
| 370 'skia_lib.gyp:skia_lib', | 368 'skia_lib.gyp:skia_lib', |
| 371 ], | 369 ], |
| 372 }, | 370 }, |
| 373 { | 371 { |
| 374 'target_name': 'imgconv', | |
| 375 'type': 'executable', | |
| 376 'sources': [ | |
| 377 '../tools/imgconv.cpp', | |
| 378 ], | |
| 379 'dependencies': [ | |
| 380 'flags.gyp:flags', | |
| 381 'skia_lib.gyp:skia_lib', | |
| 382 ], | |
| 383 }, | |
| 384 { | |
| 385 'target_name': 'test_image_decoder', | |
| 386 'type': 'executable', | |
| 387 'sources': [ | |
| 388 '../tools/test_image_decoder.cpp', | |
| 389 ], | |
| 390 'dependencies': [ | |
| 391 'skia_lib.gyp:skia_lib', | |
| 392 ], | |
| 393 }, | |
| 394 { | |
| 395 'target_name': 'proc_stats', | 372 'target_name': 'proc_stats', |
| 396 'type': 'static_library', | 373 'type': 'static_library', |
| 397 'sources': [ | 374 'sources': [ |
| 398 '../tools/ProcStats.h', | 375 '../tools/ProcStats.h', |
| 399 '../tools/ProcStats.cpp', | 376 '../tools/ProcStats.cpp', |
| 400 ], | 377 ], |
| 401 'direct_dependent_settings': { | 378 'direct_dependent_settings': { |
| 402 'include_dirs': [ '../tools', ], | 379 'include_dirs': [ '../tools', ], |
| 403 }, | 380 }, |
| 404 }, | 381 }, |
| (...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 602 'flags.gyp:flags', | 579 'flags.gyp:flags', |
| 603 'skia_lib.gyp:skia_lib', | 580 'skia_lib.gyp:skia_lib', |
| 604 'resources', | 581 'resources', |
| 605 ], | 582 ], |
| 606 }, | 583 }, |
| 607 ], | 584 ], |
| 608 }, | 585 }, |
| 609 ], | 586 ], |
| 610 ], | 587 ], |
| 611 } | 588 } |
| OLD | NEW |