Make FEATURE_DEFINES completely dynamic
Reviewed by Darin Adler. Make FEATURE_DEFINES depend on individual ENABLE_FEATURE_NAME variables for each feature, making it possible to remove all knowledge of FEATURE_DEFINES from build-webkit. JavaScriptCore: * Configurations/FeatureDefines.xcconfig: Extract a variable from FEATURE_DEFINES for each feature setting. WebCore: * Configurations/FeatureDefines.xcconfig: Extract a variable from FEATURE_DEFINES for each feature setting. WebKit/mac: * Configurations/FeatureDefines.xcconfig: Extract a variable from FEATURE_DEFINES for each feature setting. WebKitTools: * Scripts/build-webkit: Define individual ENABLE_FEATURE_NAME variables instead of the whole FEATURE_DEFINES string when building with Xcode. Miscellaneous clean up: - Reordered/sorted command-line switch variables. - Reordered/sorted command-line switches in $usage. - Reordered/sorted command-line switches in GetOptions(). - Defined $svgSupport to true if any --svg-feature switch is set in order to match "Implies SVG Support" claim. - Build JavaScriptGlue after JavaScriptCore again! - Fixed --[no-]geolocation for GTK+ port and sorted GTK+ command-line switches. - Added "exit 0" statement at the end of the script. git-svn-id: svn://svn.chromium.org/blink/trunk@42658 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Showing
This diff is collapsed.
Please register or sign in to comment