Enable both static and dynamically linked libpng
authordjsollen <djsollen@google.com>
Fri, 3 Apr 2015 19:35:27 +0000 (12:35 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 3 Apr 2015 19:35:27 +0000 (12:35 -0700)
commitb2a6fe7976ae85242f9266be23eab025a7e8e7e7
tree92c840da319692114516ad4d3b83d31f079573ee
parentaed98b80d9a0092e8e3d3fd3ebf237b1c652f9c8
Enable both static and dynamically linked libpng

All platforms except android are configured to use the statically linked copy
of libpng. Android uses the system provided dynamic copy for SkImageDecoder
and the static copy for SkCodec. The exception being android framework builds
that currently use the dynamic copy everywhere.

This CL also enables NEON optimizations for libpng.

Review URL: https://codereview.chromium.org/1058823002
gyp/codec.gyp
gyp/common_variables.gypi
gyp/libpng.gyp
src/codec/SkCodec_libpng.h
src/images/SkImageDecoder_libpng.cpp
third_party/libpng/README.google
third_party/libpng/pnglibconf.h
third_party/libpng/pngprefix.h [new file with mode: 0644]