Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(13)

Issue 1032253003: Enable both static and dynamically linked libpng (Closed)

Created:
5 years, 9 months ago by djsollen
Modified:
5 years, 8 months ago
Reviewers:
msarett, scroggo
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

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. Committed: https://skia.googlesource.com/skia/+/2469c999518e7b0063d35e9e2eb074a0477c21ac

Patch Set 1 #

Total comments: 4

Patch Set 2 : fix prefixing issues #

Patch Set 3 : rebase #

Total comments: 21

Patch Set 4 : addressing comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+556 lines, -96 lines) Patch
M gyp/codec.gyp View 1 2 2 chunks +15 lines, -1 line 0 comments Download
M gyp/common_variables.gypi View 1 2 1 chunk +0 lines, -9 lines 0 comments Download
M gyp/libpng.gyp View 1 2 3 1 chunk +68 lines, -74 lines 0 comments Download
M src/codec/SkCodec_libpng.h View 1 2 3 1 chunk +5 lines, -3 lines 0 comments Download
M src/images/SkImageDecoder_libpng.cpp View 1 2 3 1 chunk +5 lines, -2 lines 0 comments Download
M third_party/libpng/README.google View 1 2 3 1 chunk +9 lines, -7 lines 0 comments Download
M third_party/libpng/pnglibconf.h View 1 1 chunk +7 lines, -0 lines 0 comments Download
A third_party/libpng/pngprefix.h View 1 2 3 1 chunk +447 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (6 generated)
djsollen
https://codereview.chromium.org/1032253003/diff/1/gyp/codec.gyp File gyp/codec.gyp (right): https://codereview.chromium.org/1032253003/diff/1/gyp/codec.gyp#newcode20 gyp/codec.gyp:20: 'libpng.gyp:libpng_static', need to make this conditional so that the ...
5 years, 9 months ago (2015-03-26 16:39:12 UTC) #2
scroggo
Other than my comments, it looks good, thanks! https://codereview.chromium.org/1032253003/diff/1/gyp/codec.gyp File gyp/codec.gyp (right): https://codereview.chromium.org/1032253003/diff/1/gyp/codec.gyp#newcode20 gyp/codec.gyp:20: 'libpng.gyp:libpng_static', ...
5 years, 9 months ago (2015-03-26 17:19:02 UTC) #3
djsollen
https://codereview.chromium.org/1032253003/diff/1/gyp/codec.gyp File gyp/codec.gyp (right): https://codereview.chromium.org/1032253003/diff/1/gyp/codec.gyp#newcode20 gyp/codec.gyp:20: 'libpng.gyp:libpng_static', On 2015/03/26 17:19:02, scroggo wrote: > On 2015/03/26 ...
5 years, 8 months ago (2015-04-01 15:12:43 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1032253003/20001
5 years, 8 months ago (2015-04-01 15:13:19 UTC) #6
commit-bot: I haz the power
Failed to apply patch for gyp/codec.gyp: While running git apply --index -3 -p1; error: patch ...
5 years, 8 months ago (2015-04-01 15:13:23 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1032253003/40001
5 years, 8 months ago (2015-04-01 15:15:53 UTC) #10
commit-bot: I haz the power
This issue passed the CQ dry run.
5 years, 8 months ago (2015-04-01 15:29:18 UTC) #12
scroggo
> Enable both static and dynamically linked libpng Could you add remarks about the following: ...
5 years, 8 months ago (2015-04-01 15:40:21 UTC) #13
scroggo
besides my comments, lgtm
5 years, 8 months ago (2015-04-01 16:30:04 UTC) #14
djsollen
https://codereview.chromium.org/1032253003/diff/40001/gyp/codec.gyp File gyp/codec.gyp (right): https://codereview.chromium.org/1032253003/diff/40001/gyp/codec.gyp#newcode52 gyp/codec.gyp:52: # TODO(djsollen): this is a temporary dependency until we ...
5 years, 8 months ago (2015-04-01 17:19:01 UTC) #15
scroggo
lgtm https://codereview.chromium.org/1032253003/diff/40001/gyp/libpng.gyp File gyp/libpng.gyp (right): https://codereview.chromium.org/1032253003/diff/40001/gyp/libpng.gyp#newcode95 gyp/libpng.gyp:95: # not sure if I need this On ...
5 years, 8 months ago (2015-04-01 17:20:48 UTC) #16
djsollen
On 2015/04/01 17:20:48, scroggo wrote: > lgtm > > https://codereview.chromium.org/1032253003/diff/40001/gyp/libpng.gyp > File gyp/libpng.gyp (right): > ...
5 years, 8 months ago (2015-04-01 17:24:51 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1032253003/60001
5 years, 8 months ago (2015-04-01 17:25:12 UTC) #19
commit-bot: I haz the power
Committed patchset #4 (id:60001) as https://skia.googlesource.com/skia/+/2469c999518e7b0063d35e9e2eb074a0477c21ac
5 years, 8 months ago (2015-04-01 17:34:00 UTC) #20
djsollen
5 years, 8 months ago (2015-04-01 18:19:38 UTC) #21
Message was sent while issue was closed.
A revert of this CL (patchset #4 id:60001) has been created in
https://codereview.chromium.org/1050183002/ by djsollen@google.com.

The reason for reverting is: breaking the nexus_9 and ios builds..

Powered by Google App Engine
This is Rietveld 408576698