| 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). |