aboutsummaryrefslogtreecommitdiffhomepage
path: root/gyp
diff options
context:
space:
mode:
authorGravatar robertphillips <robertphillips@google.com>2015-10-19 06:39:17 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-10-19 06:39:17 -0700
commit9c4909b50ff9d0fdf9bce2a67cd459aeb28cdc3c (patch)
treee5ca55588af4b047c73ea0df40fd9557b57b7a54 /gyp
parentb3f1636ec80e66188ddc01306672a9a79a954dfe (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.gyp21
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': [