1 // Copyright (C) 2009 Apple Inc. All rights reserved. 2 // Copyright (C) 2009 Google Inc. All rights reserved. 3 // 4 // Redistribution and use in source and binary forms, with or without 5 // modification, are permitted provided that the following conditions 6 // are met: 7 // 1. Redistributions of source code must retain the above copyright 8 // notice, this list of conditions and the following disclaimer. 9 // 2. Redistributions in binary form must reproduce the above copyright 10 // notice, this list of conditions and the following disclaimer in the 11 // documentation and/or other materials provided with the distribution. 12 // 13 // THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY 14 // EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 15 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 16 // PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR 17 // CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 18 // EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 19 // PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 20 // PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 21 // OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 22 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 23 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24 25 // The contents of this file must be kept in sync with FeatureDefines.xcconfig in JavaScriptCore, 26 // WebCore and WebKit. Also the default values of the ENABLE_FEATURE_NAME macros in build-webkit 27 // should match the values below, but they do not need to be in the same order. 28 29 // Keep this list of features (not enabled/disabled state) in sync with FeatureDefines.vsprops 30 // and FeatureDefinesCairo.vsprops in WebKitLibraries/win/tools/vsprops. 31 32 // Set any ENABLE_FEATURE_NAME macro to an empty string to disable that feature. 33 34 ENABLE_3D_CANVAS = $(ENABLE_3D_CANVAS_$(MAC_OS_X_VERSION_MAJOR)); 35 ENABLE_3D_CANVAS_1050 = ENABLE_3D_CANVAS; 36 ENABLE_3D_CANVAS_1060 = ENABLE_3D_CANVAS; 37 ENABLE_3D_CANVAS_1070 = ENABLE_3D_CANVAS; 38 39 ENABLE_3D_RENDERING = $(ENABLE_3D_RENDERING_$(MAC_OS_X_VERSION_MAJOR)); 40 ENABLE_3D_RENDERING_1050 = ENABLE_3D_RENDERING; 41 ENABLE_3D_RENDERING_1060 = ENABLE_3D_RENDERING; 42 ENABLE_3D_RENDERING_1070 = ENABLE_3D_RENDERING; 43 44 ENABLE_CHANNEL_MESSAGING = ENABLE_CHANNEL_MESSAGING; 45 ENABLE_CLIENT_BASED_GEOLOCATION = ENABLE_CLIENT_BASED_GEOLOCATION; 46 ENABLE_DATABASE = ENABLE_DATABASE; 47 ENABLE_DATAGRID = ; 48 ENABLE_DATALIST = ENABLE_DATALIST; 49 ENABLE_DOM_STORAGE = ENABLE_DOM_STORAGE; 50 ENABLE_EVENTSOURCE = ENABLE_EVENTSOURCE; 51 ENABLE_FILTERS = ENABLE_FILTERS; 52 ENABLE_GEOLOCATION = ENABLE_GEOLOCATION; 53 ENABLE_ICONDATABASE = ENABLE_ICONDATABASE; 54 ENABLE_INDEXED_DATABASE = ; 55 ENABLE_JAVASCRIPT_DEBUGGER = ENABLE_JAVASCRIPT_DEBUGGER; 56 ENABLE_MATHML = ; 57 ENABLE_NOTIFICATIONS = ; 58 ENABLE_OFFLINE_WEB_APPLICATIONS = ENABLE_OFFLINE_WEB_APPLICATIONS; 59 ENABLE_RUBY = ENABLE_RUBY; 60 ENABLE_SHARED_WORKERS = ENABLE_SHARED_WORKERS; 61 ENABLE_SVG = ENABLE_SVG; 62 ENABLE_SVG_ANIMATION = ENABLE_SVG_ANIMATION; 63 ENABLE_SVG_AS_IMAGE = ENABLE_SVG_AS_IMAGE; 64 ENABLE_SVG_DOM_OBJC_BINDINGS = ENABLE_SVG_DOM_OBJC_BINDINGS; 65 ENABLE_SVG_FONTS = ENABLE_SVG_FONTS; 66 ENABLE_SVG_FOREIGN_OBJECT = ENABLE_SVG_FOREIGN_OBJECT; 67 ENABLE_SVG_USE = ENABLE_SVG_USE; 68 ENABLE_VIDEO = ENABLE_VIDEO; 69 ENABLE_WEB_SOCKETS = ENABLE_WEB_SOCKETS; 70 ENABLE_WML = ; 71 ENABLE_WORKERS = ENABLE_WORKERS; 72 ENABLE_XHTMLMP = ; 73 ENABLE_XPATH = ENABLE_XPATH; 74 ENABLE_XSLT = ENABLE_XSLT; 75 76 FEATURE_DEFINES = $(ENABLE_3D_CANVAS) $(ENABLE_3D_RENDERING) $(ENABLE_CHANNEL_MESSAGING) $(ENABLE_CLIENT_BASED_GEOLOCATION) $(ENABLE_DATABASE) $(ENABLE_DATAGRID) $(ENABLE_DATALIST) $(ENABLE_DOM_STORAGE) $(ENABLE_EVENTSOURCE) $(ENABLE_FILTERS) $(ENABLE_GEOLOCATION) $(ENABLE_ICONDATABASE) $(ENABLE_INDEXED_DATABASE) $(ENABLE_JAVASCRIPT_DEBUGGER) $(ENABLE_MATHML) $(ENABLE_NOTIFICATIONS) $(ENABLE_OFFLINE_WEB_APPLICATIONS) $(ENABLE_RUBY) $(ENABLE_SHARED_WORKERS) $(ENABLE_SVG) $(ENABLE_SVG_ANIMATION) $(ENABLE_SVG_AS_IMAGE) $(ENABLE_SVG_DOM_OBJC_BINDINGS) $(ENABLE_SVG_FONTS) $(ENABLE_SVG_FOREIGN_OBJECT) $(ENABLE_SVG_USE) $(ENABLE_VIDEO) $(ENABLE_WEB_SOCKETS) $(ENABLE_WML) $(ENABLE_WORKERS) $(ENABLE_XHTMLMP) $(ENABLE_XPATH) $(ENABLE_XSLT); 77