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 445 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
456 'direct_dependent_settings': { | 456 'direct_dependent_settings': { |
457 'include_dirs': [ | 457 'include_dirs': [ |
458 '../include/private', | 458 '../include/private', |
459 '../tools', | 459 '../tools', |
460 ], | 460 ], |
461 }, | 461 }, |
462 }, | 462 }, |
463 { | 463 { |
464 'target_name': 'using_skia_and_harfbuzz', | 464 'target_name': 'using_skia_and_harfbuzz', |
465 'type': 'executable', | 465 'type': 'executable', |
466 'sources': [ | 466 'sources': [ '../tools/using_skia_and_harfbuzz.cpp', ], |
467 '../tools/using_skia_and_harfbuzz.cpp', | 467 'variables': { 'skia_example_use_harfbuzz%': 1, }, |
468 '../tools/SkShaper.cpp', | 468 'conditions': [ |
| 469 [ 'skia_example_use_harfbuzz', |
| 470 { |
| 471 'dependencies': [ 'harfbuzz.gyp:harfbuzz', ], |
| 472 'sources' : [ '../tools/SkShaper_harfbuzz.cpp', ], |
| 473 }, { |
| 474 'sources' : [ '../tools/SkShaper_primitive.cpp', ], |
| 475 }, |
| 476 ] |
469 ], | 477 ], |
470 'dependencies': [ | 478 'dependencies': [ |
471 'skia_lib.gyp:skia_lib', | 479 'skia_lib.gyp:skia_lib', |
472 'pdf.gyp:pdf', | 480 'pdf.gyp:pdf', |
473 'harfbuzz.gyp:harfbuzz', | |
474 ], | 481 ], |
475 'cflags': [ '-w', ], | |
476 'msvs_settings': { 'VCCLCompilerTool': { 'WarningLevel': '0', }, }, | |
477 'xcode_settings': { 'WARNING_CFLAGS': [ '-w', ], }, | |
478 }, | 482 }, |
479 { | 483 { |
480 'target_name': 'visualize_color_gamut', | 484 'target_name': 'visualize_color_gamut', |
481 'type': 'executable', | 485 'type': 'executable', |
482 'sources': [ | 486 'sources': [ |
483 '../tools/visualize_color_gamut.cpp', | 487 '../tools/visualize_color_gamut.cpp', |
484 ], | 488 ], |
485 'include_dirs': [ | 489 'include_dirs': [ |
486 '../src/core', | 490 '../src/core', |
487 '../include/private', | 491 '../include/private', |
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
695 'pdf.gyp:pdf', | 699 'pdf.gyp:pdf', |
696 'gputest.gyp:osmesa', | 700 'gputest.gyp:osmesa', |
697 ], | 701 ], |
698 'defines': [ 'FIDDLE_BUILD_TEST' ], | 702 'defines': [ 'FIDDLE_BUILD_TEST' ], |
699 }, | 703 }, |
700 ], | 704 ], |
701 }, | 705 }, |
702 ], | 706 ], |
703 ], | 707 ], |
704 } | 708 } |
OLD | NEW |