Chromium Code Reviews| 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 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 174 '../tools/skimage_main.cpp', | 174 '../tools/skimage_main.cpp', |
| 175 ], | 175 ], |
| 176 'include_dirs': [ | 176 'include_dirs': [ |
| 177 # For SkBitmapHasher.h | 177 # For SkBitmapHasher.h |
| 178 '../src/utils/', | 178 '../src/utils/', |
| 179 ], | 179 ], |
| 180 'dependencies': [ | 180 'dependencies': [ |
| 181 'flags.gyp:flags', | 181 'flags.gyp:flags', |
| 182 'gm.gyp:gm_expectations', | 182 'gm.gyp:gm_expectations', |
| 183 'jsoncpp.gyp:jsoncpp', | 183 'jsoncpp.gyp:jsoncpp', |
| 184 'skia_lib.gyp:skia_lib', | 184 'skia_lib.gyp:skia_lib', |
|
epoger
2014/05/08 20:17:14
Fixed multiple places where this dependency should
| |
| 185 'utils.gyp:utils', | |
| 186 ], | 185 ], |
| 187 }, | 186 }, |
| 188 { | 187 { |
| 189 'target_name': 'skpinfo', | 188 'target_name': 'skpinfo', |
| 190 'type': 'executable', | 189 'type': 'executable', |
| 191 'sources': [ | 190 'sources': [ |
| 192 '../tools/skpinfo.cpp', | 191 '../tools/skpinfo.cpp', |
| 193 ], | 192 ], |
| 194 'include_dirs': [ | 193 'include_dirs': [ |
| 195 '../tools/flags', | 194 '../tools/flags', |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 230 '../src/gpu/', | 229 '../src/gpu/', |
| 231 '../src/core/', | 230 '../src/core/', |
| 232 ], | 231 ], |
| 233 'dependencies': [ | 232 'dependencies': [ |
| 234 'effects.gyp:effects', | 233 'effects.gyp:effects', |
| 235 'images.gyp:images', | 234 'images.gyp:images', |
| 236 'lua.gyp:lua', | 235 'lua.gyp:lua', |
| 237 'pdf.gyp:pdf', | 236 'pdf.gyp:pdf', |
| 238 'ports.gyp:ports', | 237 'ports.gyp:ports', |
| 239 'skia_lib.gyp:skia_lib', | 238 'skia_lib.gyp:skia_lib', |
| 240 'utils.gyp:utils', | |
| 241 ], | 239 ], |
| 242 }, | 240 }, |
| 243 { | 241 { |
| 244 'target_name': 'lua_pictures', | 242 'target_name': 'lua_pictures', |
| 245 'type': 'executable', | 243 'type': 'executable', |
| 246 'sources': [ | 244 'sources': [ |
| 247 '../tools/lua/lua_pictures.cpp', | 245 '../tools/lua/lua_pictures.cpp', |
| 248 '../src/utils/SkLuaCanvas.cpp', | 246 '../src/utils/SkLuaCanvas.cpp', |
| 249 '../src/utils/SkLua.cpp', | 247 '../src/utils/SkLua.cpp', |
| 250 ], | 248 ], |
| 251 'include_dirs': [ | 249 'include_dirs': [ |
| 252 # Lua exposes GrReduceClip which in turn requires src/core for SkTLList | 250 # Lua exposes GrReduceClip which in turn requires src/core for SkTLList |
| 253 '../src/gpu/', | 251 '../src/gpu/', |
| 254 '../src/core/', | 252 '../src/core/', |
| 255 ], | 253 ], |
| 256 'dependencies': [ | 254 'dependencies': [ |
| 257 'effects.gyp:effects', | 255 'effects.gyp:effects', |
| 258 'flags.gyp:flags', | 256 'flags.gyp:flags', |
| 259 'images.gyp:images', | 257 'images.gyp:images', |
| 260 'lua.gyp:lua', | 258 'lua.gyp:lua', |
| 261 'tools.gyp:picture_renderer', | 259 'tools.gyp:picture_renderer', |
| 262 'tools.gyp:picture_utils', | 260 'tools.gyp:picture_utils', |
| 263 'pdf.gyp:pdf', | 261 'pdf.gyp:pdf', |
| 264 'ports.gyp:ports', | 262 'ports.gyp:ports', |
| 265 'skia_lib.gyp:skia_lib', | 263 'skia_lib.gyp:skia_lib', |
| 266 'utils.gyp:utils', | |
| 267 ], | 264 ], |
| 268 }, | 265 }, |
| 269 { | 266 { |
| 270 'target_name': 'render_pictures', | 267 'target_name': 'render_pictures', |
| 271 'type': 'executable', | 268 'type': 'executable', |
| 272 'sources': [ | 269 'sources': [ |
| 273 '../tools/render_pictures_main.cpp', | 270 '../tools/render_pictures_main.cpp', |
| 274 ], | 271 ], |
| 275 'include_dirs': [ | 272 'include_dirs': [ |
| 276 '../src/core', | 273 '../src/core', |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 362 'dependencies': [ | 359 'dependencies': [ |
| 363 'flags.gyp:flags', | 360 'flags.gyp:flags', |
| 364 'record.gyp:*', | 361 'record.gyp:*', |
| 365 'skia_lib.gyp:skia_lib', | 362 'skia_lib.gyp:skia_lib', |
| 366 ], | 363 ], |
| 367 }, | 364 }, |
| 368 { | 365 { |
| 369 'target_name': 'picture_renderer', | 366 'target_name': 'picture_renderer', |
| 370 'type': 'static_library', | 367 'type': 'static_library', |
| 371 'sources': [ | 368 'sources': [ |
| 369 '../tools/image_expectations.h', | |
| 370 '../tools/image_expectations.cpp', | |
| 372 '../tools/LazyDecodeBitmap.cpp', | 371 '../tools/LazyDecodeBitmap.cpp', |
| 373 '../tools/PictureRenderer.h', | 372 '../tools/PictureRenderer.h', |
| 374 '../tools/PictureRenderer.cpp', | 373 '../tools/PictureRenderer.cpp', |
| 375 '../tools/PictureRenderingFlags.h', | 374 '../tools/PictureRenderingFlags.h', |
| 376 '../tools/PictureRenderingFlags.cpp', | 375 '../tools/PictureRenderingFlags.cpp', |
| 377 '../tools/CopyTilesRenderer.h', | 376 '../tools/CopyTilesRenderer.h', |
| 378 '../tools/CopyTilesRenderer.cpp', | 377 '../tools/CopyTilesRenderer.cpp', |
| 379 '../src/pipe/utils/SamplePipeControllers.h', | 378 '../src/pipe/utils/SamplePipeControllers.h', |
| 380 '../src/pipe/utils/SamplePipeControllers.cpp', | 379 '../src/pipe/utils/SamplePipeControllers.cpp', |
| 381 ], | 380 ], |
| 382 'include_dirs': [ | 381 'include_dirs': [ |
| 383 '../src/core', | 382 '../src/core', |
| 384 '../src/images', | 383 '../src/images', |
| 385 '../src/lazy', | 384 '../src/lazy', |
| 386 '../src/pipe/utils/', | 385 '../src/pipe/utils/', |
| 387 '../src/utils/', | 386 '../src/utils/', |
| 388 ], | 387 ], |
| 389 'direct_dependent_settings': { | 388 'direct_dependent_settings': { |
| 390 'include_dirs': [ | 389 'include_dirs': [ |
| 391 # needed for JSON headers used within PictureRenderer.h | 390 # needed for JSON headers used within image_expectations.h |
| 392 '../third_party/externals/jsoncpp-chromium/overrides/include/', | 391 '../third_party/externals/jsoncpp-chromium/overrides/include/', |
| 393 '../third_party/externals/jsoncpp/include/', | 392 '../third_party/externals/jsoncpp/include/', |
| 394 ], | 393 ], |
| 395 }, | 394 }, |
| 396 'dependencies': [ | 395 'dependencies': [ |
| 397 'flags.gyp:flags', | 396 'flags.gyp:flags', |
| 398 'jsoncpp.gyp:jsoncpp', | 397 'jsoncpp.gyp:jsoncpp', |
| 399 'skia_lib.gyp:skia_lib', | 398 'skia_lib.gyp:skia_lib', |
| 400 'tools.gyp:picture_utils', | 399 'tools.gyp:picture_utils', |
| 401 ], | 400 ], |
| (...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 612 'type': 'executable', | 611 'type': 'executable', |
| 613 'sources': [ | 612 'sources': [ |
| 614 '../tools/win_lcid.cpp', | 613 '../tools/win_lcid.cpp', |
| 615 ], | 614 ], |
| 616 }, | 615 }, |
| 617 ], | 616 ], |
| 618 }, | 617 }, |
| 619 ], | 618 ], |
| 620 ], | 619 ], |
| 621 } | 620 } |
| OLD | NEW |