skia2/third_party/libpng
djsollen b2a6fe7976 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
2015-04-03 12:35:27 -07:00
..
LICENSE Add SkCodec, including PNG implementation. 2015-03-03 08:59:20 -08:00
pnglibconf.h Enable both static and dynamically linked libpng 2015-04-03 12:35:27 -07:00
pngprefix.h Enable both static and dynamically linked libpng 2015-04-03 12:35:27 -07:00
README.google Enable both static and dynamically linked libpng 2015-04-03 12:35:27 -07:00

URL: http://www.libpng.org/pub/png/libpng.html
Version: 1.6.16
License: libpng license
License File: LICENSE, pulled out of png.h
Description: png compression/decompression library
Local Modifications: (1) Created pnglibconf.h from pnglibconf.h.prebuilt (a
    rename with a few additional settings enabled). (2) Created pngprefix.h
    that is required when using the PNG_PREFIX define. (3) Pulled LICENSE into
    its own file.

FAQ:
Q: Why does this directory exist?
A: libpng is pulled in through DEPS, but in order to build it using ninja, we
   need to create pnglibconf.h and pngprefix.h.  We originally tried creating
   the file as an action in https://codereview.chromium.org/930283002/, but this
   apparently led to a race condition on Windows, where some builds failed to
   create the file in time for other files to include it. By checking these
   files directly into Skia, we eliminate the race condition.