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

Issue 6873148: Include zlib.h properly (Closed)

Created:
9 years, 8 months ago by Mike Gilbert
Modified:
9 years, 7 months ago
CC:
chromium-reviews, jam
Visibility:
Public.

Description

Include zlib.h properly Linux links with the system zlib, so system headers should be used. Add dependency on zlib to make sure -Ithird_party/zlib gets passed on other platforms. Also see Gentoo Linux bug report. https://bugs.gentoo.org/show_bug.cgi?id=364205 Contributed by Mike Gilbert <floppymaster@gmail.com>;. BUG=none TEST=Remove third_party/zlib/zlib.h and compile on linux

Patch Set 1 #

Total comments: 2

Patch Set 2 : Wrap in #if defined(USE_SYSTEM_ZLIB) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -1 line) Patch
M content/browser/renderer_host/clipboard_message_filter.cc View 1 2 chunks +6 lines, -1 line 0 comments Download
M content/content_browser.gypi View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
Mike Gilbert
Please have a look and land this if ok.
9 years, 8 months ago (2011-04-21 03:31:30 UTC) #1
brettw
Do all Linux builds link with the system zlib? What about other platforms? Is there ...
9 years, 8 months ago (2011-04-21 03:37:19 UTC) #2
Mike Gilbert
On 2011/04/21 03:37:19, brettw wrote: > Do all Linux builds link with the system zlib? ...
9 years, 8 months ago (2011-04-21 03:44:55 UTC) #3
dcheng
Thanks for the catch. http://codereview.chromium.org/6873148/diff/1/content/browser/renderer_host/clipboard_message_filter.cc File content/browser/renderer_host/clipboard_message_filter.cc (right): http://codereview.chromium.org/6873148/diff/1/content/browser/renderer_host/clipboard_message_filter.cc#newcode16 content/browser/renderer_host/clipboard_message_filter.cc:16: #include <zlib.h> Will this work ...
9 years, 8 months ago (2011-04-21 03:55:58 UTC) #4
Mike Gilbert
On 2011/04/21 03:55:58, dcheng wrote: > Thanks for the catch. > > http://codereview.chromium.org/6873148/diff/1/content/browser/renderer_host/clipboard_message_filter.cc > File ...
9 years, 8 months ago (2011-04-21 04:10:09 UTC) #5
brettw
There should be a chromium bug to track this. You can file one yourself. The ...
9 years, 8 months ago (2011-04-21 04:40:16 UTC) #6
Mike Gilbert
Including it as <zlib.h> does not mean it will always use the system zlib header. ...
9 years, 8 months ago (2011-04-21 05:25:40 UTC) #7
Paweł Hajdan Jr.
Thanks for sending the patch. http://codereview.chromium.org/6873148/diff/1/content/browser/renderer_host/clipboard_message_filter.cc File content/browser/renderer_host/clipboard_message_filter.cc (right): http://codereview.chromium.org/6873148/diff/1/content/browser/renderer_host/clipboard_message_filter.cc#newcode16 content/browser/renderer_host/clipboard_message_filter.cc:16: #include <zlib.h> On 2011/04/21 ...
9 years, 8 months ago (2011-04-21 08:18:00 UTC) #8
Mike Gilbert
Ok, I have altered the patch to match the one Paweł applied downstream at Gentoo. ...
9 years, 8 months ago (2011-04-21 14:54:40 UTC) #9
brettw
I'll defer my review to Pawel.
9 years, 8 months ago (2011-04-21 15:31:04 UTC) #10
Mike Gilbert
Ping. Can someone land this or give advice on how to make it commit-worthy?
9 years, 8 months ago (2011-04-26 00:22:18 UTC) #11
dcheng
On 2011/04/26 00:22:18, Mike Gilbert wrote: > Ping. > > Can someone land this or ...
9 years, 8 months ago (2011-04-26 00:30:08 UTC) #12
commit-bot: I haz the power
Presubmit check for 6873148-4003 failed and returned exit status 1. Running presubmit commit checks ...
9 years, 8 months ago (2011-04-26 00:41:29 UTC) #13
commit-bot: I haz the power
Presubmit check for 6873148-4003 failed and returned exit status 1. Running presubmit commit checks ...
9 years, 8 months ago (2011-04-26 00:42:15 UTC) #14
commit-bot: I haz the power
Presubmit check for 6873148-4003 failed and returned exit status 1. Running presubmit commit checks ...
9 years, 8 months ago (2011-04-26 00:45:32 UTC) #15
Mike Gilbert
On 2011/04/26 00:30:08, dcheng wrote: > On 2011/04/26 00:22:18, Mike Gilbert wrote: > > Ping. ...
9 years, 8 months ago (2011-04-26 00:46:37 UTC) #16
Paweł Hajdan Jr.
Landed in http://codereview.chromium.org/6893021 . I'm assuming landing it is fine as Brett said "I'll defer ...
9 years, 8 months ago (2011-04-26 14:54:30 UTC) #17
brettw
9 years, 8 months ago (2011-04-26 16:02:26 UTC) #18
Yes, that's fine, thanks.

Powered by Google App Engine
This is Rietveld 408576698