Enable both static and dynamically linked libpng
authordjsollen <djsollen@google.com>
Wed, 1 Apr 2015 17:33:55 +0000 (10:33 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 1 Apr 2015 17:33:55 +0000 (10:33 -0700)
commit2469c999518e7b0063d35e9e2eb074a0477c21ac
treeae5382d53caae360fe836ee859e5f9a17cb6bf34
parent65a8e12287f40b1f3c3623397656f813b942b36f
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/1032253003
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]