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

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

Created:
5 years, 8 months ago by djsollen
Modified:
5 years, 1 month 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/+/b2a6fe7976ae85242f9266be23eab025a7e8e7e7

Patch Set 1 #

Total comments: 2

Patch Set 2 : ios experiment #

Patch Set 3 : ios experiment #2 #

Patch Set 4 : fix gyp #

Patch Set 5 : original behavior #

Total comments: 2

Patch Set 6 : rebase #

Patch Set 7 : win fix #

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

Messages

Total messages: 17 (6 generated)
djsollen
5 years, 8 months ago (2015-04-03 18:39:11 UTC) #2
scroggo
https://codereview.chromium.org/1058823002/diff/10009/gyp/libpng.gyp File gyp/libpng.gyp (right): https://codereview.chromium.org/1058823002/diff/10009/gyp/libpng.gyp#newcode81 gyp/libpng.gyp:81: [ 'skia_os != "ios"', { nit: This is easier ...
5 years, 8 months ago (2015-04-03 18:49:49 UTC) #3
scroggo
lgtm
5 years, 8 months ago (2015-04-03 18:49:50 UTC) #4
djsollen
https://codereview.chromium.org/1058823002/diff/10009/gyp/libpng.gyp File gyp/libpng.gyp (right): https://codereview.chromium.org/1058823002/diff/10009/gyp/libpng.gyp#newcode81 gyp/libpng.gyp:81: [ 'skia_os != "ios"', { On 2015/04/03 18:49:48, scroggo ...
5 years, 8 months ago (2015-04-03 19:03:20 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1058823002/80001
5 years, 8 months ago (2015-04-03 19:03:55 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: Build-Win-MSVC-x86-Debug-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Win-MSVC-x86-Debug-Trybot/builds/354)
5 years, 8 months ago (2015-04-03 19:07:56 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1058823002/100001
5 years, 8 months ago (2015-04-03 19:29:38 UTC) #13
commit-bot: I haz the power
Committed patchset #7 (id:100001) as https://skia.googlesource.com/skia/+/b2a6fe7976ae85242f9266be23eab025a7e8e7e7
5 years, 8 months ago (2015-04-03 19:35:31 UTC) #14
msarett
https://codereview.chromium.org/1058823002/diff/1/gyp/libpng.gyp File gyp/libpng.gyp (right): https://codereview.chromium.org/1058823002/diff/1/gyp/libpng.gyp#newcode81 gyp/libpng.gyp:81: [ 'skia_os != "ios"', { Does anybody remember why ...
5 years, 1 month ago (2015-11-10 20:27:46 UTC) #15
scroggo
https://codereview.chromium.org/1058823002/diff/1/gyp/libpng.gyp File gyp/libpng.gyp (right): https://codereview.chromium.org/1058823002/diff/1/gyp/libpng.gyp#newcode81 gyp/libpng.gyp:81: [ 'skia_os != "ios"', { On 2015/11/10 20:27:46, msarett ...
5 years, 1 month ago (2015-11-10 21:20:11 UTC) #16
djsollen
5 years, 1 month ago (2015-11-10 21:28:54 UTC) #17
Message was sent while issue was closed.
On 2015/11/10 21:20:11, scroggo wrote:
> https://codereview.chromium.org/1058823002/diff/1/gyp/libpng.gyp
> File gyp/libpng.gyp (right):
> 
> https://codereview.chromium.org/1058823002/diff/1/gyp/libpng.gyp#newcode81
> gyp/libpng.gyp:81: [ 'skia_os != "ios"', {
> On 2015/11/10 20:27:46, msarett wrote:
> > Does anybody remember why we don't compile NEON for png on ios?  Is there a
> bug?
> 
> I do not remember :(

Yes, the NEON files failed to compile on iOS and we didn't pursue fixing it at
the time.

Powered by Google App Engine
This is Rietveld 408576698