Changes between Version 13 and Version 14 of AddingFeatures
- Timestamp:
- Jul 6, 2016, 4:27:36 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AddingFeatures
v13 v14 15 15 * Source/WebKit/mac/Configurations/FeatureDefines.xcconfig 16 16 * Source/WebKit2/Configurations/FeatureDefines.xcconfig 17 * Source/autotools/SetupWebKitFeatures.m418 17 * Source/cmake/WebKitFeatures.cmake 19 18 * Source/cmakeconfig.h.cmake 20 19 * Source/WTF/wtf/FeatureDefines.h 21 20 * Tools/Scripts/webkitperl/FeatureList.pm 22 * Tools/qmake/mkspecs/features/features.pri23 * WebKitLibraries/win/tools/vsprops/FeatureDefines.vsprops24 * WebKitLibraries/win/tools/vsprops/FeatureDefinesCairo.vsprops25 21 26 22 Note that only defines the feature. To turn the feature on, you'll need to edit the build configurations for each port. (TODO: page describing where each configuration is?) … … 28 24 After adding a feature, please add it to [FeatureFlags the list in the wiki] 29 25 30 = Activating a feature for CM AKEbased ports =26 = Activating a feature for CMake based ports = 31 27 32 28 * Edit Source/cmake/Options<Port>.cmake, e.g. OptionsEfl.cmake and set a default value for this feature. 33 29 * 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 30 35 = Activating a feature for Autotools based ports = 31 Information specific to GTK port: 36 32 37 ''At the moment only the GTK port is using this build system'' 38 39 There are two files that control features for GTK+: 40 41 * Source/autotools/SetupWebKitFeatures.m4: This file controls the features enabled for WebKitGTK+ release builds -- the equivalent of production builds. In general, new and unstable features should be disabled here. 33 * Source/cmake/OptionsGTK.cmake: This file controls the features enabled for WebKitGTK+ release builds -- the equivalent of production builds. In general, new and unstable features should be disabled here. 42 34 * Tools/Scripts/webkitperl/FeatureList.pm: This file controls the features enabled for WebKitGTK+ development builds. We like to enable things early here to get test coverage as soon as possible.