diff options
author | 2014-06-23 11:25:00 -0700 | |
---|---|---|
committer | 2014-06-23 11:25:00 -0700 | |
commit | 5fb6bd4b7e8d00b7f2543ca10ec9022b32632f29 (patch) | |
tree | 9212da1f0a1c6bee32c3debd4b8fd1ff61beca60 /gyp/tools.gyp | |
parent | c83780c9ec9fb7dc46abed71a64d83ec0ce7a274 (diff) |
use platform-independent font for gm
Create a custom typeface and scaler to render simple paths the
same on all platforms.
GM tests are modified to explicitly select the custom typeface.
R=reed@google.com, mtklein@google.com, bungeman@google.com
TBR=reed
Author: caryclark@google.com
Review URL: https://codereview.chromium.org/348323003
Diffstat (limited to 'gyp/tools.gyp')
-rw-r--r-- | gyp/tools.gyp | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/gyp/tools.gyp b/gyp/tools.gyp index 256852ddff..e16fa4bb7e 100644 --- a/gyp/tools.gyp +++ b/gyp/tools.gyp @@ -17,6 +17,7 @@ 'bench_pictures', 'bench_record', 'bench_playback', + 'create_test_font', 'dump_record', 'filter', 'gpuveto', @@ -90,7 +91,10 @@ { 'target_name': 'sk_tool_utils', 'type': 'static_library', - 'sources': [ '../tools/sk_tool_utils.cpp' ], + 'sources': [ + '../tools/sk_tool_utils.cpp', + '../tools/sk_tool_utils_font.cpp', + ], 'dependencies': [ 'skia_lib.gyp:skia_lib', ], @@ -266,6 +270,7 @@ 'include_dirs': [ # For SkBitmapHasher.h '../src/utils/', + '../tools/', ], 'dependencies': [ 'gm_expectations', @@ -621,6 +626,20 @@ ], }, { + 'target_name': 'create_test_font', + 'type': 'executable', + 'sources': [ + '../tools/create_test_font.cpp', + ], + 'include_dirs': [ + '../src/core', + ], + 'dependencies': [ + 'flags.gyp:flags', + 'skia_lib.gyp:skia_lib', + ], + }, + { 'target_name': 'test_image_decoder', 'type': 'executable', 'sources': [ |