aboutsummaryrefslogtreecommitdiffhomepage
path: root/gyp
diff options
context:
space:
mode:
authorGravatar msarett <msarett@google.com>2015-09-08 15:35:32 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-09-08 15:35:32 -0700
commita5783aeff042ccaf517e50dee3660a4925f5f694 (patch)
tree17144d306e184bd3d6178e863769c5febbd59e22 /gyp
parent036fd8e6f66b53cf87a5f91083cae82f0aeb3635 (diff)
Provides various implementations of Android's SkBitmapRegionDecoder.
Implements testing in DM for these implementations. nanobench testing will follow after this. TBR=scroggo BUG=skia: Committed: https://skia.googlesource.com/skia/+/76f755e6d54a32f9887ad254ce59a3a62f28bde4 Review URL: https://codereview.chromium.org/1288963002
Diffstat (limited to 'gyp')
-rw-r--r--gyp/dm.gypi1
-rw-r--r--gyp/tools.gyp16
2 files changed, 17 insertions, 0 deletions
diff --git a/gyp/dm.gypi b/gyp/dm.gypi
index 4ce2b4b580..ad73072bda 100644
--- a/gyp/dm.gypi
+++ b/gyp/dm.gypi
@@ -25,6 +25,7 @@
'libpng.gyp:libpng_static_when_possible',
'skia_lib.gyp:skia_lib',
'svg.gyp:svg',
+ 'tools.gyp:bitmap_region_decoder',
'tools.gyp:crash_handler',
'tools.gyp:proc_stats',
'tools.gyp:sk_tool_utils',
diff --git a/gyp/tools.gyp b/gyp/tools.gyp
index 463fa732a7..1c443229ee 100644
--- a/gyp/tools.gyp
+++ b/gyp/tools.gyp
@@ -18,6 +18,7 @@
'type': 'none',
'dependencies': [
'bench_pictures',
+ 'bitmap_region_decoder',
'chrome_fuzz',
'dump_record',
'filter',
@@ -50,6 +51,21 @@
],
},
{
+ 'target_name': 'bitmap_region_decoder',
+ 'type': 'static_library',
+ 'sources': [
+ '../tools/SkBitmapRegionCanvas.cpp',
+ '../tools/SkBitmapRegionDecoderInterface.cpp',
+ '../tools/SkBitmapRegionSampler.cpp',
+ ],
+ 'include_dirs': [
+ '../include/private'
+ ],
+ 'dependencies': [
+ 'skia_lib.gyp:skia_lib',
+ ],
+ },
+ {
'target_name': 'chrome_fuzz',
'type': 'executable',
'sources': [