Index: gyp/debugger.gyp |
diff --git a/gyp/debugger.gyp b/gyp/debugger.gyp |
index 3a972c277f88662dc07c783379f90912672b31db..f15d435b3ff31b6f4af5c3e27259ddc2aae7f782 100644 |
--- a/gyp/debugger.gyp |
+++ b/gyp/debugger.gyp |
@@ -87,14 +87,9 @@ |
], |
'sources': [ |
'../debugger/SkDebugger.cpp', |
- '../src/utils/debugger/SkDebugCanvas.h', |
- '../src/utils/debugger/SkDebugCanvas.cpp', |
- '../src/utils/debugger/SkDrawCommand.h', |
- '../src/utils/debugger/SkDrawCommand.cpp', |
- '../src/utils/debugger/SkObjectParser.h', |
- '../src/utils/debugger/SkObjectParser.cpp', |
], |
'dependencies': [ |
+ 'debugger_lib', |
'skia_lib.gyp:skia_lib', |
'bench.gyp:bench_timer', |
'tools.gyp:picture_renderer', |
@@ -154,6 +149,24 @@ |
}], |
], |
}, |
+ { |
+ 'target_name': 'debugger_lib', |
+ 'type': 'static_library', |
+ 'include_dirs' : [ |
+ '../src/core', |
+ ], |
+ 'dependencies': [ |
+ 'skia_lib.gyp:skia_lib', |
+ ], |
+ 'sources': [ |
+ '../src/utils/debugger/SkDebugCanvas.h', |
+ '../src/utils/debugger/SkDebugCanvas.cpp', |
+ '../src/utils/debugger/SkDrawCommand.h', |
+ '../src/utils/debugger/SkDrawCommand.cpp', |
+ '../src/utils/debugger/SkObjectParser.h', |
+ '../src/utils/debugger/SkObjectParser.cpp', |
+ ] |
+ }, |
], |
'conditions': [ |
[ 'skia_os != "nacl"', { |