| 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 { |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 'imgblur', | 24 'imgblur', |
| 25 'imgslice', | 25 'imgslice', |
| 26 'lua_app', | 26 'lua_app', |
| 27 'lua_pictures', | 27 'lua_pictures', |
| 28 'pinspect', | 28 'pinspect', |
| 29 'skdiff', | 29 'skdiff', |
| 30 'skhello', | 30 'skhello', |
| 31 'skpinfo', | 31 'skpinfo', |
| 32 'skpmaker', | 32 'skpmaker', |
| 33 'test_public_includes', | 33 'test_public_includes', |
| 34 'using_skia_and_harfbuzz', |
| 34 'whitelist_typefaces', | 35 'whitelist_typefaces', |
| 35 ], | 36 ], |
| 36 'conditions': [ | 37 'conditions': [ |
| 37 ['skia_mesa and skia_os in ["linux", "mac"]', | 38 ['skia_mesa and skia_os in ["linux", "mac"]', |
| 38 { 'dependencies': [ 'fiddle_build_test' ] } | 39 { 'dependencies': [ 'fiddle_build_test' ] } |
| 39 ], | 40 ], |
| 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 |
| (...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 401 '../src/core', | 402 '../src/core', |
| 402 ], | 403 ], |
| 403 'direct_dependent_settings': { | 404 'direct_dependent_settings': { |
| 404 'include_dirs': [ | 405 'include_dirs': [ |
| 405 '../include/private', | 406 '../include/private', |
| 406 '../tools', | 407 '../tools', |
| 407 ], | 408 ], |
| 408 }, | 409 }, |
| 409 }, | 410 }, |
| 410 { | 411 { |
| 412 'target_name': 'using_skia_and_harfbuzz', |
| 413 'type': 'executable', |
| 414 'sources': [ '../tools/using_skia_and_harfbuzz.cpp' ], |
| 415 'dependencies': [ |
| 416 'skia_lib.gyp:skia_lib', |
| 417 'pdf.gyp:pdf', |
| 418 'harfbuzz.gyp:harfbuzz', |
| 419 ], |
| 420 'cflags': [ '-w', ], |
| 421 'msvs_settings': { 'VCCLCompilerTool': { 'WarningLevel': '0', }, }, |
| 422 'xcode_settings': { 'WARNING_CFLAGS': [ '-w', ], }, |
| 423 }, |
| 424 { |
| 411 'target_name': 'whitelist_typefaces', | 425 'target_name': 'whitelist_typefaces', |
| 412 'type': 'executable', | 426 'type': 'executable', |
| 413 'sources': [ | 427 'sources': [ |
| 414 '../tools/whitelist_typefaces.cpp', | 428 '../tools/whitelist_typefaces.cpp', |
| 415 ], | 429 ], |
| 416 'dependencies': [ | 430 'dependencies': [ |
| 417 'skia_lib.gyp:skia_lib', | 431 'skia_lib.gyp:skia_lib', |
| 418 ], | 432 ], |
| 419 }, | 433 }, |
| 420 { | 434 { |
| (...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 611 'pdf.gyp:pdf', | 625 'pdf.gyp:pdf', |
| 612 'gputest.gyp:osmesa', | 626 'gputest.gyp:osmesa', |
| 613 ], | 627 ], |
| 614 'defines': [ 'FIDDLE_BUILD_TEST' ], | 628 'defines': [ 'FIDDLE_BUILD_TEST' ], |
| 615 }, | 629 }, |
| 616 ], | 630 ], |
| 617 }, | 631 }, |
| 618 ], | 632 ], |
| 619 ], | 633 ], |
| 620 } | 634 } |
| OLD | NEW |