Simplify FEATURE_DEFINES definition
authorddkilzer@apple.com <ddkilzer@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 17 Apr 2009 23:11:46 +0000 (23:11 +0000)
committerddkilzer@apple.com <ddkilzer@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 17 Apr 2009 23:11:46 +0000 (23:11 +0000)
commitaff8234f0595f8b0a6d56938f32121fa3395d812
tree27d585800a9e69d7b9658b9a99d6800c716258a1
parent77d4999c70d486011722286ac3a2fcb8a57aa75b
    Simplify FEATURE_DEFINES definition

        Reviewed by Darin Adler.

        This moves FEATURE_DEFINES and its related ENABLE_FEATURE_NAME
        variables to their own FeatureDefines.xcconfig file.  It also
        extracts a new ENABLE_GEOLOCATION variable so that
        FEATURE_DEFINES only needs to be defined once.

JavaScriptCore:

        * Configurations/FeatureDefines.xcconfig: Added.
        * Configurations/JavaScriptCore.xcconfig: Removed definition of
        ENABLE_SVG_DOM_OBJC_BINDINGS and FEATURE_DEFINES.  Added include
        of FeatureDefines.xcconfig.
        * JavaScriptCore.xcodeproj/project.pbxproj: Added
        FeatureDefines.xcconfig file.

WebCore:

        * Configurations/FeatureDefines.xcconfig: Added.
        * Configurations/WebCore.xcconfig: Removed definition of
        ENABLE_SVG_DOM_OBJC_BINDINGS and FEATURE_DEFINES.  Added include
        of FeatureDefines.xcconfig.
        * WebCore.xcodeproj/project.pbxproj: Added
        FeatureDefines.xcconfig file.
        * bindings/scripts/CodeGeneratorObjC.pm: When creating a list of
        command-line macro definitions, split on one-or-more spaces
        instead of a single space since the FEATURE_DEFINES macro may
        now contain more than one space between macros if some macros
        aren't defined.

WebKit:

        * WebKit.xcodeproj/project.pbxproj: Added
        FeatureDefines.xcconfig file.

WebKit/mac:

        * Configurations/FeatureDefines.xcconfig: Added.
        * Configurations/WebKit.xcconfig: Removed definition of
        ENABLE_SVG_DOM_OBJC_BINDINGS and FEATURE_DEFINES.  Added include
        of FeatureDefines.xcconfig.

WebKitTools:

        * Scripts/build-webkit: Realphabetized code related to enabling
        Geolation features for WebKit.  Also set ENABLE_GEOLOCATION
        variable for xcodebuild.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@42631 268f45cc-cd09-0410-ab3c-d52691b4dbfc
16 files changed:
JavaScriptCore/ChangeLog
JavaScriptCore/Configurations/FeatureDefines.xcconfig [new file with mode: 0644]
JavaScriptCore/Configurations/JavaScriptCore.xcconfig
JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj
WebCore/ChangeLog
WebCore/Configurations/FeatureDefines.xcconfig [new file with mode: 0644]
WebCore/Configurations/WebCore.xcconfig
WebCore/WebCore.xcodeproj/project.pbxproj
WebCore/bindings/scripts/CodeGeneratorObjC.pm
WebKit/ChangeLog
WebKit/WebKit.xcodeproj/project.pbxproj
WebKit/mac/ChangeLog
WebKit/mac/Configurations/FeatureDefines.xcconfig [new file with mode: 0644]
WebKit/mac/Configurations/WebKit.xcconfig
WebKitTools/ChangeLog
WebKitTools/Scripts/build-webkit