diff options
Diffstat (limited to 'gyp/tools.gyp')
-rw-r--r-- | gyp/tools.gyp | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/gyp/tools.gyp b/gyp/tools.gyp index eeb210a497..6913cc1c67 100644 --- a/gyp/tools.gyp +++ b/gyp/tools.gyp @@ -49,10 +49,10 @@ 'include_dirs' : [ '../src/utils/' ], 'sources': [ '../gm/gm_expectations.cpp', - '../tools/sk_tool_utils.cpp', ], 'dependencies': [ 'jsoncpp.gyp:jsoncpp', + 'sk_tool_utils', 'skia_lib.gyp:skia_lib', ], 'direct_dependent_settings': { @@ -84,7 +84,18 @@ 'skia_lib.gyp:skia_lib', ], 'direct_dependent_settings': { - 'include_dirs': [ '../tools/', ], + 'include_dirs': [ '../tools', ], + }, + }, + { + 'target_name': 'sk_tool_utils', + 'type': 'static_library', + 'sources': [ '../tools/sk_tool_utils.cpp' ], + 'dependencies': [ + 'skia_lib.gyp:skia_lib', + ], + 'direct_dependent_settings': { + 'include_dirs': [ '../tools', ], }, }, { |