accf9a9558444d10bc27570fa295fd706a2c34eb
[WebKit-https.git] / Source / WebKitLegacy / mac / Configurations / FeatureDefines.xcconfig
1 // Copyright (C) 2009-2019 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, WebKitLegacy and WebKit.  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.props
30 // and FeatureDefinesCairo.props in Source/cmake/tools/vsprops.
31
32 // Set any ENABLE_FEATURE_NAME macro to an empty string to disable that feature.
33
34 #include "WebKitTargetConditionals.xcconfig"
35
36 ENABLE_3D_TRANSFORMS = ENABLE_3D_TRANSFORMS;
37
38 ENABLE_ACCELERATED_2D_CANVAS = ;
39
40 ENABLE_ACCESSIBILITY_ISOLATED_TREE = ;
41
42 ENABLE_APPLE_PAY = $(ENABLE_APPLE_PAY_$(WK_PLATFORM_NAME));
43 ENABLE_APPLE_PAY_iphoneos = ENABLE_APPLE_PAY;
44 ENABLE_APPLE_PAY_iphonesimulator = ENABLE_APPLE_PAY;
45 ENABLE_APPLE_PAY_macosx = ENABLE_APPLE_PAY;
46
47 ENABLE_APPLE_PAY_SESSION_V3 = $(ENABLE_APPLE_PAY_SESSION_V3_$(WK_PLATFORM_NAME));
48 ENABLE_APPLE_PAY_SESSION_V3_iphoneos = ENABLE_APPLE_PAY_SESSION_V3;
49 ENABLE_APPLE_PAY_SESSION_V3_iphonesimulator = ENABLE_APPLE_PAY_SESSION_V3;
50 ENABLE_APPLE_PAY_SESSION_V3_macosx = $(ENABLE_APPLE_PAY_SESSION_V3$(WK_MACOS_1013));
51 ENABLE_APPLE_PAY_SESSION_V3_MACOS_SINCE_1013 = ENABLE_APPLE_PAY_SESSION_V3;
52
53 ENABLE_APPLE_PAY_SESSION_V4 = $(ENABLE_APPLE_PAY_SESSION_V4_$(WK_PLATFORM_NAME));
54 ENABLE_APPLE_PAY_SESSION_V4_iphoneos = ENABLE_APPLE_PAY_SESSION_V4;
55 ENABLE_APPLE_PAY_SESSION_V4_iphoneos[sdk=iphone*11.*] = ;
56 ENABLE_APPLE_PAY_SESSION_V4_iphonesimulator = ENABLE_APPLE_PAY_SESSION_V4;
57 ENABLE_APPLE_PAY_SESSION_V4_iphonesimulator[sdk=iphone*11.*] = ;
58 ENABLE_APPLE_PAY_SESSION_V4_macosx = $(ENABLE_APPLE_PAY_SESSION_V4$(WK_MACOS_1014));
59 ENABLE_APPLE_PAY_SESSION_V4_MACOS_SINCE_1014 = ENABLE_APPLE_PAY_SESSION_V4;
60
61 ENABLE_APPLICATION_MANIFEST = ENABLE_APPLICATION_MANIFEST;
62
63 ENABLE_ATTACHMENT_ELEMENT = ENABLE_ATTACHMENT_ELEMENT;
64
65 ENABLE_AVF_CAPTIONS = ENABLE_AVF_CAPTIONS;
66
67 ENABLE_CACHE_PARTITIONING = ENABLE_CACHE_PARTITIONING;
68
69 ENABLE_CHANNEL_MESSAGING = ENABLE_CHANNEL_MESSAGING;
70
71 ENABLE_CONTENT_FILTERING = $(ENABLE_CONTENT_FILTERING_$(WK_PLATFORM_NAME));
72 ENABLE_CONTENT_FILTERING_iphoneos = ENABLE_CONTENT_FILTERING;
73 ENABLE_CONTENT_FILTERING_iphonesimulator = ENABLE_CONTENT_FILTERING;
74 ENABLE_CONTENT_FILTERING_maccatalyst = ENABLE_CONTENT_FILTERING;
75 ENABLE_CONTENT_FILTERING_macosx = ENABLE_CONTENT_FILTERING;
76 ENABLE_CONTENT_FILTERING_watchos = ENABLE_CONTENT_FILTERING;
77
78 // FIXME: Enable for watchsimulator once rdar://problem/54608386 is resolved
79 ENABLE_CONTENT_FILTERING_watchsimulator = ;
80
81 ENABLE_CSS3_TEXT = ;
82
83 ENABLE_CSS_BOX_DECORATION_BREAK = ENABLE_CSS_BOX_DECORATION_BREAK;
84
85 ENABLE_CSS_COMPOSITING = ENABLE_CSS_COMPOSITING;
86
87 ENABLE_CSS_CONIC_GRADIENTS = ENABLE_CSS_CONIC_GRADIENTS;
88 ENABLE_CSS_CONIC_GRADIENTS = $(ENABLE_CSS_CONIC_GRADIENTS_$(WK_PLATFORM_NAME));
89 ENABLE_CSS_CONIC_GRADIENTS_iphoneos = ENABLE_CSS_CONIC_GRADIENTS;
90 ENABLE_CSS_CONIC_GRADIENTS_iphoneos[sdk=iphone*11.*] = ;
91 ENABLE_CSS_CONIC_GRADIENTS_iphonesimulator = ENABLE_CSS_CONIC_GRADIENTS;
92 ENABLE_CSS_CONIC_GRADIENTS_iphonesimulator[sdk=iphone*11.*] = ;
93 ENABLE_CSS_CONIC_GRADIENTS_watchos = ENABLE_CSS_CONIC_GRADIENTS;
94 ENABLE_CSS_CONIC_GRADIENTS_watchsimulator = ENABLE_CSS_CONIC_GRADIENTS;
95 ENABLE_CSS_CONIC_GRADIENTS_maccatalyst = ENABLE_CSS_CONIC_GRADIENTS;
96 ENABLE_CSS_CONIC_GRADIENTS_macosx = $(ENABLE_CSS_CONIC_GRADIENTS$(WK_MACOS_1014));
97 ENABLE_CSS_CONIC_GRADIENTS_MACOS_SINCE_1014 = ENABLE_CSS_CONIC_GRADIENTS;
98
99 ENABLE_CSS_DEVICE_ADAPTATION = ;
100
101 ENABLE_CSS_IMAGE_ORIENTATION = ;
102
103 ENABLE_CSS_IMAGE_RESOLUTION = ;
104
105 ENABLE_CSS_PAINTING_API = ENABLE_CSS_PAINTING_API;
106
107 ENABLE_CSS_SCROLL_SNAP = ENABLE_CSS_SCROLL_SNAP;
108
109 ENABLE_CSS_SELECTORS_LEVEL4 = ENABLE_CSS_SELECTORS_LEVEL4;
110
111 ENABLE_CSS_TRAILING_WORD = ENABLE_CSS_TRAILING_WORD;
112
113 ENABLE_CSS_TYPED_OM = ENABLE_CSS_TYPED_OM;
114
115 ENABLE_CURSOR_VISIBILITY = ENABLE_CURSOR_VISIBILITY;
116
117 ENABLE_CUSTOM_SCHEME_HANDLER = ;
118
119 ENABLE_DARK_MODE_CSS = $(ENABLE_DARK_MODE_CSS_$(WK_PLATFORM_NAME));
120 ENABLE_DARK_MODE_CSS_iphoneos = ENABLE_DARK_MODE_CSS;
121 ENABLE_DARK_MODE_CSS_iphonesimulator = ENABLE_DARK_MODE_CSS;
122 ENABLE_DARK_MODE_CSS_maccatalyst = ENABLE_DARK_MODE_CSS;
123 ENABLE_DARK_MODE_CSS_macosx = ENABLE_DARK_MODE_CSS;
124
125 ENABLE_DATACUE_VALUE = ENABLE_DATACUE_VALUE;
126
127 ENABLE_DATALIST_ELEMENT = ENABLE_DATALIST_ELEMENT;
128
129 ENABLE_DATA_INTERACTION = $(ENABLE_DATA_INTERACTION_$(WK_PLATFORM_NAME));
130 ENABLE_DATA_INTERACTION_iphoneos = ENABLE_DATA_INTERACTION;
131 ENABLE_DATA_INTERACTION_iphonesimulator = ENABLE_DATA_INTERACTION;
132 ENABLE_DATA_INTERACTION_maccatalyst = ENABLE_DATA_INTERACTION;
133
134 ENABLE_DEVICE_ORIENTATION = $(ENABLE_DEVICE_ORIENTATION_$(WK_PLATFORM_NAME));
135 ENABLE_DEVICE_ORIENTATION_iphoneos = ENABLE_DEVICE_ORIENTATION;
136 ENABLE_DEVICE_ORIENTATION_iphonesimulator = ENABLE_DEVICE_ORIENTATION;
137 ENABLE_DEVICE_ORIENTATION_watchos = ENABLE_DEVICE_ORIENTATION;
138 ENABLE_DEVICE_ORIENTATION_watchsimulator = ENABLE_DEVICE_ORIENTATION;
139 ENABLE_DEVICE_ORIENTATION_appletvos = ENABLE_DEVICE_ORIENTATION;
140 ENABLE_DEVICE_ORIENTATION_appletvsimulator = ENABLE_DEVICE_ORIENTATION;
141
142 ENABLE_DRAG_SUPPORT = $(ENABLE_DRAG_SUPPORT_$(WK_PLATFORM_NAME));
143 ENABLE_DRAG_SUPPORT_iphoneos = ENABLE_DRAG_SUPPORT;
144 ENABLE_DRAG_SUPPORT_iphonesimulator = ENABLE_DRAG_SUPPORT;
145 ENABLE_DRAG_SUPPORT_maccatalyst = ENABLE_DRAG_SUPPORT;
146
147 ENABLE_ENCRYPTED_MEDIA = $(ENABLE_ENCRYPTED_MEDIA_$(WK_PLATFORM_NAME));
148 ENABLE_ENCRYPTED_MEDIA_iphoneos = ENABLE_ENCRYPTED_MEDIA;
149 ENABLE_ENCRYPTED_MEDIA_iphonesimulator = ENABLE_ENCRYPTED_MEDIA;
150 ENABLE_ENCRYPTED_MEDIA_watchos = ENABLE_ENCRYPTED_MEDIA;
151 ENABLE_ENCRYPTED_MEDIA_watchsimulator = ENABLE_ENCRYPTED_MEDIA;
152 ENABLE_ENCRYPTED_MEDIA_appletvos = ENABLE_ENCRYPTED_MEDIA;
153 ENABLE_ENCRYPTED_MEDIA_appletvsimulator = ENABLE_ENCRYPTED_MEDIA;
154 ENABLE_ENCRYPTED_MEDIA_macosx = $(ENABLE_ENCRYPTED_MEDIA$(WK_MACOS_1014));
155 ENABLE_ENCRYPTED_MEDIA_MACOS_SINCE_1014 = ENABLE_ENCRYPTED_MEDIA;
156
157 ENABLE_EXPERIMENTAL_FEATURES = $(ENABLE_EXPERIMENTAL_FEATURES_$(WK_RELOCATABLE_FRAMEWORKS));
158 ENABLE_EXPERIMENTAL_FEATURES_YES = ENABLE_EXPERIMENTAL_FEATURES;
159
160 ENABLE_FAST_JIT_PERMISSIONS = $(ENABLE_FAST_JIT_PERMISSIONS_$(WK_PLATFORM_NAME));
161 ENABLE_FAST_JIT_PERMISSIONS_iphoneos[arch=arm64*] = $(ENABLE_FAST_JIT_PERMISSIONS_iphoneos_$(USE_INTERNAL_SDK));
162 ENABLE_FAST_JIT_PERMISSIONS_iphoneos_YES = ENABLE_FAST_JIT_PERMISSIONS;
163 ENABLE_FAST_JIT_PERMISSIONS_maccatalyst = ;
164
165 ENABLE_FILTERS_LEVEL_2 = ENABLE_FILTERS_LEVEL_2;
166
167 ENABLE_FTL_JIT = $(ENABLE_FTL_JIT_$(WK_PLATFORM_NAME))
168 ENABLE_FTL_JIT_macosx = ENABLE_FTL_JIT;
169 ENABLE_FTL_JIT_iphoneos = ENABLE_FTL_JIT;
170 ENABLE_FTL_JIT_maccatalyst = ENABLE_FTL_JIT;
171 ENABLE_FTL_JIT_watchos = ENABLE_FTL_JIT;
172 ENABLE_FTL_JIT_appletvos = ENABLE_FTL_JIT;
173
174 ENABLE_FULLSCREEN_API = $(ENABLE_FULLSCREEN_API_$(WK_PLATFORM_NAME));
175 ENABLE_FULLSCREEN_API_iphoneos = $(ENABLE_FULLSCREEN_API$(WK_IOS_12));
176 ENABLE_FULLSCREEN_API_iphonesimulator = $(ENABLE_FULLSCREEN_API$(WK_IOS_12));
177 ENABLE_FULLSCREEN_API_IOS_SINCE_12 = ENABLE_FULLSCREEN_API;
178 ENABLE_FULLSCREEN_API_macosx = ENABLE_FULLSCREEN_API;
179
180 ENABLE_GAMEPAD = $(ENABLE_GAMEPAD_$(WK_PLATFORM_NAME));
181 ENABLE_GAMEPAD_iphoneos = ENABLE_GAMEPAD;
182 ENABLE_GAMEPAD_iphonesimulator = ENABLE_GAMEPAD;
183 ENABLE_GAMEPAD_appletvos = ENABLE_GAMEPAD;
184 ENABLE_GAMEPAD_appletvsimulator = ENABLE_GAMEPAD;
185 ENABLE_GAMEPAD_maccatalyst = ENABLE_GAMEPAD;
186 ENABLE_GAMEPAD_macosx = ENABLE_GAMEPAD;
187
188 ENABLE_GEOLOCATION = $(ENABLE_GEOLOCATION_$(WK_PLATFORM_NAME));
189 ENABLE_GEOLOCATION_iphoneos = ENABLE_GEOLOCATION;
190 ENABLE_GEOLOCATION_iphonesimulator = ENABLE_GEOLOCATION;
191 ENABLE_GEOLOCATION_maccatalyst = ENABLE_GEOLOCATION;
192 ENABLE_GEOLOCATION_macosx = ENABLE_GEOLOCATION;
193
194 ENABLE_INDEXED_DATABASE = ENABLE_INDEXED_DATABASE;
195
196 ENABLE_INDEXED_DATABASE_IN_WORKERS = ENABLE_INDEXED_DATABASE_IN_WORKERS;
197
198 ENABLE_INPUT_TYPE_COLOR = ENABLE_INPUT_TYPE_COLOR;
199
200 ENABLE_INPUT_TYPE_DATE = $(ENABLE_INPUT_TYPE_DATE_$(WK_PLATFORM_NAME));
201 ENABLE_INPUT_TYPE_DATE_iphoneos = ENABLE_INPUT_TYPE_DATE;
202 ENABLE_INPUT_TYPE_DATE_iphonesimulator = ENABLE_INPUT_TYPE_DATE;
203 ENABLE_INPUT_TYPE_DATE_watchos = ENABLE_INPUT_TYPE_DATE;
204 ENABLE_INPUT_TYPE_DATE_watchsimulator = ENABLE_INPUT_TYPE_DATE;
205
206 ENABLE_INPUT_TYPE_DATETIMELOCAL = $(ENABLE_INPUT_TYPE_DATETIMELOCAL_$(WK_PLATFORM_NAME));
207 ENABLE_INPUT_TYPE_DATETIMELOCAL_iphoneos = ENABLE_INPUT_TYPE_DATETIMELOCAL;
208 ENABLE_INPUT_TYPE_DATETIMELOCAL_iphonesimulator = ENABLE_INPUT_TYPE_DATETIMELOCAL;
209 ENABLE_INPUT_TYPE_DATETIMELOCAL_watchos = ENABLE_INPUT_TYPE_DATETIMELOCAL;
210 ENABLE_INPUT_TYPE_DATETIMELOCAL_watchsimulator = ENABLE_INPUT_TYPE_DATETIMELOCAL;
211
212 ENABLE_INPUT_TYPE_DATETIME_INCOMPLETE = ;
213
214 ENABLE_INPUT_TYPE_MONTH = $(ENABLE_INPUT_TYPE_MONTH_$(WK_PLATFORM_NAME));
215 ENABLE_INPUT_TYPE_MONTH_iphoneos = ENABLE_INPUT_TYPE_MONTH;
216 ENABLE_INPUT_TYPE_MONTH_iphonesimulator = ENABLE_INPUT_TYPE_MONTH;
217 ENABLE_INPUT_TYPE_MONTH_watchos = ENABLE_INPUT_TYPE_MONTH;
218 ENABLE_INPUT_TYPE_MONTH_watchsimulator = ENABLE_INPUT_TYPE_MONTH;
219
220 ENABLE_INPUT_TYPE_TIME = $(ENABLE_INPUT_TYPE_TIME_$(WK_PLATFORM_NAME));
221 ENABLE_INPUT_TYPE_TIME_iphoneos = ENABLE_INPUT_TYPE_TIME;
222 ENABLE_INPUT_TYPE_TIME_iphonesimulator = ENABLE_INPUT_TYPE_TIME;
223 ENABLE_INPUT_TYPE_TIME_watchos = ENABLE_INPUT_TYPE_TIME;
224 ENABLE_INPUT_TYPE_TIME_watchsimulator = ENABLE_INPUT_TYPE_TIME;
225
226 ENABLE_INPUT_TYPE_WEEK = $(ENABLE_INPUT_TYPE_WEEK_$(WK_PLATFORM_NAME));
227 ENABLE_INPUT_TYPE_WEEK_iphoneos = ENABLE_INPUT_TYPE_WEEK;
228 ENABLE_INPUT_TYPE_WEEK_iphonesimulator = ENABLE_INPUT_TYPE_WEEK;
229 ENABLE_INPUT_TYPE_WEEK_watchos = ENABLE_INPUT_TYPE_WEEK;
230 ENABLE_INPUT_TYPE_WEEK_watchsimulator = ENABLE_INPUT_TYPE_WEEK;
231
232 ENABLE_INSPECTOR_ALTERNATE_DISPATCHERS = ENABLE_INSPECTOR_ALTERNATE_DISPATCHERS;
233
234 ENABLE_INTERSECTION_OBSERVER = ENABLE_INTERSECTION_OBSERVER;
235
236 ENABLE_INTL = ENABLE_INTL;
237
238 ENABLE_IOS_GESTURE_EVENTS = $(ENABLE_IOS_GESTURE_EVENTS_$(WK_COCOA_TOUCH)_WITH_INTERNAL_SDK_$(USE_INTERNAL_SDK));
239 ENABLE_IOS_GESTURE_EVENTS_cocoatouch_WITH_INTERNAL_SDK_YES = ENABLE_IOS_GESTURE_EVENTS;
240
241 ENABLE_IOS_TOUCH_EVENTS = $(ENABLE_IOS_TOUCH_EVENTS_$(WK_COCOA_TOUCH)_WITH_INTERNAL_SDK_$(USE_INTERNAL_SDK));
242 ENABLE_IOS_TOUCH_EVENTS_cocoatouch_WITH_INTERNAL_SDK_YES = ENABLE_IOS_TOUCH_EVENTS;
243
244 ENABLE_KEYBOARD_CODE_ATTRIBUTE = ENABLE_KEYBOARD_CODE_ATTRIBUTE;
245
246 ENABLE_KEYBOARD_KEY_ATTRIBUTE = ENABLE_KEYBOARD_KEY_ATTRIBUTE;
247
248 ENABLE_LAYOUT_FORMATTING_CONTEXT = ENABLE_LAYOUT_FORMATTING_CONTEXT;
249
250 ENABLE_LEGACY_CSS_VENDOR_PREFIXES = ENABLE_LEGACY_CSS_VENDOR_PREFIXES;
251
252 ENABLE_LEGACY_CUSTOM_PROTOCOL_MANAGER = ENABLE_LEGACY_CUSTOM_PROTOCOL_MANAGER;
253
254 ENABLE_LEGACY_ENCRYPTED_MEDIA = $(ENABLE_LEGACY_ENCRYPTED_MEDIA_$(WK_PLATFORM_NAME));
255 ENABLE_LEGACY_ENCRYPTED_MEDIA_iphoneos = ENABLE_LEGACY_ENCRYPTED_MEDIA;
256 ENABLE_LEGACY_ENCRYPTED_MEDIA_iphonesimulator = ENABLE_LEGACY_ENCRYPTED_MEDIA;
257 ENABLE_LEGACY_ENCRYPTED_MEDIA_watchos = ENABLE_LEGACY_ENCRYPTED_MEDIA;
258 ENABLE_LEGACY_ENCRYPTED_MEDIA_watchsimulator = ENABLE_LEGACY_ENCRYPTED_MEDIA;
259 ENABLE_LEGACY_ENCRYPTED_MEDIA_appletvos = ENABLE_LEGACY_ENCRYPTED_MEDIA;
260 ENABLE_LEGACY_ENCRYPTED_MEDIA_appletvsimulator = ENABLE_LEGACY_ENCRYPTED_MEDIA;
261 ENABLE_LEGACY_ENCRYPTED_MEDIA_macosx = ENABLE_LEGACY_ENCRYPTED_MEDIA;
262
263 ENABLE_LETTERPRESS = $(ENABLE_LETTERPRESS_$(WK_COCOA_TOUCH));
264 ENABLE_LETTERPRESS_cocoatouch = ENABLE_LETTERPRESS;
265
266 ENABLE_MAC_GESTURE_EVENTS = $(ENABLE_MAC_GESTURE_EVENTS_$(WK_PLATFORM_NAME)_WITH_INTERNAL_SDK_$(USE_INTERNAL_SDK));
267 ENABLE_MAC_GESTURE_EVENTS_macosx_WITH_INTERNAL_SDK_YES = ENABLE_MAC_GESTURE_EVENTS;
268
269 ENABLE_MAC_VIDEO_TOOLBOX = $(ENABLE_MAC_VIDEO_TOOLBOX_$(WK_PLATFORM_NAME)_WITH_INTERNAL_SDK_$(USE_INTERNAL_SDK));
270 ENABLE_MAC_VIDEO_TOOLBOX_macosx_WITH_INTERNAL_SDK_YES = ENABLE_MAC_VIDEO_TOOLBOX;
271
272 ENABLE_MATHML = ENABLE_MATHML;
273
274 ENABLE_MEDIA_CAPTURE = $(ENABLE_MEDIA_CAPTURE_$(WK_COCOA_TOUCH));
275 ENABLE_MEDIA_CAPTURE_cocoatouch = ENABLE_MEDIA_CAPTURE;
276
277 ENABLE_MEDIA_CONTROLS_SCRIPT = ENABLE_MEDIA_CONTROLS_SCRIPT;
278
279 ENABLE_MEDIA_SESSION = ;
280
281 ENABLE_MEDIA_SOURCE = $(ENABLE_MEDIA_SOURCE_$(WK_PLATFORM_NAME));
282 ENABLE_MEDIA_SOURCE_macosx = ENABLE_MEDIA_SOURCE;
283
284 ENABLE_MEDIA_STATISTICS = ;
285
286 ENABLE_MEDIA_STREAM = $(ENABLE_MEDIA_STREAM_$(WK_PLATFORM_NAME));
287 ENABLE_MEDIA_STREAM_iphoneos = ENABLE_MEDIA_STREAM;
288 ENABLE_MEDIA_STREAM_iphonesimulator = ENABLE_MEDIA_STREAM;
289 ENABLE_MEDIA_STREAM_watchos = ENABLE_MEDIA_STREAM;
290 ENABLE_MEDIA_STREAM_watchsimulator = ENABLE_MEDIA_STREAM;
291 ENABLE_MEDIA_STREAM_appletvos = ENABLE_MEDIA_STREAM;
292 ENABLE_MEDIA_STREAM_appletvsimulator = ENABLE_MEDIA_STREAM;
293 ENABLE_MEDIA_STREAM_macosx = ENABLE_MEDIA_STREAM;
294
295 ENABLE_MEMORY_SAMPLER = ENABLE_MEMORY_SAMPLER;
296
297 ENABLE_METER_ELEMENT = ENABLE_METER_ELEMENT;
298
299 ENABLE_MHTML = ;
300
301 ENABLE_MOUSE_CURSOR_SCALE = $(ENABLE_MOUSE_CURSOR_SCALE_$(WK_PLATFORM_NAME));
302 ENABLE_MOUSE_CURSOR_SCALE_macosx = ENABLE_MOUSE_CURSOR_SCALE;
303
304 ENABLE_NAVIGATOR_STANDALONE = $(ENABLE_NAVIGATOR_STANDALONE_$(WK_COCOA_TOUCH));
305 ENABLE_NAVIGATOR_STANDALONE_cocoatouch = ENABLE_NAVIGATOR_STANDALONE;
306
307 ENABLE_NETWORK_CACHE_SPECULATIVE_REVALIDATION = ENABLE_NETWORK_CACHE_SPECULATIVE_REVALIDATION;
308
309 ENABLE_NOTIFICATIONS = $(ENABLE_NOTIFICATIONS_$(WK_PLATFORM_NAME));
310 ENABLE_NOTIFICATIONS_macosx = ENABLE_NOTIFICATIONS;
311
312 ENABLE_OVERFLOW_SCROLLING_TOUCH = $(ENABLE_OVERFLOW_SCROLLING_TOUCH_$(WK_COCOA_TOUCH));
313 ENABLE_OVERFLOW_SCROLLING_TOUCH_cocoatouch = ENABLE_OVERFLOW_SCROLLING_TOUCH;
314
315 ENABLE_PAYMENT_REQUEST = ENABLE_PAYMENT_REQUEST;
316
317 ENABLE_PDFKIT_PLUGIN = $(ENABLE_PDFKIT_PLUGIN_$(WK_PLATFORM_NAME));
318 ENABLE_PDFKIT_PLUGIN_macosx = ENABLE_PDFKIT_PLUGIN;
319
320 ENABLE_POINTER_EVENTS = $(ENABLE_POINTER_EVENTS_$(WK_PLATFORM_NAME));
321 ENABLE_POINTER_EVENTS_iphoneos = $(ENABLE_POINTER_EVENTS$(WK_IOS_13));
322 ENABLE_POINTER_EVENTS_iphonesimulator = $(ENABLE_POINTER_EVENTS$(WK_IOS_13));
323 ENABLE_POINTER_EVENTS_IOS_SINCE_13 = ENABLE_POINTER_EVENTS;
324 ENABLE_POINTER_EVENTS_maccatalyst = ENABLE_POINTER_EVENTS;
325 ENABLE_POINTER_EVENTS_macosx = ENABLE_POINTER_EVENTS;
326 ENABLE_POINTER_EVENTS_watchos = ENABLE_POINTER_EVENTS;
327 ENABLE_POINTER_EVENTS_watchos[sdk=watch*5.*] = ;
328 ENABLE_POINTER_EVENTS_watchsimulator = ENABLE_POINTER_EVENTS;
329 ENABLE_POINTER_EVENTS_watchsimulator[sdk=watch*5.*] = ;
330
331 ENABLE_POINTER_LOCK = $(ENABLE_POINTER_LOCK_$(WK_PLATFORM_NAME));
332 ENABLE_POINTER_LOCK_macosx = ENABLE_POINTER_LOCK;
333
334 ENABLE_PUBLIC_SUFFIX_LIST = ENABLE_PUBLIC_SUFFIX_LIST;
335
336 ENABLE_QUOTA = ;
337
338 ENABLE_REMOTE_INSPECTOR = ENABLE_REMOTE_INSPECTOR;
339
340 ENABLE_RESIZE_OBSERVER = ENABLE_RESIZE_OBSERVER;
341
342 ENABLE_RESOLUTION_MEDIA_QUERY = ;
343
344 ENABLE_RESOURCE_LOAD_STATISTICS = ENABLE_RESOURCE_LOAD_STATISTICS;
345
346 ENABLE_RESOURCE_USAGE = ENABLE_RESOURCE_USAGE;
347
348 ENABLE_RUBBER_BANDING = $(ENABLE_RUBBER_BANDING_$(WK_PLATFORM_NAME));
349 ENABLE_RUBBER_BANDING_macosx = ENABLE_RUBBER_BANDING;
350
351 ENABLE_SANDBOX_EXTENSIONS = ENABLE_SANDBOX_EXTENSIONS;
352
353 ENABLE_SERVER_PRECONNECT = ENABLE_SERVER_PRECONNECT;
354
355 ENABLE_SERVICE_CONTROLS = $(ENABLE_SERVICE_CONTROLS_$(WK_PLATFORM_NAME));
356 ENABLE_SERVICE_CONTROLS_macosx = ENABLE_SERVICE_CONTROLS;
357
358 ENABLE_SERVICE_WORKER = ENABLE_SERVICE_WORKER;
359
360 ENABLE_SHAREABLE_RESOURCE = ENABLE_SHAREABLE_RESOURCE;
361
362 ENABLE_SPEECH_SYNTHESIS = $(ENABLE_SPEECH_SYNTHESIS_$(WK_PLATFORM_NAME));
363 ENABLE_SPEECH_SYNTHESIS_iphoneos = ENABLE_SPEECH_SYNTHESIS;
364 ENABLE_SPEECH_SYNTHESIS_iphonesimulator = ENABLE_SPEECH_SYNTHESIS;
365 ENABLE_SPEECH_SYNTHESIS_watchos = ENABLE_SPEECH_SYNTHESIS;
366 ENABLE_SPEECH_SYNTHESIS_watchsimulator = ENABLE_SPEECH_SYNTHESIS;
367 ENABLE_SPEECH_SYNTHESIS_appletvos = ENABLE_SPEECH_SYNTHESIS;
368 ENABLE_SPEECH_SYNTHESIS_appletvsimulator = ENABLE_SPEECH_SYNTHESIS;
369 ENABLE_SPEECH_SYNTHESIS_macosx = ENABLE_SPEECH_SYNTHESIS;
370
371 ENABLE_STREAMS_API = ENABLE_STREAMS_API;
372
373 ENABLE_SVG_FONTS = ENABLE_SVG_FONTS;
374
375 ENABLE_TELEPHONE_NUMBER_DETECTION = ENABLE_TELEPHONE_NUMBER_DETECTION;
376
377 ENABLE_TEXT_AUTOSIZING = ENABLE_TEXT_AUTOSIZING;
378
379 // FIXME: Remove the USE_INTERNAL_SDK condition once we support touch events when building for iOS with
380 // the public SDK. See <https://webkit.org/b/179167>.
381 ENABLE_TOUCH_EVENTS = $(ENABLE_TOUCH_EVENTS_$(WK_COCOA_TOUCH)_WITH_INTERNAL_SDK_$(USE_INTERNAL_SDK));
382 ENABLE_TOUCH_EVENTS_cocoatouch_WITH_INTERNAL_SDK_YES = ENABLE_TOUCH_EVENTS;
383
384 ENABLE_USERSELECT_ALL = ENABLE_USERSELECT_ALL;
385
386 ENABLE_USER_MESSAGE_HANDLERS = ENABLE_USER_MESSAGE_HANDLERS;
387
388 ENABLE_VARIATION_FONTS = $(ENABLE_VARIATION_FONTS_$(WK_PLATFORM_NAME));
389 ENABLE_VARIATION_FONTS_iphoneos = ENABLE_VARIATION_FONTS;
390 ENABLE_VARIATION_FONTS_iphonesimulator = ENABLE_VARIATION_FONTS;
391 ENABLE_VARIATION_FONTS_maccatalyst = ENABLE_VARIATION_FONTS;
392 ENABLE_VARIATION_FONTS_macosx = $(ENABLE_VARIATION_FONTS$(WK_MACOS_1013));
393 ENABLE_VARIATION_FONTS_MACOS_SINCE_1013 = ENABLE_VARIATION_FONTS;
394
395 ENABLE_VIDEO = ENABLE_VIDEO;
396
397 ENABLE_VIDEO_PRESENTATION_MODE = ENABLE_VIDEO_PRESENTATION_MODE;
398
399 ENABLE_VIDEO_TRACK = ENABLE_VIDEO_TRACK;
400
401 ENABLE_VIDEO_USES_ELEMENT_FULLSCREEN = $(ENABLE_VIDEO_USES_ELEMENT_FULLSCREEN_$(WK_PLATFORM_NAME));
402 ENABLE_VIDEO_USES_ELEMENT_FULLSCREEN_macosx = ENABLE_VIDEO_USES_ELEMENT_FULLSCREEN;
403
404 ENABLE_WEBASSEMBLY = ;
405
406 ENABLE_WEBASSEMBLY_STREAMING_API = ;
407
408 ENABLE_WEBDRIVER_MOUSE_INTERACTIONS = $(ENABLE_WEBDRIVER_MOUSE_INTERACTIONS_$(WK_PLATFORM_NAME));
409 ENABLE_WEBDRIVER_MOUSE_INTERACTIONS_macosx = ENABLE_WEBDRIVER_MOUSE_INTERACTIONS;
410
411 ENABLE_WEBDRIVER_KEYBOARD_INTERACTIONS = ENABLE_WEBDRIVER_KEYBOARD_INTERACTIONS;
412
413 ENABLE_WEBDRIVER_TOUCH_INTERACTIONS = $(ENABLE_WEBDRIVER_TOUCH_INTERACTIONS_$(WK_PLATFORM_NAME));
414 ENABLE_WEBDRIVER_TOUCH_INTERACTIONS_iphoneos = ENABLE_WEBDRIVER_TOUCH_INTERACTIONS;
415
416 ENABLE_WEBGL = ENABLE_WEBGL;
417
418 ENABLE_WEBGL2 = ENABLE_WEBGL2;
419
420 ENABLE_WEBGPU = $(ENABLE_WEBGPU_$(WK_PLATFORM_NAME));
421 ENABLE_WEBGPU_iphoneos = $(ENABLE_WEBGPU$(WK_IOS_11));
422 ENABLE_WEBGPU_IOS_SINCE_11 = ENABLE_WEBGPU;
423 ENABLE_WEBGPU_watchos = ENABLE_WEBGPU;
424 ENABLE_WEBGPU_appletvos = ENABLE_WEBGPU;
425 ENABLE_WEBGPU_macosx = $(ENABLE_WEBGPU$(WK_MACOS_1014));
426 ENABLE_WEBGPU_MACOS_SINCE_1014 = ENABLE_WEBGPU;
427
428 ENABLE_WEB_API_STATISTICS = ;
429
430 ENABLE_WEB_AUDIO = ENABLE_WEB_AUDIO;
431
432 ENABLE_WEB_AUTHN = $(ENABLE_WEB_AUTHN_$(WK_PLATFORM_NAME));
433 ENABLE_WEB_AUTHN_iphoneos = ENABLE_WEB_AUTHN;
434 ENABLE_WEB_AUTHN_iphonesimulator = ENABLE_WEB_AUTHN;
435 ENABLE_WEB_AUTHN_macosx = ENABLE_WEB_AUTHN;
436
437 ENABLE_WEB_CRYPTO = ENABLE_WEB_CRYPTO;
438
439 ENABLE_WEB_PROCESS_SANDBOX = ENABLE_WEB_PROCESS_SANDBOX;
440
441 ENABLE_WEB_RTC = $(ENABLE_WEB_RTC_$(WK_PLATFORM_NAME));
442 ENABLE_WEB_RTC_iphoneos = ENABLE_WEB_RTC;
443 ENABLE_WEB_RTC_iphonesimulator = ENABLE_WEB_RTC;
444 ENABLE_WEB_RTC_macosx = ENABLE_WEB_RTC;
445
446 ENABLE_WIRELESS_PLAYBACK_TARGET = ENABLE_WIRELESS_PLAYBACK_TARGET;
447
448 ENABLE_XSLT = ENABLE_XSLT;
449
450 FEATURE_DEFINES = $(ENABLE_3D_TRANSFORMS) $(ENABLE_ACCELERATED_2D_CANVAS) $(ENABLE_ACCESSIBILITY_ISOLATED_TREE) $(ENABLE_APPLE_PAY) $(ENABLE_APPLE_PAY_SESSION_V3) $(ENABLE_APPLE_PAY_SESSION_V4) $(ENABLE_APPLICATION_MANIFEST) $(ENABLE_ATTACHMENT_ELEMENT) $(ENABLE_AVF_CAPTIONS) $(ENABLE_CACHE_PARTITIONING) $(ENABLE_CHANNEL_MESSAGING) $(ENABLE_CONTENT_FILTERING) $(ENABLE_CSS3_TEXT) $(ENABLE_CSS_BOX_DECORATION_BREAK) $(ENABLE_CSS_COMPOSITING) $(ENABLE_CSS_CONIC_GRADIENTS) $(ENABLE_CSS_DEVICE_ADAPTATION) $(ENABLE_CSS_IMAGE_ORIENTATION) $(ENABLE_CSS_IMAGE_RESOLUTION) $(ENABLE_CSS_PAINTING_API) $(ENABLE_CSS_SCROLL_SNAP) $(ENABLE_CSS_SELECTORS_LEVEL4) $(ENABLE_CSS_TRAILING_WORD) $(ENABLE_CSS_TYPED_OM) $(ENABLE_CURSOR_VISIBILITY) $(ENABLE_CUSTOM_SCHEME_HANDLER) $(ENABLE_C_LOOP) $(ENABLE_DARK_MODE_CSS) $(ENABLE_DATACUE_VALUE) $(ENABLE_DATALIST_ELEMENT) $(ENABLE_DATA_INTERACTION) $(ENABLE_DEVICE_ORIENTATION) $(ENABLE_DRAG_SUPPORT) $(ENABLE_ENCRYPTED_MEDIA) $(ENABLE_EXPERIMENTAL_FEATURES) $(ENABLE_FAST_JIT_PERMISSIONS) $(ENABLE_FILTERS_LEVEL_2) $(ENABLE_FTL_JIT) $(ENABLE_FULLSCREEN_API) $(ENABLE_GAMEPAD) $(ENABLE_GEOLOCATION) $(ENABLE_INDEXED_DATABASE) $(ENABLE_INDEXED_DATABASE_IN_WORKERS) $(ENABLE_INPUT_TYPE_COLOR) $(ENABLE_INPUT_TYPE_DATE) $(ENABLE_INPUT_TYPE_DATETIMELOCAL) $(ENABLE_INPUT_TYPE_DATETIME_INCOMPLETE) $(ENABLE_INPUT_TYPE_MONTH) $(ENABLE_INPUT_TYPE_TIME) $(ENABLE_INPUT_TYPE_WEEK) $(ENABLE_INSPECTOR_ALTERNATE_DISPATCHERS) $(ENABLE_INTERSECTION_OBSERVER) $(ENABLE_INTL) $(ENABLE_IOS_GESTURE_EVENTS) $(ENABLE_IOS_TOUCH_EVENTS) $(ENABLE_JIT) $(ENABLE_KEYBOARD_CODE_ATTRIBUTE) $(ENABLE_KEYBOARD_KEY_ATTRIBUTE) $(ENABLE_LAYOUT_FORMATTING_CONTEXT) $(ENABLE_LEGACY_CSS_VENDOR_PREFIXES) $(ENABLE_LEGACY_CUSTOM_PROTOCOL_MANAGER) $(ENABLE_LEGACY_ENCRYPTED_MEDIA) $(ENABLE_LETTERPRESS) $(ENABLE_MAC_GESTURE_EVENTS) $(ENABLE_MAC_VIDEO_TOOLBOX) $(ENABLE_MATHML) $(ENABLE_MEDIA_CAPTURE) $(ENABLE_MEDIA_CONTROLS_SCRIPT) $(ENABLE_MEDIA_SESSION) $(ENABLE_MEDIA_SOURCE) $(ENABLE_MEDIA_STATISTICS) $(ENABLE_MEDIA_STREAM) $(ENABLE_MEMORY_SAMPLER) $(ENABLE_METER_ELEMENT) $(ENABLE_MHTML) $(ENABLE_MOUSE_CURSOR_SCALE) $(ENABLE_NAVIGATOR_STANDALONE) $(ENABLE_NETWORK_CACHE_SPECULATIVE_REVALIDATION) $(ENABLE_NOTIFICATIONS) $(ENABLE_OVERFLOW_SCROLLING_TOUCH) $(ENABLE_PAYMENT_REQUEST) $(ENABLE_PDFKIT_PLUGIN) $(ENABLE_POINTER_EVENTS) $(ENABLE_POINTER_LOCK) $(ENABLE_PUBLIC_SUFFIX_LIST) $(ENABLE_QUOTA) $(ENABLE_REMOTE_INSPECTOR) $(ENABLE_RESIZE_OBSERVER) $(ENABLE_RESOLUTION_MEDIA_QUERY) $(ENABLE_RESOURCE_LOAD_STATISTICS) $(ENABLE_RESOURCE_USAGE) $(ENABLE_RUBBER_BANDING) $(ENABLE_SANDBOX_EXTENSIONS) $(ENABLE_SERVER_PRECONNECT) $(ENABLE_SERVICE_CONTROLS) $(ENABLE_SERVICE_WORKER) $(ENABLE_SHAREABLE_RESOURCE) $(ENABLE_SPEECH_SYNTHESIS) $(ENABLE_STREAMS_API) $(ENABLE_SVG_FONTS) $(ENABLE_TELEPHONE_NUMBER_DETECTION) $(ENABLE_TEXT_AUTOSIZING) $(ENABLE_TOUCH_EVENTS) $(ENABLE_USERSELECT_ALL) $(ENABLE_USER_MESSAGE_HANDLERS) $(ENABLE_VARIATION_FONTS) $(ENABLE_VIDEO) $(ENABLE_VIDEO_PRESENTATION_MODE) $(ENABLE_VIDEO_TRACK) $(ENABLE_VIDEO_USES_ELEMENT_FULLSCREEN) $(ENABLE_WEBASSEMBLY) $(ENABLE_WEBASSEMBLY_STREAMING_API) $(ENABLE_WEBDRIVER_MOUSE_INTERACTIONS) $(ENABLE_WEBDRIVER_KEYBOARD_INTERACTIONS) $(ENABLE_WEBDRIVER_TOUCH_INTERACTIONS) $(ENABLE_WEBGL) $(ENABLE_WEBGL2) $(ENABLE_WEBGPU) $(ENABLE_WEB_API_STATISTICS) $(ENABLE_WEB_AUDIO) $(ENABLE_WEB_AUTHN) $(ENABLE_WEB_CRYPTO) $(ENABLE_WEB_PROCESS_SANDBOX) $(ENABLE_WEB_RTC) $(ENABLE_WIRELESS_PLAYBACK_TARGET) $(ENABLE_XSLT);