aboutsummaryrefslogtreecommitdiffhomepage
path: root/gyp/skia_for_android_framework_defines.gypi
diff options
context:
space:
mode:
authorGravatar scroggo <scroggo@google.com>2015-11-23 08:14:40 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-11-23 08:14:40 -0800
commitcf98fa93116cf5efcc42d48c22fb4bd76896acdc (patch)
treedc2eef08cc61ea8b73d4650c0633b215b5aab37f /gyp/skia_for_android_framework_defines.gypi
parent93c69fff535075e86596a2b224f52f454b060be3 (diff)
Add SkPngChunkReader.
This class allows a client of SkCodec to read chunks in the data stream that are not recognized by libpng. This is used by Android to specify ninepatch data. Taken from SkImageDecoder::Peeker. Modify the name of the class and its method to be more specific to their use. Make SkImageDecoder::Peeker a subclass of the new class, to help stage the change in Android. Add a test to verify that it works. BUG=skia:4574 BUG=skia:3257 Committed: https://skia.googlesource.com/skia/+/3389e00136188800b98ca69488c0418c374fd78b Review URL: https://codereview.chromium.org/1040453002
Diffstat (limited to 'gyp/skia_for_android_framework_defines.gypi')
-rw-r--r--gyp/skia_for_android_framework_defines.gypi1
1 files changed, 1 insertions, 0 deletions
diff --git a/gyp/skia_for_android_framework_defines.gypi b/gyp/skia_for_android_framework_defines.gypi
index 773c530d0d..825429b9a0 100644
--- a/gyp/skia_for_android_framework_defines.gypi
+++ b/gyp/skia_for_android_framework_defines.gypi
@@ -19,6 +19,7 @@
'SK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS',
'SK_SUPPORT_LEGACY_GRADIENT_DITHERING',
'SK_IGNORE_GL_TEXTURE_TARGET',
+ 'SK_LEGACY_PEEKER',
],
},
}