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

Issue 8226018: Extract an independent webkit_support_gfx target. (Closed)

Created:
9 years, 2 months ago by HaoZheng
Modified:
9 years, 2 months ago
CC:
chromium-reviews, darin-cc_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Extract an independent webkit_support_gfx target. The new webkit_support_gfx, used by DumpRenderTree and ImageDiff, doesn't depend on most other parts of chromium. This could make building the individual target of ImageDiff fast. It's implemented by duplicating most code in ui/gfx/codec/png_codec.cc, after removing code related to Skia. This change is required to make ImageDiff for Android, and can benefit other platforms, too. On Android, most targets are built for toolsets:target. while ImageDiff needs to be build for toolsets:host. Currently, building the standalone target of ImageDiff depends on about 85 other targets (try 'make ImageDiff'), which is inefficient. After the change, ImageDiff only depends on webkit_support_gfx, libpng, and zlib. BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=105731

Patch Set 1 #

Total comments: 8

Patch Set 2 : feedback #

Total comments: 4

Patch Set 3 : comment #

Patch Set 4 : try to fix win build #

Patch Set 5 : fix win build #

Patch Set 6 : fix DEPS #

Unified diffs Side-by-side diffs Delta from patch set Stats (+657 lines, -16 lines) Patch
M third_party/libpng/libpng.gyp View 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/zlib/zlib.gyp View 1 chunk +5 lines, -0 lines 0 comments Download
M webkit/support/DEPS View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M webkit/support/webkit_support.gypi View 1 3 chunks +21 lines, -2 lines 0 comments Download
M webkit/support/webkit_support_gfx.cc View 1 2 3 4 4 chunks +627 lines, -14 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
HaoZheng
9 years, 2 months ago (2011-10-12 13:46:44 UTC) #1
tony
In general, this approach seems OK. I think a good follow up would be to ...
9 years, 2 months ago (2011-10-12 16:50:48 UTC) #2
HaoZheng
http://codereview.chromium.org/8226018/diff/1/webkit/support/webkit_support.gypi File webkit/support/webkit_support.gypi (right): http://codereview.chromium.org/8226018/diff/1/webkit/support/webkit_support.gypi#newcode138 webkit/support/webkit_support.gypi:138: '../..', On 2011/10/12 16:50:48, tony wrote: > use '<(DEPTH)' ...
9 years, 2 months ago (2011-10-13 03:16:02 UTC) #3
Satish
+1 to Tony's earlier suggestion of avoiding code duplication. Could we do it as part ...
9 years, 2 months ago (2011-10-13 08:46:32 UTC) #4
HaoZheng
On 2011/10/13 08:46:32, Satish wrote: > +1 to Tony's earlier suggestion of avoiding code duplication. ...
9 years, 2 months ago (2011-10-13 09:26:37 UTC) #5
tony
Is the difficulty in moving skia related code into a separate file because of PngDecoderState? ...
9 years, 2 months ago (2011-10-13 17:42:50 UTC) #6
HaoZheng
On 2011/10/13 17:42:50, tony wrote: > Is the difficulty in moving skia related code into ...
9 years, 2 months ago (2011-10-14 00:38:44 UTC) #7
tony
LGTM. I think the fork is less bad than a bunch of #ifdefs. This code ...
9 years, 2 months ago (2011-10-14 17:13:26 UTC) #8
HaoZheng
http://codereview.chromium.org/8226018/diff/5001/webkit/support/webkit_support_gfx.cc File webkit/support/webkit_support_gfx.cc (right): http://codereview.chromium.org/8226018/diff/5001/webkit/support/webkit_support_gfx.cc#newcode6 webkit/support/webkit_support_gfx.cc:6: #include <stdlib.h> On 2011/10/14 17:13:27, tony wrote: > Nit: ...
9 years, 2 months ago (2011-10-16 06:02:51 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zhenghao@google.com/8226018/13001
9 years, 2 months ago (2011-10-16 06:03:10 UTC) #10
HaoZheng
On 2011/10/14 17:13:26, tony wrote: > LGTM. > > I think the fork is less ...
9 years, 2 months ago (2011-10-16 06:04:17 UTC) #11
commit-bot: I haz the power
Try job failure for 8226018-13001 (retry) on win_rel for step "compile" (clobber build). It's a ...
9 years, 2 months ago (2011-10-16 06:19:59 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zhenghao@google.com/8226018/17002
9 years, 2 months ago (2011-10-16 08:50:05 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zhenghao@google.com/8226018/13003
9 years, 2 months ago (2011-10-16 09:28:18 UTC) #14
commit-bot: I haz the power
The commit queue went berserk retrying too often for a seemingly flaky test. Builder is ...
9 years, 2 months ago (2011-10-16 10:35:42 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zhenghao@google.com/8226018/13003
9 years, 2 months ago (2011-10-16 11:22:53 UTC) #16
commit-bot: I haz the power
The commit queue went berserk retrying too often for a seemingly flaky test. Builder is ...
9 years, 2 months ago (2011-10-16 12:31:11 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zhenghao@google.com/8226018/18009
9 years, 2 months ago (2011-10-16 13:05:13 UTC) #18
commit-bot: I haz the power
9 years, 2 months ago (2011-10-16 14:47:58 UTC) #19
Change committed as 105731

Powered by Google App Engine
This is Rietveld 408576698