RESOLVED INVALID 27626
To allow disabling DataGrid, conditionalize its files in DerivedSourcesAllInOne
https://bugs.webkit.org/show_bug.cgi?id=27626
Summary To allow disabling DataGrid, conditionalize its files in DerivedSourcesAllInOne
Jens Alfke
Reported 2009-07-23 15:05:36 PDT
My previous patch (bug 27383) was designed to, among other things, allow setting ENABLE_DATAGRID to 0, which we want to do in Chromium until the functionality is more fleshed-out. However, there's one more change needed for that which I didn't catch: conditionalizing the #includes of the DataGrid cpp files in DerivedSourcesAllInOne.cpp. For some reason this didn't cause errors on my machine (perhaps because of left-over already built files?) but my new Chromium patch for turning off ENABLE_DATAGRID is failing on our buildbots, so before I can submit that to Chromium I need to submit the remaining WebKit bit over here...
Attachments
patch to fix it (1.13 KB, patch)
2009-07-23 15:09 PDT, Jens Alfke
fishd: review-
Now with changelog entry, duh (1.72 KB, patch)
2009-07-23 15:16 PDT, Jens Alfke
no flags
Jens Alfke
Comment 1 2009-07-23 15:09:15 PDT
Created attachment 33381 [details] patch to fix it (Note that this patch only affects platforms that build V8 not JSC.)
Darin Fisher (:fishd, Google)
Comment 2 2009-07-23 15:13:35 PDT
Comment on attachment 33381 [details] patch to fix it This looks good, but it needs ChangeLog entry.
Jens Alfke
Comment 3 2009-07-23 15:16:53 PDT
Created attachment 33383 [details] Now with changelog entry, duh
Eric Seidel (no email)
Comment 4 2009-07-23 23:09:46 PDT
Comment on attachment 33383 [details] Now with changelog entry, duh Why aren't these inside the DataGrid files? Normally we just use Condition=DATAGRID in the idl files and it magically adds all this for you. Why not here?
Jens Alfke
Comment 5 2009-07-24 09:13:06 PDT
Eric: This is V8, not JSC. Apparently our code generator isn't as magical yet as yours.
Jens Alfke
Comment 6 2009-07-24 13:42:41 PDT
This turned out not to be the cause of the build problem; the patch isn't necessary. I'll close the bug.
David Levin
Comment 7 2009-07-27 01:09:15 PDT
Comment on attachment 33383 [details] Now with changelog entry, duh Clearing r? per snej's comment in bug.
Note You need to log in before you can comment on or make changes to this bug.