diff options
Diffstat (limited to 'gyp')
-rw-r--r-- | gyp/tools.gyp | 40 |
1 files changed, 25 insertions, 15 deletions
diff --git a/gyp/tools.gyp b/gyp/tools.gyp index 052130e06d..cb54fee9f5 100644 --- a/gyp/tools.gyp +++ b/gyp/tools.gyp @@ -17,7 +17,6 @@ 'bench_pictures', 'bench_record', 'bench_playback', - 'create_test_font', 'dump_record', 'filter', 'gpuveto', @@ -95,7 +94,11 @@ '../tools/sk_tool_utils.cpp', '../tools/sk_tool_utils_font.cpp', ], + 'include_dirs': [ + '../src/fonts', + ], 'dependencies': [ + 'flags.gyp:flags', 'skia_lib.gyp:skia_lib', ], 'direct_dependent_settings': { @@ -631,20 +634,6 @@ ], }, { - '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': [ @@ -723,5 +712,26 @@ ], }, ], + ['skia_os == "mac"', + { + 'targets': [ + { + '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', + 'resources', + ], + }, + ], + }, + ], ], } |