[Webkit-unassigned] [Bug 105734] [Meta] Maintain a full list of ENABLE defines and default values in C header(s)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 17 19:28:22 PST 2013


https://bugs.webkit.org/show_bug.cgi?id=105734





--- Comment #4 from Laszlo Gombos <laszlo.gombos at webkit.org>  2013-01-17 19:30:09 PST ---
(In reply to comment #3)
> >  - In the future this header file could be used by the port specific build system (and perhaps build-webkit as well) to get the list of features and the default values for those features.
> 
> This sounds difficult. We need the list of feature flags in non-C++ code too.
> For example, binding generators, dom/make_names.pl, css/makeprop.pl, css/makevalues.pl, etc.

One way to export the values of the feature configurations to the build system  it is to run the preprocessor on the header file with all the same build flags that the build system would otherwise use (e.g. to establish the port). 

This technique is already used in WebCore/DerivedSources.make (check how the defaults for ENABLE_DASHBOARD_SUPPORT and for ENABLE_ORIENTATION_EVENTS are set).

This is just a potential and the risks needs to be discussed with the benefits.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list