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

Issue 3063009: Revert the changes to libxml.gyp in r52725.... (Closed)

Created:
10 years, 5 months ago by wtc
Modified:
9 years, 7 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Revert the changes to libxml.gyp in r52725. Both libxml and its direct dependencies need to define LIBXML_STATIC when libxml is a static library. Right now it is necessary to define this macro only on Windows, but the macro is intended to be cross-platform. R=evan BUG=50048 TEST=Windows build log should not contain "locally defined symbol XXX imported" linker warings such as: libxslt.lib(numbers.obj) : warning LNK4049: locally defined symbol _xmlFree imported Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=53861

Patch Set 1 #

Patch Set 2 : Fix macro redefined warning. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -5 lines) Patch
M third_party/libxml/libxml.gyp View 1 3 chunks +10 lines, -5 lines 1 comment Download

Messages

Total messages: 5 (0 generated)
wtc
I didn't get the "macro defined twice" compilation errors on Linux and Mac, so I'd ...
10 years, 5 months ago (2010-07-26 22:44:51 UTC) #1
wtc
I think I got to the bottom of this bug now. Please review Patch Set ...
10 years, 5 months ago (2010-07-27 18:15:23 UTC) #2
Mark Mentovai
LGTM
10 years, 5 months ago (2010-07-27 18:17:38 UTC) #3
Evan Martin
http://codereview.chromium.org/3063009/diff/3001/4001 File third_party/libxml/libxml.gyp (right): http://codereview.chromium.org/3063009/diff/3001/4001#newcode172 third_party/libxml/libxml.gyp:172: 'LIBXML_STATIC', Should this also be 'LIBXML_STATIC='?
10 years, 5 months ago (2010-07-27 18:22:53 UTC) #4
Mark Mentovai
10 years, 5 months ago (2010-07-27 18:24:37 UTC) #5
evan@chromium.org wrote:
> http://codereview.chromium.org/3063009/diff/3001/4001
> File third_party/libxml/libxml.gyp (right):
>
> http://codereview.chromium.org/3063009/diff/3001/4001#newcode172
> third_party/libxml/libxml.gyp:172: 'LIBXML_STATIC',
> Should this also be 'LIBXML_STATIC='?

Shouldn’t need it, Wan-Teh told me the conflict was only with an
internal libxml header that dependents will never see.

Powered by Google App Engine
This is Rietveld 408576698