RESOLVED FIXED 62229
Fix "branding" issue in features.gypi
https://bugs.webkit.org/show_bug.cgi?id=62229
Summary Fix "branding" issue in features.gypi
Adam Barth
Reported 2011-06-07 14:19:57 PDT
Fix "branding" issue in features.gypi
Attachments
Patch (4.28 KB, patch)
2011-06-07 14:21 PDT, Adam Barth
no flags
Adam Barth
Comment 1 2011-06-07 14:21:01 PDT
Tony Chang
Comment 2 2011-06-07 14:22:24 PDT
Comment on attachment 96295 [details] Patch Ah, I see, it was because of nesting.
Adam Barth
Comment 3 2011-06-07 14:25:13 PDT
I don't fully understanding the nesting stuff. I don't have a good mental model for what it does.
Adam Barth
Comment 4 2011-06-07 14:31:30 PDT
Comment on attachment 96295 [details] Patch Clearing flags on attachment: 96295 Committed r88268: <http://trac.webkit.org/changeset/88268>
Adam Barth
Comment 5 2011-06-07 14:31:34 PDT
All reviewed patches have been landed. Closing bug.
Tony Chang
Comment 6 2011-06-07 15:04:14 PDT
(In reply to comment #3) > I don't fully understanding the nesting stuff. I don't have a good mental model for what it does. I don't know why there are so many levels of nesting in feature_overrides.gypi. It's probably not necessary. Normally, we use nesting for using a variable in a condition. For example, 'variables': { 'foo': 0, 'conditions': { # Can't use foo, not defined in this scope. } }, To work around this, you nest variables. 'variables': { 'variables': { 'foo': 0 }, 'conditions': [ # Can use foo. ] } In build/common.gypi, this is because we have variable values that depend on other variable values. Like: 'variables': { 'variables': { 'chromeos': 0 }, 'conditions': [ [ 'chromeos==1', { 'toolkit_views': 1, }, { 'toolkit_views': 0 }] ] }
Adam Barth
Comment 7 2011-06-07 15:13:58 PDT
I fail at changing this file. I'm going to back everything out and try again another day.
Note You need to log in before you can comment on or make changes to this bug.