aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/libpng/pnglibconf.h
diff options
context:
space:
mode:
authorGravatar djsollen <djsollen@google.com>2015-04-03 12:35:27 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-04-03 12:35:27 -0700
commitb2a6fe7976ae85242f9266be23eab025a7e8e7e7 (patch)
tree92c840da319692114516ad4d3b83d31f079573ee /third_party/libpng/pnglibconf.h
parentaed98b80d9a0092e8e3d3fd3ebf237b1c652f9c8 (diff)
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
Diffstat (limited to 'third_party/libpng/pnglibconf.h')
-rw-r--r--third_party/libpng/pnglibconf.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/third_party/libpng/pnglibconf.h b/third_party/libpng/pnglibconf.h
index da3b229215..ea3694bf49 100644
--- a/third_party/libpng/pnglibconf.h
+++ b/third_party/libpng/pnglibconf.h
@@ -207,4 +207,11 @@
#define PNG_sCAL_PRECISION 5
#define PNG_sRGB_PROFILE_CHECKS 2
/* end of settings */
+
+/* custom settings */
+#define PNG_ARM_NEON_API_SUPPORTED
+#define PNG_ARM_NEON_CHECK_SUPPORTED
+#define PNG_PREFIX skia_
+/* end of custom settings */
+
#endif /* PNGLCONF_H */