OLD | NEW |
---|---|
1 # GYP file to build various tools. | 1 # GYP file to build various tools. |
2 # | 2 # |
3 # To build on Linux: | 3 # To build on Linux: |
4 # ./gyp_skia tools.gyp && make tools | 4 # ./gyp_skia tools.gyp && make tools |
5 # | 5 # |
6 { | 6 { |
7 'includes': [ | 7 'includes': [ |
8 'apptype_console.gypi', | 8 'apptype_console.gypi', |
9 ], | 9 ], |
10 'targets': [ | 10 'targets': [ |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
124 'lua.gyp:lua', | 124 'lua.gyp:lua', |
125 ], | 125 ], |
126 }, | 126 }, |
127 { | 127 { |
128 'target_name': 'lua_pictures', | 128 'target_name': 'lua_pictures', |
129 'type': 'executable', | 129 'type': 'executable', |
130 'sources': [ | 130 'sources': [ |
131 '../tools/lua/lua_pictures.cpp', | 131 '../tools/lua/lua_pictures.cpp', |
132 '../src/utils/SkLuaCanvas.cpp', | 132 '../src/utils/SkLuaCanvas.cpp', |
133 '../src/utils/SkLua.cpp', | 133 '../src/utils/SkLua.cpp', |
134 '../tools/LazyDecodeBitmap.cpp', | |
scroggo
2013/07/15 18:02:41
I think it would be better to include LazyDecodeBi
sglez
2013/07/16 15:59:33
Good idea
| |
134 ], | 135 ], |
135 'dependencies': [ | 136 'dependencies': [ |
136 'skia_lib.gyp:skia_lib', | 137 'skia_lib.gyp:skia_lib', |
137 'effects.gyp:effects', | 138 'effects.gyp:effects', |
138 'utils.gyp:utils', | 139 'utils.gyp:utils', |
139 'images.gyp:images', | 140 'images.gyp:images', |
140 'tools.gyp:picture_renderer', | 141 'tools.gyp:picture_renderer', |
141 'tools.gyp:picture_utils', | 142 'tools.gyp:picture_utils', |
142 'pdf.gyp:pdf', | 143 'pdf.gyp:pdf', |
143 'ports.gyp:ports', | 144 'ports.gyp:ports', |
144 'flags.gyp:flags', | 145 'flags.gyp:flags', |
145 'lua.gyp:lua', | 146 'lua.gyp:lua', |
146 ], | 147 ], |
147 }, | 148 }, |
148 { | 149 { |
149 'target_name': 'render_pictures', | 150 'target_name': 'render_pictures', |
150 'type': 'executable', | 151 'type': 'executable', |
151 'sources': [ | 152 'sources': [ |
152 '../tools/render_pictures_main.cpp', | 153 '../tools/render_pictures_main.cpp', |
154 '../tools/LazyDecodeBitmap.cpp', | |
153 ], | 155 ], |
154 'include_dirs': [ | 156 'include_dirs': [ |
155 '../src/pipe/utils/', | 157 '../src/pipe/utils/', |
156 ], | 158 ], |
157 'dependencies': [ | 159 'dependencies': [ |
158 'skia_lib.gyp:skia_lib', | 160 'skia_lib.gyp:skia_lib', |
159 'tools.gyp:picture_renderer', | 161 'tools.gyp:picture_renderer', |
160 'tools.gyp:picture_utils', | 162 'tools.gyp:picture_utils', |
161 'flags.gyp:flags', | 163 'flags.gyp:flags', |
162 ], | 164 ], |
163 }, | 165 }, |
164 { | 166 { |
165 'target_name': 'bench_pictures', | 167 'target_name': 'bench_pictures', |
166 'type': 'executable', | 168 'type': 'executable', |
167 'sources': [ | 169 'sources': [ |
168 '../bench/SkBenchLogger.h', | 170 '../bench/SkBenchLogger.h', |
169 '../bench/SkBenchLogger.cpp', | 171 '../bench/SkBenchLogger.cpp', |
170 '../bench/TimerData.h', | 172 '../bench/TimerData.h', |
171 '../bench/TimerData.cpp', | 173 '../bench/TimerData.cpp', |
172 '../tools/bench_pictures_main.cpp', | 174 '../tools/bench_pictures_main.cpp', |
173 '../tools/PictureBenchmark.cpp', | 175 '../tools/PictureBenchmark.cpp', |
176 '../tools/LazyDecodeBitmap.cpp', | |
174 ], | 177 ], |
175 'include_dirs': [ | 178 'include_dirs': [ |
176 '../bench', | 179 '../bench', |
177 '../src/lazy/', | 180 '../src/lazy/', |
178 ], | 181 ], |
179 'dependencies': [ | 182 'dependencies': [ |
180 'skia_lib.gyp:skia_lib', | 183 'skia_lib.gyp:skia_lib', |
181 'tools.gyp:picture_utils', | 184 'tools.gyp:picture_utils', |
182 'tools.gyp:picture_renderer', | 185 'tools.gyp:picture_renderer', |
183 'bench.gyp:bench_timer', | 186 'bench.gyp:bench_timer', |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
284 'include_dirs': [ | 287 'include_dirs': [ |
285 '../tools/', | 288 '../tools/', |
286 ], | 289 ], |
287 }, | 290 }, |
288 }, | 291 }, |
289 { | 292 { |
290 'target_name': 'pinspect', | 293 'target_name': 'pinspect', |
291 'type': 'executable', | 294 'type': 'executable', |
292 'sources': [ | 295 'sources': [ |
293 '../tools/pinspect.cpp', | 296 '../tools/pinspect.cpp', |
297 '../tools/LazyDecodeBitmap.cpp', | |
294 ], | 298 ], |
295 'dependencies': [ | 299 'dependencies': [ |
296 'skia_lib.gyp:skia_lib', | 300 'skia_lib.gyp:skia_lib', |
297 'tools.gyp:picture_renderer', | 301 'tools.gyp:picture_renderer', |
302 'flags.gyp:flags', | |
298 ], | 303 ], |
299 }, | 304 }, |
300 { | 305 { |
301 'target_name': 'filter', | 306 'target_name': 'filter', |
302 'type': 'executable', | 307 'type': 'executable', |
303 'include_dirs' : [ | 308 'include_dirs' : [ |
304 '../src/core', | 309 '../src/core', |
305 '../src/utils/debugger', | 310 '../src/utils/debugger', |
306 ], | 311 ], |
307 'sources': [ | 312 'sources': [ |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
387 }, | 392 }, |
388 ], | 393 ], |
389 ], | 394 ], |
390 } | 395 } |
391 | 396 |
392 # Local Variables: | 397 # Local Variables: |
393 # tab-width:2 | 398 # tab-width:2 |
394 # indent-tabs-mode:nil | 399 # indent-tabs-mode:nil |
395 # End: | 400 # End: |
396 # vim: set expandtab tabstop=2 shiftwidth=2: | 401 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |