RESOLVED FIXED 62399
[chromium] make features.gypi the same as features_override.gypi
https://bugs.webkit.org/show_bug.cgi?id=62399
Summary [chromium] make features.gypi the same as features_override.gypi
Tony Chang
Reported 2011-06-09 13:39:50 PDT
[chromium] make features.gypi the same as features_override.gypi
Attachments
Patch (8.53 KB, patch)
2011-06-09 13:41 PDT, Tony Chang
no flags
Patch (8.56 KB, patch)
2011-06-09 14:10 PDT, Tony Chang
no flags
Patch (8.55 KB, patch)
2011-06-10 09:50 PDT, Tony Chang
dglazkov: review+
Tony Chang
Comment 1 2011-06-09 13:41:05 PDT
Tony Chang
Comment 2 2011-06-09 14:00:12 PDT
This removes the nesting in features.gypi. Instead, the two feature_defines lists are now merged together. As far as I can tell, duplicate values are removed so we don't get -D listed twice on the command line. I tried to find the code in gyp that's removing the duplicates, but I couldn't seem to find it. Maybe Mark knows where that is so I can be more confident?
James Robinson
Comment 3 2011-06-09 14:02:51 PDT
Comment on attachment 96630 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=96630&action=review > Source/WebKit/chromium/features.gypi:51 > + 'ENABLE_FULLSCREEN_API=1', you need to remove this too - see https://bugs.webkit.org/show_bug.cgi?id=62397
Mark Mentovai
Comment 4 2011-06-09 14:07:18 PDT
Tony, look for the word “singleton” in input.py.
Tony Chang
Comment 5 2011-06-09 14:10:20 PDT
Tony Chang
Comment 6 2011-06-09 14:11:46 PDT
Removed ENABLE_FULLSCREEN_API and found singleton in the gyp source :) We remove duplicate values that don't start with a -.
WebKit Review Bot
Comment 7 2011-06-09 15:25:09 PDT
Comment on attachment 96639 [details] Patch Attachment 96639 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/8810060
James Robinson
Comment 8 2011-06-09 15:30:39 PDT
This should compile after http://trac.webkit.org/changeset/88490
James Robinson
Comment 9 2011-06-09 15:31:18 PDT
Comment on attachment 96639 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=96639&action=review > Source/WebKit/chromium/features.gypi:158 > +# Local Variables: did you mean to check this section in?
Tony Chang
Comment 10 2011-06-09 15:36:43 PDT
Comment on attachment 96639 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=96639&action=review >> Source/WebKit/chromium/features.gypi:158 >> +# Local Variables: > > did you mean to check this section in? It's in features_override.gypi and I just copied the whole file over. I don't care about it one way or the other. We should probably decide whether or not we need this and update all our .gyp(i) files.
James Robinson
Comment 11 2011-06-09 15:38:26 PDT
I don't know what it is or what it does
Tony Chang
Comment 12 2011-06-09 15:41:51 PDT
(In reply to comment #11) > I don't know what it is or what it does Oh, it's for vim. It lets vim users get the proper indenting and tab behavior when they open the file (I think this is normally done based on file extension?). I'm not actually a vim user, so I don't care :)
WebKit Review Bot
Comment 13 2011-06-09 18:32:05 PDT
Comment on attachment 96639 [details] Patch Attachment 96639 [details] did not pass cr-mac-ews (chromium): Output: http://queues.webkit.org/results/8826214
Tony Chang
Comment 14 2011-06-10 09:50:25 PDT
Dimitri Glazkov (Google)
Comment 15 2011-06-10 09:52:13 PDT
Comment on attachment 96753 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=96753&action=review > Source/WebKit/chromium/features.gypi:162 > +# Local Variables: > +# tab-width:2 > +# indent-tabs-mode:nil > +# End: > +# vim: set expandtab tabstop=2 shiftwidth=2: What's that?!
Tony Chang
Comment 16 2011-06-10 10:29:41 PDT
(In reply to comment #15) > (From update of attachment 96753 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=96753&action=review > > > Source/WebKit/chromium/features.gypi:162 > > +# Local Variables: > > +# tab-width:2 > > +# indent-tabs-mode:nil > > +# End: > > +# vim: set expandtab tabstop=2 shiftwidth=2: > > What's that?! Ok, I'll remove it before landing. I'm also working on removing this from all our gyp(i) files.
Tony Chang
Comment 17 2011-06-10 10:31:24 PDT
Note You need to log in before you can comment on or make changes to this bug.