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

Issue 1702533004: Individually enable and disable SkCodecs (Closed)

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

Description

Individually enable and disable SkCodecs BUG=skia:4956 GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1702533004 CQ_EXTRA_TRYBOTS=client.skia.compile:Build-Ubuntu-GCC-x86_64-Release-CMake-Trybot Committed: https://skia.googlesource.com/skia/+/39b2d5a1ac4171aba0e92cb3f9882f62e5730e3e

Patch Set 1 #

Total comments: 5

Patch Set 2 : Add missing WEBP check, disable codecs on Google3 iOS #

Total comments: 6

Patch Set 3 : Only keep the ifdefs that we really need #

Total comments: 16

Patch Set 4 : Remove #ifdef on Jpeg include #

Patch Set 5 : Clairfy comments in codec.gyp #

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -30 lines) Patch
M cmake/CMakeLists.txt View 1 2 4 chunks +11 lines, -7 lines 0 comments Download
M gyp/codec.gyp View 1 2 3 4 5 2 chunks +14 lines, -4 lines 0 comments Download
M public.bzl View 1 2 1 chunk +8 lines, -2 lines 0 comments Download
M src/codec/SkAndroidCodec.cpp View 1 2 2 chunks +13 lines, -7 lines 0 comments Download
M src/codec/SkCodec.cpp View 1 2 3 3 chunks +14 lines, -3 lines 0 comments Download
M src/codec/SkGifCodec.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M src/codec/SkGifCodec.cpp View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M src/codec/SkJpegCodec.h View 1 2 3 1 chunk +2 lines, -5 lines 0 comments Download
M src/codec/SkJpegDecoderMgr.h View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 39 (18 generated)
msarett
I'm on the fence about this... It's a little messy. I think I might explore ...
4 years, 10 months ago (2016-02-16 22:24:22 UTC) #4
dogben
https://codereview.chromium.org/1702533004/diff/1/public.bzl File public.bzl (right): https://codereview.chromium.org/1702533004/diff/1/public.bzl#newcode502 public.bzl:502: # Turn on image codecs We have removed all ...
4 years, 10 months ago (2016-02-16 22:31:17 UTC) #7
msarett
https://codereview.chromium.org/1702533004/diff/1/public.bzl File public.bzl (right): https://codereview.chromium.org/1702533004/diff/1/public.bzl#newcode502 public.bzl:502: # Turn on image codecs On 2016/02/16 22:31:16, Ben ...
4 years, 10 months ago (2016-02-16 22:33:54 UTC) #9
msarett
https://codereview.chromium.org/1702533004/diff/60001/tests/CodexTest.cpp File tests/CodexTest.cpp (right): https://codereview.chromium.org/1702533004/diff/60001/tests/CodexTest.cpp#newcode336 tests/CodexTest.cpp:336: #if defined(SK_CODEC_DECODES_WBMP) Thinking about this a little further... Maybe ...
4 years, 10 months ago (2016-02-16 22:52:26 UTC) #12
mtklein
https://codereview.chromium.org/1702533004/diff/60001/cmake/CMakeLists.txt File cmake/CMakeLists.txt (right): https://codereview.chromium.org/1702533004/diff/60001/cmake/CMakeLists.txt#newcode148 cmake/CMakeLists.txt:148: # We can always turn on BMP and WBMP ...
4 years, 10 months ago (2016-02-16 23:08:59 UTC) #13
mtklein
If it wasn't clear, I'm a fan of this approach. https://codereview.chromium.org/1702533004/diff/60001/src/codec/SkCodec.cpp File src/codec/SkCodec.cpp (right): https://codereview.chromium.org/1702533004/diff/60001/src/codec/SkCodec.cpp#newcode13 ...
4 years, 10 months ago (2016-02-16 23:16:01 UTC) #14
dogben
On 2016/02/16 at 22:33:54, msarett wrote: > https://codereview.chromium.org/1702533004/diff/1/public.bzl > File public.bzl (right): > > https://codereview.chromium.org/1702533004/diff/1/public.bzl#newcode502 ...
4 years, 10 months ago (2016-02-16 23:52:52 UTC) #15
msarett
I think this version looks much better. https://codereview.chromium.org/1702533004/diff/1/public.bzl File public.bzl (right): https://codereview.chromium.org/1702533004/diff/1/public.bzl#newcode502 public.bzl:502: # Turn ...
4 years, 10 months ago (2016-02-17 14:34:54 UTC) #16
scroggo
lgtm https://codereview.chromium.org/1702533004/diff/80001/gyp/codec.gyp File gyp/codec.gyp (left): https://codereview.chromium.org/1702533004/diff/80001/gyp/codec.gyp#oldcode26 gyp/codec.gyp:26: # FIXME: This gets around a longjmp warning. ...
4 years, 10 months ago (2016-02-17 14:55:55 UTC) #17
mtklein
https://codereview.chromium.org/1702533004/diff/80001/src/codec/SkCodec.cpp File src/codec/SkCodec.cpp (right): https://codereview.chromium.org/1702533004/diff/80001/src/codec/SkCodec.cpp#newcode15 src/codec/SkCodec.cpp:15: #include "SkJpegCodec.h" On 2016/02/17 14:34:54, msarett wrote: > Don't ...
4 years, 10 months ago (2016-02-17 14:57:31 UTC) #18
mtklein
https://codereview.chromium.org/1702533004/diff/80001/gyp/codec.gyp File gyp/codec.gyp (right): https://codereview.chromium.org/1702533004/diff/80001/gyp/codec.gyp#newcode63 gyp/codec.gyp:63: # Allow the client to turn on/off individual codecs. ...
4 years, 10 months ago (2016-02-17 14:59:31 UTC) #19
msarett
https://codereview.chromium.org/1702533004/diff/80001/gyp/codec.gyp File gyp/codec.gyp (left): https://codereview.chromium.org/1702533004/diff/80001/gyp/codec.gyp#oldcode26 gyp/codec.gyp:26: # FIXME: This gets around a longjmp warning. See ...
4 years, 10 months ago (2016-02-17 15:13:47 UTC) #20
scroggo
Still lgtm at patch set 4 https://codereview.chromium.org/1702533004/diff/80001/gyp/codec.gyp File gyp/codec.gyp (right): https://codereview.chromium.org/1702533004/diff/80001/gyp/codec.gyp#newcode63 gyp/codec.gyp:63: # Allow the ...
4 years, 10 months ago (2016-02-17 15:20:00 UTC) #21
msarett
https://codereview.chromium.org/1702533004/diff/80001/gyp/codec.gyp File gyp/codec.gyp (right): https://codereview.chromium.org/1702533004/diff/80001/gyp/codec.gyp#newcode63 gyp/codec.gyp:63: # Allow the client to turn on/off individual codecs. ...
4 years, 10 months ago (2016-02-17 15:26:28 UTC) #22
scroggo
On 2016/02/17 15:26:28, msarett wrote: > https://codereview.chromium.org/1702533004/diff/80001/gyp/codec.gyp > File gyp/codec.gyp (right): > > https://codereview.chromium.org/1702533004/diff/80001/gyp/codec.gyp#newcode63 > ...
4 years, 10 months ago (2016-02-17 15:41:05 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1702533004/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1702533004/120001
4 years, 10 months ago (2016-02-17 15:46:30 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: Build-Mac10.9-Clang-x86_64-Release-CMake-Trybot on client.skia.compile (JOB_FAILED, no build URL)
4 years, 10 months ago (2016-02-17 15:46:54 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1702533004/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1702533004/120001
4 years, 10 months ago (2016-02-17 15:48:22 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: Build-Ubuntu-GCC-x86_64-Release-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu-GCC-x86_64-Release-Trybot/builds/6253)
4 years, 10 months ago (2016-02-17 15:48:54 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1702533004/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1702533004/140001
4 years, 10 months ago (2016-02-17 15:55:22 UTC) #37
commit-bot: I haz the power
4 years, 10 months ago (2016-02-17 16:26:34 UTC) #39
Message was sent while issue was closed.
Committed patchset #6 (id:140001) as
https://skia.googlesource.com/skia/+/39b2d5a1ac4171aba0e92cb3f9882f62e5730e3e

Powered by Google App Engine
This is Rietveld 408576698