diff options
author | 2015-02-26 13:25:05 -0800 | |
---|---|---|
committer | 2015-02-26 13:25:05 -0800 | |
commit | e6cf9cb68511ff08156f834859db39232eb37be8 (patch) | |
tree | a709ab6369279dd3f0c343295e4ebbdf1c9251c6 /src/pdf/SkPDFUtils.cpp | |
parent | 6be6f7cb66b277e7b1ce13d09b635fb8e09a2f68 (diff) |
miniz support in SkFlate / PDF
- Adds miniz.c v115_r4 (latest release) to third_party.
- Merges SkDeflateWStream into SkFlate so including "miniz.c" links
without duplicating symbols.
The only interesting code change I've made is to remove the line
fImpl->fZStream.data_type = Z_BINARY;
from SkDeflateWStream::SkDeflateWStream(). miniz doesn't have Z_BINARY
defined, and as far as I can tell, both zlib and miniz ignore data_type.
We should be able to swap skflate.gyp's dependency between zlib.gyp:zlib and
zlib.gyp:miniz at will (except of course on Windows) if we're interested in
zlib itself. I've left android framework on its own zlib. I think this all
means we can stop defining SK_NO_FLATE on Windows.
I'll leave the possible cleanup of SK_NO_FLATE itself for another time. Might
be we always want to keep this dependency optional.
CQ_EXTRA_TRYBOTS=client.skia:Test-Win8-ShuttleA-HD7770-x86-Debug-Trybot
BUG=skia:
Review URL: https://codereview.chromium.org/957323003
Diffstat (limited to 'src/pdf/SkPDFUtils.cpp')
0 files changed, 0 insertions, 0 deletions