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

Issue 146043003: Start massaging the GYP files for building with clang on Windows (Closed)

Created:
6 years, 11 months ago by hans
Modified:
6 years, 4 months ago
Reviewers:
Reid Kleckner, Nico
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Start massaging the GYP files for building with clang on Windows BUG=82385 TBR=cpu Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=246874

Patch Set 1 #

Total comments: 2

Patch Set 2 : Insert comment as suggested by thakis #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -1 line) Patch
M build/common.gypi View 1 3 chunks +57 lines, -0 lines 0 comments Download
M third_party/libxml/libxml.gyp View 2 chunks +9 lines, -1 line 1 comment Download

Messages

Total messages: 13 (0 generated)
hans
I'd like to start doing this flag massaging in-tree. What do you think? With this ...
6 years, 11 months ago (2014-01-24 00:32:34 UTC) #1
Reid Kleckner
Awesome! https://codereview.chromium.org/146043003/diff/1/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/146043003/diff/1/build/common.gypi#newcode4682 build/common.gypi:4682: # TODO(hans): Make this list shorter eventually. Why ...
6 years, 11 months ago (2014-01-24 00:38:32 UTC) #2
Nico
Hooray! Add a comment somewhere in build/common.gypi with a link to the bug explaining that ...
6 years, 11 months ago (2014-01-24 00:39:34 UTC) #3
hans
> Add a comment somewhere in build/common.gypi with a link to > the bug explaining ...
6 years, 11 months ago (2014-01-24 00:54:03 UTC) #4
Nico
lgtm https://codereview.chromium.org/146043003/diff/60001/third_party/libxml/libxml.gyp File third_party/libxml/libxml.gyp (right): https://codereview.chromium.org/146043003/diff/60001/third_party/libxml/libxml.gyp#newcode259 third_party/libxml/libxml.gyp:259: '/U__STDC_VERSION__', (why isn't this needed for cl.exe? I ...
6 years, 11 months ago (2014-01-24 01:11:28 UTC) #5
Nico
On 2014/01/24 00:32:34, hans wrote: > I'd like to start doing this flag massaging in-tree. ...
6 years, 11 months ago (2014-01-24 01:11:56 UTC) #6
hans
On 2014/01/24 01:11:28, Nico wrote: > https://codereview.chromium.org/146043003/diff/60001/third_party/libxml/libxml.gyp#newcode259 > third_party/libxml/libxml.gyp:259: '/U__STDC_VERSION__', > (why isn't this needed ...
6 years, 11 months ago (2014-01-24 01:22:10 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hans@chromium.org/146043003/60001
6 years, 11 months ago (2014-01-24 01:23:52 UTC) #8
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=46233
6 years, 11 months ago (2014-01-24 01:46:08 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hans@chromium.org/146043003/60001
6 years, 11 months ago (2014-01-24 01:49:23 UTC) #10
commit-bot: I haz the power
Change committed as 246874
6 years, 11 months ago (2014-01-24 13:26:36 UTC) #11
Nico
On 2014/01/24 01:22:10, hans wrote: > On 2014/01/24 01:11:28, Nico wrote: > > > https://codereview.chromium.org/146043003/diff/60001/third_party/libxml/libxml.gyp#newcode259 ...
6 years, 4 months ago (2014-08-03 22:11:14 UTC) #12
hans
6 years, 4 months ago (2014-08-04 16:49:12 UTC) #13
On Sun, Aug 3, 2014 at 3:11 PM,  <thakis@chromium.org> wrote:
> On 2014/01/24 01:22:10, hans wrote:
>>
>> On 2014/01/24 01:11:28, Nico wrote:
>> >
>
>
>
https://codereview.chromium.org/146043003/diff/60001/third_party/libxml/libxm...
>>
>> > third_party/libxml/libxml.gyp:259: '/U__STDC_VERSION__',
>> > (why isn't this needed for cl.exe? I guess it doesn't define
>
> __STDC_VERSION__?
>>
>> > should clang-cl then?)
>
>
>> Exactly, cl.exe doesn't set __STDC_VERSION__ (at least not VS 2012 which I
>> was
>> using) because it doesn't claim to support C99.
>
>
>> The problem is that Clang does support C99, and we do want to compile code
>
> that
>>
>> takes advantage of that (ffmpeg), but we're also constrained by what the
>> MSVC
>> library provides. I don't think it'll be a big problem in practice, and it
>
> might
>>
>> work itself out if we migrate to VS 2013 which should have more C99 stuff
>> in
>
> its
>>
>> library.
>
>
> Now that we're on 2013, is the change in libxml.gyp still needed?
>
> https://codereview.chromium.org/146043003/

Nope. https://codereview.chromium.org/443453002/

To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698