[webkit-dev] Common build system (was Re: WebKit Wishes)
Mark Mentovai
mark at chromium.org
Tue Feb 5 11:55:06 PST 2013
You’re not supposed to use arbitrary Python, it’s highly discouraged. We
have a linter that keeps you from doing things you’re not supposed to do
(like this), but it slows things down, so it’s not part of the “standard”
GYP run that developers normally use. It can run as a pre-commit script or
test on the bot or something else. Used as we’re using it, GYP basically is
simple JSON, except the rules about commas are looser and # introduces
comments.
On Tue, Feb 5, 2013 at 2:47 PM, Ryosuke Niwa <rniwa at webkit.org> wrote:
> On Tue, Feb 5, 2013 at 6:09 AM, Mark Mentovai <mark at chromium.org> wrote:
>
>> The parser (and the grammar) works the way it does because it’s just
>> Python
>>
>
> This works great for people who like Python syntax but not for someone
> like myself who dislikes Python syntax.
>
> I also find it particularly annoying that people can use whatever Python
> constructs they want to use in GYP. It dramatically reduces language
> portability because you need to support quite a few Python constructs and
> quirks in order to correctly parse GYP.
>
> I personally would have much preferred for it be a simple JSON file.
>
> - R. Niwa
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20130205/ba270728/attachment.html>
More information about the webkit-dev
mailing list