• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright (C) 2009, 2010 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, WebKit and WebKit2.  Also the default values of the ENABLE_FEATURE_NAME macros in
27// build-webkit 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
34ENABLE_LINK_PREFETCH = ;
35
36ENABLE_ACCELERATED_2D_CANVAS = $(ENABLE_ACCELERATED_2D_CANVAS_$(REAL_PLATFORM_NAME));
37ENABLE_ACCELERATED_2D_CANVAS_macosx = $(ENABLE_ACCELERATED_2D_CANVAS_macosx_$(TARGET_MAC_OS_X_VERSION_MAJOR));
38ENABLE_ACCELERATED_2D_CANVAS_macosx_1060 = ;
39ENABLE_ACCELERATED_2D_CANVAS_macosx_1070 = ;
40
41ENABLE_WEBGL = $(ENABLE_WEBGL_$(REAL_PLATFORM_NAME));
42ENABLE_WEBGL_macosx = $(ENABLE_WEBGL_macosx_$(TARGET_MAC_OS_X_VERSION_MAJOR));
43ENABLE_WEBGL_macosx_1060 = ENABLE_WEBGL;
44ENABLE_WEBGL_macosx_1070 = ENABLE_WEBGL;
45
46ENABLE_3D_RENDERING = $(ENABLE_3D_RENDERING_$(REAL_PLATFORM_NAME));
47ENABLE_3D_RENDERING_iphoneos = ENABLE_3D_RENDERING;
48ENABLE_3D_RENDERING_iphonesimulator = $(ENABLE_3D_RENDERING_iphoneos);
49ENABLE_3D_RENDERING_macosx = $(ENABLE_3D_RENDERING_macosx_$(TARGET_MAC_OS_X_VERSION_MAJOR));
50ENABLE_3D_RENDERING_macosx_1050 = ENABLE_3D_RENDERING;
51ENABLE_3D_RENDERING_macosx_1060 = ENABLE_3D_RENDERING;
52ENABLE_3D_RENDERING_macosx_1070 = ENABLE_3D_RENDERING;
53
54ENABLE_BLOB = $(ENABLE_BLOB_$(REAL_PLATFORM_NAME));
55ENABLE_BLOB_macosx = ENABLE_BLOB;
56
57ENABLE_CHANNEL_MESSAGING = $(ENABLE_CHANNEL_MESSAGING_$(REAL_PLATFORM_NAME));
58ENABLE_CHANNEL_MESSAGING_macosx = ENABLE_CHANNEL_MESSAGING;
59
60ENABLE_CLIENT_BASED_GEOLOCATION = $(ENABLE_CLIENT_BASED_GEOLOCATION_$(REAL_PLATFORM_NAME));
61ENABLE_CLIENT_BASED_GEOLOCATION_macosx = ENABLE_CLIENT_BASED_GEOLOCATION;
62
63ENABLE_DATABASE = ENABLE_DATABASE;
64ENABLE_DATAGRID = ;
65
66ENABLE_DATALIST = $(ENABLE_DATALIST_$(REAL_PLATFORM_NAME));
67ENABLE_DATALIST_macosx = ENABLE_DATALIST;
68
69ENABLE_DATA_TRANSFER_ITEMS = ;
70
71ENABLE_DEVICE_ORIENTATION = ;
72ENABLE_DIRECTORY_UPLOAD = ;
73ENABLE_DOM_STORAGE = ENABLE_DOM_STORAGE;
74ENABLE_EVENTSOURCE = ENABLE_EVENTSOURCE;
75
76ENABLE_FILTERS = $(ENABLE_FILTERS_$(REAL_PLATFORM_NAME));
77ENABLE_FILTERS_macosx = ENABLE_FILTERS;
78
79ENABLE_FILE_SYSTEM = ;
80ENABLE_FULLSCREEN_API = ENABLE_FULLSCREEN_API;
81ENABLE_GEOLOCATION = ENABLE_GEOLOCATION;
82
83ENABLE_ICONDATABASE = $(ENABLE_ICONDATABASE_$(REAL_PLATFORM_NAME));
84ENABLE_ICONDATABASE_macosx = ENABLE_ICONDATABASE;
85
86ENABLE_IMAGE_RESIZER = ;
87ENABLE_INDEXED_DATABASE = ;
88ENABLE_INPUT_SPEECH = ;
89ENABLE_JAVASCRIPT_DEBUGGER = ENABLE_JAVASCRIPT_DEBUGGER;
90ENABLE_MATHML = ENABLE_MATHML;
91ENABLE_METER_TAG = ENABLE_METER_TAG;
92ENABLE_NOTIFICATIONS = ;
93ENABLE_OFFLINE_WEB_APPLICATIONS = ENABLE_OFFLINE_WEB_APPLICATIONS;
94ENABLE_PAGE_VISIBILITY_API = ;
95ENABLE_PROGRESS_TAG = ENABLE_PROGRESS_TAG;
96
97ENABLE_QUOTA = ;
98
99ENABLE_REGISTER_PROTOCOL_HANDLER = ;
100
101ENABLE_SHARED_WORKERS = $(ENABLE_SHARED_WORKERS_$(REAL_PLATFORM_NAME));
102ENABLE_SHARED_WORKERS_macosx = ENABLE_SHARED_WORKERS;
103
104ENABLE_SVG = ENABLE_SVG;
105ENABLE_SVG_ANIMATION = ENABLE_SVG_ANIMATION;
106ENABLE_SVG_AS_IMAGE = ENABLE_SVG_AS_IMAGE;
107
108ENABLE_SVG_DOM_OBJC_BINDINGS = $(ENABLE_SVG_DOM_OBJC_BINDINGS_$(REAL_PLATFORM_NAME));
109ENABLE_SVG_DOM_OBJC_BINDINGS_macosx = ENABLE_SVG_DOM_OBJC_BINDINGS;
110
111ENABLE_SVG_FONTS = ENABLE_SVG_FONTS;
112ENABLE_SVG_FOREIGN_OBJECT = ENABLE_SVG_FOREIGN_OBJECT;
113ENABLE_SVG_USE = ENABLE_SVG_USE;
114ENABLE_VIDEO = ENABLE_VIDEO;
115ENABLE_VIDEO_TRACK = ;
116
117ENABLE_MEDIA_STATISTICS = ;
118
119ENABLE_WEB_AUDIO = ;
120
121ENABLE_WEB_SOCKETS = $(ENABLE_WEB_SOCKETS_$(REAL_PLATFORM_NAME));
122ENABLE_WEB_SOCKETS_macosx = ENABLE_WEB_SOCKETS;
123
124ENABLE_WEB_TIMING = ;
125ENABLE_WML = ;
126
127ENABLE_WORKERS = $(ENABLE_WORKERS_$(REAL_PLATFORM_NAME));
128ENABLE_WORKERS_macosx = ENABLE_WORKERS;
129
130ENABLE_XHTMLMP = ;
131ENABLE_XPATH = ENABLE_XPATH;
132ENABLE_XSLT = ENABLE_XSLT;
133
134FEATURE_DEFINES = $(ENABLE_LINK_PREFETCH) $(ENABLE_ACCELERATED_2D_CANVAS) $(ENABLE_WEBGL) $(ENABLE_3D_RENDERING) $(ENABLE_BLOB) $(ENABLE_CHANNEL_MESSAGING) $(ENABLE_CLIENT_BASED_GEOLOCATION) $(ENABLE_DATABASE) $(ENABLE_DATAGRID) $(ENABLE_DATALIST) $(ENABLE_DATA_TRANSFER_ITEMS) $(ENABLE_DEVICE_ORIENTATION) $(ENABLE_DIRECTORY_UPLOAD) $(ENABLE_DOM_STORAGE) $(ENABLE_EVENTSOURCE) $(ENABLE_FILTERS) $(ENABLE_FILE_SYSTEM) $(ENABLE_FULLSCREEN_API) $(ENABLE_GEOLOCATION) $(ENABLE_ICONDATABASE) $(ENABLE_IMAGE_RESIZER) $(ENABLE_INDEXED_DATABASE) $(ENABLE_INPUT_SPEECH) $(ENABLE_JAVASCRIPT_DEBUGGER) $(ENABLE_MATHML) $(ENABLE_METER_TAG) $(ENABLE_NOTIFICATIONS) $(ENABLE_OFFLINE_WEB_APPLICATIONS) $(ENABLE_PAGE_VISIBILITY_API) $(ENABLE_PROGRESS_TAG) $(ENABLE_REGISTER_PROTOCOL_HANDLER) $(ENABLE_QUOTA) $(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_VIDEO_TRACK) $(ENABLE_MEDIA_STATISTICS) $(ENABLE_WEB_AUDIO) $(ENABLE_WEB_SOCKETS) $(ENABLE_WEB_TIMING) $(ENABLE_WML) $(ENABLE_WORKERS) $(ENABLE_XHTMLMP) $(ENABLE_XPATH) $(ENABLE_XSLT);
135