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

Issue 1406153015: Remove dependencies on Android's forked decoder libraries (Closed)

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

Description

Remove dependencies on Android's forked decoder libraries Disable SkImageDecoder's code which relies on Android's customized libpng and libjpeg. Build standard versions of libpng and libjpeg-turbo everywhere. The SkImageDecoder code has been replaced with SkCodec, which can decode subsets using standard library APIs BUG=skia: Committed: https://skia.googlesource.com/skia/+/b747b90501823cc160848957dfa552877d83b11d

Patch Set 1 #

Total comments: 6

Patch Set 2 : Focus on modifying gyp files #

Total comments: 4

Patch Set 3 : Fixed images.gyp #

Total comments: 13

Patch Set 4 : Move logic out of codec.gyp and images.gyp #

Total comments: 2

Patch Set 5 : It is 2015 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -274 lines) Patch
M DEPS View 1 1 chunk +0 lines, -2 lines 0 comments Download
M gyp/android_deps.gyp View 1 1 chunk +3 lines, -3 lines 0 comments Download
M gyp/codec.gyp View 1 2 3 2 chunks +5 lines, -31 lines 0 comments Download
M gyp/dm.gypi View 1 1 chunk +1 line, -1 line 0 comments Download
M gyp/images.gyp View 1 2 3 4 chunks +5 lines, -13 lines 0 comments Download
D gyp/libjpeg.gyp View 1 chunk +0 lines, -45 lines 0 comments Download
A gyp/libjpeg-turbo-selector.gyp View 1 2 3 4 1 chunk +27 lines, -0 lines 0 comments Download
M gyp/libpng.gyp View 1 1 chunk +0 lines, -13 lines 0 comments Download
M platform_tools/android/gyp/dependencies.gypi View 1 1 chunk +0 lines, -152 lines 0 comments Download
M src/codec/SkCodec.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M src/images/SkImageDecoder_libjpeg.cpp View 1 chunk +0 lines, -4 lines 0 comments Download
M src/images/SkImageDecoder_libpng.cpp View 1 1 chunk +0 lines, -4 lines 0 comments Download
M src/images/SkJpegUtility.cpp View 1 chunk +0 lines, -4 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 16 (3 generated)
msarett
5 years, 1 month ago (2015-11-04 18:58:47 UTC) #2
scroggo
This seems to sort of go halfway to removing the old forked jpeg code. The ...
5 years, 1 month ago (2015-11-04 19:28:24 UTC) #3
msarett
"This raises another question - are we ready to make the full switch? We already ...
5 years, 1 month ago (2015-11-05 15:00:56 UTC) #4
msarett
https://codereview.chromium.org/1406153015/diff/20001/gyp/common_conditions.gypi File gyp/common_conditions.gypi (left): https://codereview.chromium.org/1406153015/diff/20001/gyp/common_conditions.gypi#oldcode375 gyp/common_conditions.gypi:375: 'SK_PRINT_CODEC_MESSAGES', Maybe this doesn't belong with this CL. But ...
5 years, 1 month ago (2015-11-05 15:05:43 UTC) #5
msarett
https://codereview.chromium.org/1406153015/diff/20001/gyp/images.gyp File gyp/images.gyp (right): https://codereview.chromium.org/1406153015/diff/20001/gyp/images.gyp#newcode17 gyp/images.gyp:17: 'libjpeg-turbo.gyp:libjpeg-turbo', This file still needs to be fixed.
5 years, 1 month ago (2015-11-05 15:39:59 UTC) #6
msarett
I verified that the Makefile generated by gyp_to_android.py builds properly with the changes to BRD ...
5 years, 1 month ago (2015-11-05 16:14:04 UTC) #7
scroggo
> Remove dependencies on forked libjpeg Will you please update the commit message? The current ...
5 years, 1 month ago (2015-11-05 18:35:53 UTC) #8
msarett
"I think this will be tricky (especially if we find any bugs in our benchmarks). ...
5 years, 1 month ago (2015-11-05 22:13:25 UTC) #10
scroggo
lgtm https://codereview.chromium.org/1406153015/diff/40001/gyp/codec.gyp File gyp/codec.gyp (right): https://codereview.chromium.org/1406153015/diff/40001/gyp/codec.gyp#newcode79 gyp/codec.gyp:79: 'libpng.gyp:libpng_static', On 2015/11/05 22:13:25, msarett wrote: > On ...
5 years, 1 month ago (2015-11-05 22:24:56 UTC) #11
msarett
https://codereview.chromium.org/1406153015/diff/40001/gyp/images.gyp File gyp/images.gyp (right): https://codereview.chromium.org/1406153015/diff/40001/gyp/images.gyp#newcode126 gyp/images.gyp:126: 'export_dependent_settings': [ On 2015/11/05 22:24:55, scroggo wrote: > Why ...
5 years, 1 month ago (2015-11-05 22:39:53 UTC) #12
scroggo
LGTM
5 years, 1 month ago (2015-11-05 22:42:16 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1406153015/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1406153015/80001
5 years, 1 month ago (2015-11-06 19:04:23 UTC) #15
commit-bot: I haz the power
5 years, 1 month ago (2015-11-06 19:15:53 UTC) #16
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://skia.googlesource.com/skia/+/b747b90501823cc160848957dfa552877d83b11d

Powered by Google App Engine
This is Rietveld 408576698