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