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 14 matching lines...) Expand all Loading... |
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 'using_skia_and_harfbuzz', |
| 35 'visualize_color_gamut', |
35 'whitelist_typefaces', | 36 'whitelist_typefaces', |
36 ], | 37 ], |
37 'conditions': [ | 38 'conditions': [ |
38 ['skia_mesa and skia_os in ["linux", "mac"]', | 39 ['skia_mesa and skia_os in ["linux", "mac"]', |
39 { 'dependencies': [ 'fiddle_build_test' ] } | 40 { 'dependencies': [ 'fiddle_build_test' ] } |
40 ], | 41 ], |
41 ['skia_shared_lib', | 42 ['skia_shared_lib', |
42 { | 43 { |
43 'dependencies': [ | 44 'dependencies': [ |
44 'sklua', # This can only be built if skia is built as a shared lib
rary | 45 'sklua', # This can only be built if skia is built as a shared lib
rary |
(...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
415 'dependencies': [ | 416 'dependencies': [ |
416 'skia_lib.gyp:skia_lib', | 417 'skia_lib.gyp:skia_lib', |
417 'pdf.gyp:pdf', | 418 'pdf.gyp:pdf', |
418 'harfbuzz.gyp:harfbuzz', | 419 'harfbuzz.gyp:harfbuzz', |
419 ], | 420 ], |
420 'cflags': [ '-w', ], | 421 'cflags': [ '-w', ], |
421 'msvs_settings': { 'VCCLCompilerTool': { 'WarningLevel': '0', }, }, | 422 'msvs_settings': { 'VCCLCompilerTool': { 'WarningLevel': '0', }, }, |
422 'xcode_settings': { 'WARNING_CFLAGS': [ '-w', ], }, | 423 'xcode_settings': { 'WARNING_CFLAGS': [ '-w', ], }, |
423 }, | 424 }, |
424 { | 425 { |
| 426 'target_name': 'visualize_color_gamut', |
| 427 'type': 'executable', |
| 428 'sources': [ |
| 429 '../tools/visualize_color_gamut.cpp', |
| 430 ], |
| 431 'include_dirs': [ |
| 432 '../src/core', |
| 433 '../include/private', |
| 434 '../tools', |
| 435 ], |
| 436 'dependencies': [ |
| 437 'flags.gyp:flags', |
| 438 'resources', |
| 439 'skia_lib.gyp:skia_lib', |
| 440 ], |
| 441 }, |
| 442 { |
425 'target_name': 'whitelist_typefaces', | 443 'target_name': 'whitelist_typefaces', |
426 'type': 'executable', | 444 'type': 'executable', |
427 'sources': [ | 445 'sources': [ |
428 '../tools/whitelist_typefaces.cpp', | 446 '../tools/whitelist_typefaces.cpp', |
429 ], | 447 ], |
430 'dependencies': [ | 448 'dependencies': [ |
431 'skia_lib.gyp:skia_lib', | 449 'skia_lib.gyp:skia_lib', |
432 ], | 450 ], |
433 }, | 451 }, |
434 { | 452 { |
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
625 'pdf.gyp:pdf', | 643 'pdf.gyp:pdf', |
626 'gputest.gyp:osmesa', | 644 'gputest.gyp:osmesa', |
627 ], | 645 ], |
628 'defines': [ 'FIDDLE_BUILD_TEST' ], | 646 'defines': [ 'FIDDLE_BUILD_TEST' ], |
629 }, | 647 }, |
630 ], | 648 ], |
631 }, | 649 }, |
632 ], | 650 ], |
633 ], | 651 ], |
634 } | 652 } |
OLD | NEW |