OLD | NEW |
1 { | 1 { |
2 'variables': { | 2 'variables': { |
3 'conditions': [ | 3 'conditions': [ |
4 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "chromeos"]', { | 4 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "chromeos"]', { |
5 # Use the systemwide Qt libs by default | 5 # Use the systemwide Qt libs by default |
6 'variables': { | 6 'variables': { |
7 'qt_sdk%': '/usr', | 7 'qt_sdk%': '/usr', |
8 }, | 8 }, |
9 'qt_sdk': '<(qt_sdk)', | 9 'qt_sdk': '<(qt_sdk)', |
10 'qt_moc%': 'moc', | 10 'qt_moc%': 'moc', |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 '../src/core', | 80 '../src/core', |
81 '../src/utils/debugger', | 81 '../src/utils/debugger', |
82 '../debugger', # To pull SkDebugger.h | 82 '../debugger', # To pull SkDebugger.h |
83 '../src/gpu', # To pull gl/GrGLUtil.h | 83 '../src/gpu', # To pull gl/GrGLUtil.h |
84 '../src/ports', # To pull SkFontDescriptor.h | 84 '../src/ports', # To pull SkFontDescriptor.h |
85 '../bench', | 85 '../bench', |
86 '../tools', | 86 '../tools', |
87 ], | 87 ], |
88 'sources': [ | 88 'sources': [ |
89 '../debugger/SkDebugger.cpp', | 89 '../debugger/SkDebugger.cpp', |
90 '../src/utils/debugger/SkDebugCanvas.h', | |
91 '../src/utils/debugger/SkDebugCanvas.cpp', | |
92 '../src/utils/debugger/SkDrawCommand.h', | |
93 '../src/utils/debugger/SkDrawCommand.cpp', | |
94 '../src/utils/debugger/SkObjectParser.h', | |
95 '../src/utils/debugger/SkObjectParser.cpp', | |
96 ], | 90 ], |
97 'dependencies': [ | 91 'dependencies': [ |
| 92 'debugger_lib', |
98 'skia_lib.gyp:skia_lib', | 93 'skia_lib.gyp:skia_lib', |
99 'bench.gyp:bench_timer', | 94 'bench.gyp:bench_timer', |
100 'tools.gyp:picture_renderer', | 95 'tools.gyp:picture_renderer', |
101 ], | 96 ], |
102 'conditions': [ | 97 'conditions': [ |
103 [ 'skia_os == "nacl"', { | 98 [ 'skia_os == "nacl"', { |
104 'include_dirs': [ | 99 'include_dirs': [ |
105 '../src/utils', | 100 '../src/utils', |
106 ], | 101 ], |
107 'sources': [ | 102 'sources': [ |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 'debugger_qt_mocs', | 142 'debugger_qt_mocs', |
148 ], | 143 ], |
149 'link_settings': { | 144 'link_settings': { |
150 'libraries': [ | 145 'libraries': [ |
151 '<@(qt_libs)', | 146 '<@(qt_libs)', |
152 ], | 147 ], |
153 }, | 148 }, |
154 }], | 149 }], |
155 ], | 150 ], |
156 }, | 151 }, |
| 152 { |
| 153 'target_name': 'debugger_lib', |
| 154 'type': 'static_library', |
| 155 'include_dirs' : [ |
| 156 '../src/core', |
| 157 ], |
| 158 'dependencies': [ |
| 159 'skia_lib.gyp:skia_lib', |
| 160 ], |
| 161 'sources': [ |
| 162 '../src/utils/debugger/SkDebugCanvas.h', |
| 163 '../src/utils/debugger/SkDebugCanvas.cpp', |
| 164 '../src/utils/debugger/SkDrawCommand.h', |
| 165 '../src/utils/debugger/SkDrawCommand.cpp', |
| 166 '../src/utils/debugger/SkObjectParser.h', |
| 167 '../src/utils/debugger/SkObjectParser.cpp', |
| 168 ] |
| 169 }, |
157 ], | 170 ], |
158 'conditions': [ | 171 'conditions': [ |
159 [ 'skia_os != "nacl"', { | 172 [ 'skia_os != "nacl"', { |
160 'targets': [ | 173 'targets': [ |
161 { | 174 { |
162 'target_name': 'debugger_qt_mocs', | 175 'target_name': 'debugger_qt_mocs', |
163 'type': 'none', | 176 'type': 'none', |
164 'sources': [ | 177 'sources': [ |
165 '<(moc_src_dir)/SkCanvasWidget.h', | 178 '<(moc_src_dir)/SkCanvasWidget.h', |
166 '<(moc_src_dir)/SkDebuggerGUI.h', | 179 '<(moc_src_dir)/SkDebuggerGUI.h', |
(...skipping 18 matching lines...) Expand all Loading... |
185 ], | 198 ], |
186 }], | 199 }], |
187 ], | 200 ], |
188 } | 201 } |
189 | 202 |
190 # Local Variables: | 203 # Local Variables: |
191 # tab-width:2 | 204 # tab-width:2 |
192 # indent-tabs-mode:nil | 205 # indent-tabs-mode:nil |
193 # End: | 206 # End: |
194 # vim: set expandtab tabstop=2 shiftwidth=2: | 207 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |