Index: gyp/tools.gyp |
diff --git a/gyp/tools.gyp b/gyp/tools.gyp |
index eeb210a4970a3d15e81acff02a9c58f3d8874a97..6913cc1c67d3f4928c35f8a4633c59d35f1d30b1 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', ], |
}, |
}, |
{ |