Changes between Version 8 and Version 9 of AddingFeatures


Ignore:
Timestamp:
Jan 8, 2013 2:36:21 AM (9 years ago)
Author:
zandobersek@gmail.com
Comment:

Adding instructions about adding new features for the Autotools build system.

Legend:

Unmodified
Added
Removed
Modified
  • AddingFeatures

    v8 v9  
    3232* Edit Source/cmake/Options<Port>.cmake, e.g. OptionsEfl.cmake and set a default value for this feature.
    3333* Edit Tools/Scripts/webkitperl/FeatureList.pm to default enable this for the same port, e.g add a isPort() statement to the default setting assignment.
     34
     35= Activating a feature for Autotools based ports =
     36
     37''At the moment only the GTK port is using this build system''
     38
     39* You only need to add the feature define to Source/WebCore/GNUmakefile.features.am.in. In most cases the feature define specified there will, at the time of adding, default to 0. The feature define values used in this file indicate the status of feature support by the GTK port in release versions, so please leave decision of changing these values to the GTK port maintainers (or at least consult them on any changes you'd like to make).
     40* You're welcome to enable the feature define for the GTK port in Tools/Scripts/webkitperl/FeatureList.pm if the feature does not rely on any port-specific implementations (or if you're not willing to implement them) and would like to have the GTK port run feature's layout tests for you. The feature define values specified in this file override those in Source/WebCore/GNUmakefile.features.am.in when using build-webkit (i.e. when using development build, for instance on BuildBot builders).
     41* Adding new features usually included changes to configure.ac where the developer was expected to add a new configuration option for the feature. This is not the case anymore. A configuration option should only be added if the feature implementation for the GTK port introduces a dependency (for instance video support relies on GStreamer, hence there's a configuration option available).