diff options
author | robertphillips <robertphillips@google.com> | 2015-10-19 06:39:17 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-10-19 06:39:17 -0700 |
commit | 9c4909b50ff9d0fdf9bce2a67cd459aeb28cdc3c (patch) | |
tree | e5ca55588af4b047c73ea0df40fd9557b57b7a54 /gyp | |
parent | b3f1636ec80e66188ddc01306672a9a79a954dfe (diff) |
Add imgblur tool to assist BlurMaskFilter debugging
imgblur is intended to establish a ground truth for debugging mask blur issues. It performs a brute force (non-separable) Gaussian blur of the provided image.
The blur code itself is in sk_tools_utils so it can be more easily used programmatically in other places (e.g., blur unit tests).
Review URL: https://codereview.chromium.org/1384203002
Diffstat (limited to 'gyp')
-rw-r--r-- | gyp/tools.gyp | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/gyp/tools.gyp b/gyp/tools.gyp index accdd61681..8685570347 100644 --- a/gyp/tools.gyp +++ b/gyp/tools.gyp @@ -24,9 +24,11 @@ 'filter', 'flatten', 'gpuveto', + 'imgblur', + 'imgconv', + 'imgslice', 'lua_app', 'lua_pictures', - 'imgconv', 'pinspect', 'render_pdfs', 'render_pictures', @@ -36,7 +38,6 @@ 'skpdiff', 'skpinfo', 'skpmaker', - 'imgslice', 'test_image_decoder', 'test_public_includes', 'whitelist_typefaces', @@ -313,6 +314,22 @@ ], }, { + 'target_name': 'imgblur', + 'type': 'executable', + 'sources': [ + '../tools/imgblur.cpp', + ], + 'include_dirs': [ + '../include/core', + ], + 'dependencies': [ + 'flags.gyp:flags', + 'flags.gyp:flags_common', + 'skia_lib.gyp:skia_lib', + 'tools.gyp:sk_tool_utils', + ], + }, + { 'target_name': 'imgslice', 'type': 'executable', 'sources': [ |