Complete fix for enabling modern EME by default
[WebKit-https.git] / Source / WebCore / Configurations / FeatureDefines.xcconfig
1 // Copyright (C) 2009-2017 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_ACCELERATED_OVERFLOW_SCROLLING = $(ENABLE_ACCELERATED_OVERFLOW_SCROLLING_$(WK_COCOA_TOUCH));
41 ENABLE_ACCELERATED_OVERFLOW_SCROLLING_cocoatouch = ENABLE_ACCELERATED_OVERFLOW_SCROLLING;
42
43 ENABLE_APPLE_PAY = $(ENABLE_APPLE_PAY_$(WK_PLATFORM_NAME));
44 ENABLE_APPLE_PAY_iphoneos = ENABLE_APPLE_PAY;
45 ENABLE_APPLE_PAY_iphonesimulator = ENABLE_APPLE_PAY;
46 ENABLE_APPLE_PAY_macosx = $(ENABLE_APPLE_PAY$(WK_MACOS_1012));
47 ENABLE_APPLE_PAY_MACOS_SINCE_1012 = ENABLE_APPLE_PAY;
48
49 ENABLE_APPLE_PAY_SESSION_V3 = $(ENABLE_APPLE_PAY_SESSION_V3_$(WK_PLATFORM_NAME));
50 ENABLE_APPLE_PAY_SESSION_V3_iphoneos = ENABLE_APPLE_PAY_SESSION_V3;
51 ENABLE_APPLE_PAY_SESSION_V3_iphonesimulator = ENABLE_APPLE_PAY_SESSION_V3;
52 ENABLE_APPLE_PAY_SESSION_V3_macosx = $(ENABLE_APPLE_PAY_SESSION_V3$(WK_MACOS_1013));
53 ENABLE_APPLE_PAY_SESSION_V3_MACOS_SINCE_1013 = ENABLE_APPLE_PAY_SESSION_V3;
54
55 ENABLE_APPLICATION_MANIFEST = ENABLE_APPLICATION_MANIFEST;
56
57 ENABLE_ATTACHMENT_ELEMENT = ENABLE_ATTACHMENT_ELEMENT;
58
59 ENABLE_AVF_CAPTIONS = ENABLE_AVF_CAPTIONS;
60
61 ENABLE_CACHE_PARTITIONING = ENABLE_CACHE_PARTITIONING;
62
63 ENABLE_CHANNEL_MESSAGING = ENABLE_CHANNEL_MESSAGING;
64
65 ENABLE_CONTENT_FILTERING = $(ENABLE_CONTENT_FILTERING_$(WK_PLATFORM_NAME));
66 ENABLE_CONTENT_FILTERING_iphoneos = ENABLE_CONTENT_FILTERING;
67 ENABLE_CONTENT_FILTERING_iphoneminimalsimulator = ;
68 ENABLE_CONTENT_FILTERING_iphonesimulator = ENABLE_CONTENT_FILTERING;
69 ENABLE_CONTENT_FILTERING_macosx = ENABLE_CONTENT_FILTERING;
70
71 ENABLE_CSS3_TEXT = ;
72
73 ENABLE_CSS_ANIMATIONS_LEVEL_2 = ENABLE_CSS_ANIMATIONS_LEVEL_2;
74
75 ENABLE_CSS_BOX_DECORATION_BREAK = ENABLE_CSS_BOX_DECORATION_BREAK;
76
77 ENABLE_CSS_COMPOSITING = ENABLE_CSS_COMPOSITING;
78
79 ENABLE_CSS_DEVICE_ADAPTATION = ;
80
81 ENABLE_CSS_IMAGE_ORIENTATION = ;
82
83 ENABLE_CSS_IMAGE_RESOLUTION = ;
84
85 ENABLE_CSS_SCROLL_SNAP = ENABLE_CSS_SCROLL_SNAP;
86
87 ENABLE_CSS_SELECTORS_LEVEL4 = ENABLE_CSS_SELECTORS_LEVEL4;
88
89 ENABLE_CSS_TRAILING_WORD = ENABLE_CSS_TRAILING_WORD;
90
91 ENABLE_CURSOR_VISIBILITY = ENABLE_CURSOR_VISIBILITY;
92
93 ENABLE_CUSTOM_SCHEME_HANDLER = ;
94
95 ENABLE_DASHBOARD_SUPPORT = $(ENABLE_DASHBOARD_SUPPORT_$(WK_PLATFORM_NAME));
96 ENABLE_DASHBOARD_SUPPORT_macosx = ENABLE_DASHBOARD_SUPPORT;
97
98 ENABLE_DATACUE_VALUE = ENABLE_DATACUE_VALUE;
99
100 ENABLE_DATALIST_ELEMENT = ;
101
102 ENABLE_DATA_INTERACTION = $(ENABLE_DATA_INTERACTION_$(WK_PLATFORM_NAME));
103 ENABLE_DATA_INTERACTION_iphoneos = ENABLE_DATA_INTERACTION;
104 ENABLE_DATA_INTERACTION_iphonesimulator = ENABLE_DATA_INTERACTION;
105
106 ENABLE_DEVICE_ORIENTATION = $(ENABLE_DEVICE_ORIENTATION_$(WK_PLATFORM_NAME));
107 ENABLE_DEVICE_ORIENTATION_iphoneos = ENABLE_DEVICE_ORIENTATION;
108 ENABLE_DEVICE_ORIENTATION_iphonesimulator = ENABLE_DEVICE_ORIENTATION;
109 ENABLE_DEVICE_ORIENTATION_watchos = ENABLE_DEVICE_ORIENTATION;
110 ENABLE_DEVICE_ORIENTATION_watchsimulator = ENABLE_DEVICE_ORIENTATION;
111 ENABLE_DEVICE_ORIENTATION_appletvos = ENABLE_DEVICE_ORIENTATION;
112 ENABLE_DEVICE_ORIENTATION_appletvsimulator = ENABLE_DEVICE_ORIENTATION;
113
114 ENABLE_DRAG_SUPPORT = $(ENABLE_DRAG_SUPPORT_$(WK_PLATFORM_NAME));
115 ENABLE_DRAG_SUPPORT_iphoneos = ENABLE_DRAG_SUPPORT;
116 ENABLE_DRAG_SUPPORT_iphonesimulator = ENABLE_DRAG_SUPPORT;
117
118 ENABLE_ENCRYPTED_MEDIA = $(ENABLE_ENCRYPTED_MEDIA_$(WK_PLATFORM_NAME));
119 ENABLE_ENCRYPTED_MEDIA_iphoneos = ENABLE_ENCRYPTED_MEDIA;
120 ENABLE_ENCRYPTED_MEDIA_iphonesimulator = ENABLE_ENCRYPTED_MEDIA;
121 ENABLE_ENCRYPTED_MEDIA_watchos = ENABLE_ENCRYPTED_MEDIA;
122 ENABLE_ENCRYPTED_MEDIA_watchsimulator = ENABLE_ENCRYPTED_MEDIA;
123 ENABLE_ENCRYPTED_MEDIA_appletvos = ENABLE_ENCRYPTED_MEDIA;
124 ENABLE_ENCRYPTED_MEDIA_appletvsimulator = ENABLE_ENCRYPTED_MEDIA;
125 ENABLE_ENCRYPTED_MEDIA_macosx = $(ENABLE_ENCRYPTED_MEDIA$(WK_MACOS_1014));
126 ENABLE_ENCRYPTED_MEDIA_MACOS_SINCE_1014 = ENABLE_ENCRYPTED_MEDIA;
127
128 ENABLE_EXTRA_ZOOM_MODE = ;
129
130 ENABLE_FAST_JIT_PERMISSIONS = $(ENABLE_FAST_JIT_PERMISSIONS_$(WK_PLATFORM_NAME));
131 ENABLE_FAST_JIT_PERMISSIONS_iphoneos[arch=arm64*] = $(ENABLE_FAST_JIT_PERMISSIONS_iphoneos_$(USE_INTERNAL_SDK));
132 ENABLE_FAST_JIT_PERMISSIONS_iphoneos_YES = ENABLE_FAST_JIT_PERMISSIONS;
133 ENABLE_FAST_JIT_PERMISSIONS_iphoneminimalsimulator = ENABLE_FAST_JIT_PERMISSIONS;
134
135 ENABLE_FILTERS_LEVEL_2 = ENABLE_FILTERS_LEVEL_2;
136
137 ENABLE_FTL_JIT = $(ENABLE_FTL_JIT_$(WK_PLATFORM_NAME))
138 ENABLE_FTL_JIT_macosx = ENABLE_FTL_JIT;
139 ENABLE_FTL_JIT_iphoneos = ENABLE_FTL_JIT;
140 ENABLE_FTL_JIT_iphoneminimalsimulator = ENABLE_FTL_JIT;
141 ENABLE_FTL_JIT_watchos = ENABLE_FTL_JIT;
142 ENABLE_FTL_JIT_appletvos = ENABLE_FTL_JIT;
143
144 ENABLE_FULLSCREEN_API = $(ENABLE_FULLSCREEN_API_$(WK_PLATFORM_NAME));
145 ENABLE_FULLSCREEN_API_iphoneos = $(ENABLE_FULLSCREEN_API$(WK_IOS_12));
146 ENABLE_FULLSCREEN_API_iphonesimulator = $(ENABLE_FULLSCREEN_API$(WK_IOS_12));
147 ENABLE_FULLSCREEN_API_IOS_SINCE_12 = ENABLE_FULLSCREEN_API;
148 ENABLE_FULLSCREEN_API_macosx = ENABLE_FULLSCREEN_API;
149
150 ENABLE_GAMEPAD = $(ENABLE_GAMEPAD_$(WK_PLATFORM_NAME));
151 ENABLE_GAMEPAD_iphoneos = ENABLE_GAMEPAD;
152 ENABLE_GAMEPAD_iphoneminimalsimulator = ENABLE_GAMEPAD;
153 ENABLE_GAMEPAD_iphonesimulator = ENABLE_GAMEPAD;
154 ENABLE_GAMEPAD_appletvos = ENABLE_GAMEPAD;
155 ENABLE_GAMEPAD_appletvsimulator = ENABLE_GAMEPAD;
156 ENABLE_GAMEPAD_macosx = ENABLE_GAMEPAD;
157
158 ENABLE_GEOLOCATION = $(ENABLE_GEOLOCATION_$(WK_PLATFORM_NAME));
159 ENABLE_GEOLOCATION_iphoneos = ENABLE_GEOLOCATION;
160 ENABLE_GEOLOCATION_iphoneminimalsimulator = ENABLE_GEOLOCATION;
161 ENABLE_GEOLOCATION_iphonesimulator = ENABLE_GEOLOCATION;
162 ENABLE_GEOLOCATION_macosx = ENABLE_GEOLOCATION;
163
164 ENABLE_ICONDATABASE = $(ENABLE_ICONDATABASE_$(WK_PLATFORM_NAME));
165 ENABLE_ICONDATABASE_macosx = ENABLE_ICONDATABASE;
166
167 ENABLE_INDEXED_DATABASE = ENABLE_INDEXED_DATABASE;
168
169 ENABLE_INDEXED_DATABASE_IN_WORKERS = ENABLE_INDEXED_DATABASE_IN_WORKERS;
170
171 ENABLE_INPUT_TYPE_COLOR = $(ENABLE_INPUT_TYPE_COLOR_$(WK_PLATFORM_NAME));
172 ENABLE_INPUT_TYPE_COLOR_macosx = ENABLE_INPUT_TYPE_COLOR;
173
174 ENABLE_INPUT_TYPE_COLOR_POPOVER = $(ENABLE_INPUT_TYPE_COLOR_POPOVER_$(WK_PLATFORM_NAME));
175 ENABLE_INPUT_TYPE_COLOR_POPOVER_macosx = ENABLE_INPUT_TYPE_COLOR_POPOVER;
176
177 ENABLE_INPUT_TYPE_DATETIMELOCAL = $(ENABLE_INPUT_TYPE_DATETIMELOCAL_$(WK_COCOA_TOUCH));
178 ENABLE_INPUT_TYPE_DATETIMELOCAL_cocoatouch = ENABLE_INPUT_TYPE_DATETIMELOCAL;
179
180 ENABLE_INPUT_TYPE_DATETIME_INCOMPLETE = ;
181
182 ENABLE_INPUT_TYPE_DATE = $(ENABLE_INPUT_TYPE_DATE_$(WK_COCOA_TOUCH));
183 ENABLE_INPUT_TYPE_DATE_cocoatouch = ENABLE_INPUT_TYPE_DATE;
184
185 ENABLE_INPUT_TYPE_MONTH = $(ENABLE_INPUT_TYPE_MONTH_$(WK_COCOA_TOUCH));
186 ENABLE_INPUT_TYPE_MONTH_cocoatouch = ENABLE_INPUT_TYPE_MONTH;
187
188 ENABLE_INPUT_TYPE_TIME = $(ENABLE_INPUT_TYPE_TIME_$(WK_COCOA_TOUCH));
189 ENABLE_INPUT_TYPE_TIME_cocoatouch = ENABLE_INPUT_TYPE_TIME;
190
191 ENABLE_INPUT_TYPE_WEEK = $(ENABLE_INPUT_TYPE_WEEK_$(WK_COCOA_TOUCH));
192 ENABLE_INPUT_TYPE_WEEK_cocoatouch = ENABLE_INPUT_TYPE_WEEK;
193
194 ENABLE_INSPECTOR_ALTERNATE_DISPATCHERS = ENABLE_INSPECTOR_ALTERNATE_DISPATCHERS;
195
196 ENABLE_INTERSECTION_OBSERVER = ENABLE_INTERSECTION_OBSERVER;
197
198 ENABLE_INTL = ENABLE_INTL;
199 ENABLE_INTL_NUMBER_FORMAT_TO_PARTS = ENABLE_INTL_NUMBER_FORMAT_TO_PARTS;
200 ENABLE_INTL_PLURAL_RULES = ENABLE_INTL_PLURAL_RULES;
201
202 ENABLE_IOS_GESTURE_EVENTS = $(ENABLE_IOS_GESTURE_EVENTS_$(WK_COCOA_TOUCH)_WITH_INTERNAL_SDK_$(USE_INTERNAL_SDK));
203 ENABLE_IOS_GESTURE_EVENTS_cocoatouch_WITH_INTERNAL_SDK_YES = ENABLE_IOS_GESTURE_EVENTS;
204
205 ENABLE_IOS_TOUCH_EVENTS = $(ENABLE_IOS_TOUCH_EVENTS_$(WK_COCOA_TOUCH)_WITH_INTERNAL_SDK_$(USE_INTERNAL_SDK));
206 ENABLE_IOS_TOUCH_EVENTS_cocoatouch_WITH_INTERNAL_SDK_YES = ENABLE_IOS_TOUCH_EVENTS;
207
208 ENABLE_JS_ASYNC_ITERATION = ENABLE_JS_ASYNC_ITERATION;
209
210 ENABLE_KEYBOARD_CODE_ATTRIBUTE = ENABLE_KEYBOARD_CODE_ATTRIBUTE;
211
212 ENABLE_KEYBOARD_KEY_ATTRIBUTE = ENABLE_KEYBOARD_KEY_ATTRIBUTE;
213
214 ENABLE_LAYOUT_FORMATTING_CONTEXT = ;
215
216 ENABLE_LEGACY_CSS_VENDOR_PREFIXES = ENABLE_LEGACY_CSS_VENDOR_PREFIXES;
217
218 ENABLE_LEGACY_CUSTOM_PROTOCOL_MANAGER = ENABLE_LEGACY_CUSTOM_PROTOCOL_MANAGER;
219
220 ENABLE_LEGACY_ENCRYPTED_MEDIA = $(ENABLE_LEGACY_ENCRYPTED_MEDIA_$(WK_PLATFORM_NAME));
221 ENABLE_LEGACY_ENCRYPTED_MEDIA_iphoneos = ENABLE_LEGACY_ENCRYPTED_MEDIA;
222 ENABLE_LEGACY_ENCRYPTED_MEDIA_iphonesimulator = ENABLE_LEGACY_ENCRYPTED_MEDIA;
223 ENABLE_LEGACY_ENCRYPTED_MEDIA_watchos = ENABLE_LEGACY_ENCRYPTED_MEDIA;
224 ENABLE_LEGACY_ENCRYPTED_MEDIA_watchsimulator = ENABLE_LEGACY_ENCRYPTED_MEDIA;
225 ENABLE_LEGACY_ENCRYPTED_MEDIA_appletvos = ENABLE_LEGACY_ENCRYPTED_MEDIA;
226 ENABLE_LEGACY_ENCRYPTED_MEDIA_appletvsimulator = ENABLE_LEGACY_ENCRYPTED_MEDIA;
227 ENABLE_LEGACY_ENCRYPTED_MEDIA_macosx = ENABLE_LEGACY_ENCRYPTED_MEDIA;
228
229 ENABLE_LETTERPRESS = $(ENABLE_LETTERPRESS_$(WK_COCOA_TOUCH));
230 ENABLE_LETTERPRESS_cocoatouch = ENABLE_LETTERPRESS;
231
232 ENABLE_MAC_GESTURE_EVENTS = $(ENABLE_MAC_GESTURE_EVENTS_$(WK_PLATFORM_NAME)_WITH_INTERNAL_SDK_$(USE_INTERNAL_SDK));
233 ENABLE_MAC_GESTURE_EVENTS_macosx_WITH_INTERNAL_SDK_YES = ENABLE_MAC_GESTURE_EVENTS;
234
235 ENABLE_MAC_VIDEO_TOOLBOX = $(ENABLE_MAC_VIDEO_TOOLBOX_$(WK_PLATFORM_NAME)_WITH_INTERNAL_SDK_$(USE_INTERNAL_SDK));
236 ENABLE_MAC_VIDEO_TOOLBOX_macosx_WITH_INTERNAL_SDK_YES = ENABLE_MAC_VIDEO_TOOLBOX;
237
238 ENABLE_MATHML = ENABLE_MATHML;
239
240 ENABLE_MEDIA_CAPTURE = $(ENABLE_MEDIA_CAPTURE_$(WK_COCOA_TOUCH));
241 ENABLE_MEDIA_CAPTURE_cocoatouch = ENABLE_MEDIA_CAPTURE;
242
243 ENABLE_MEDIA_CONTROLS_SCRIPT = ENABLE_MEDIA_CONTROLS_SCRIPT;
244
245 ENABLE_MEDIA_SESSION = ;
246
247 ENABLE_MEDIA_SOURCE = $(ENABLE_MEDIA_SOURCE_$(WK_PLATFORM_NAME));
248 ENABLE_MEDIA_SOURCE_macosx = ENABLE_MEDIA_SOURCE;
249
250 ENABLE_MEDIA_STATISTICS = ;
251
252 ENABLE_MEDIA_STREAM = $(ENABLE_MEDIA_STREAM_$(WK_PLATFORM_NAME));
253 ENABLE_MEDIA_STREAM_iphoneos = ENABLE_MEDIA_STREAM;
254 ENABLE_MEDIA_STREAM_iphonesimulator = ENABLE_MEDIA_STREAM;
255 ENABLE_MEDIA_STREAM_watchos = ENABLE_MEDIA_STREAM;
256 ENABLE_MEDIA_STREAM_watchsimulator = ENABLE_MEDIA_STREAM;
257 ENABLE_MEDIA_STREAM_appletvos = ENABLE_MEDIA_STREAM;
258 ENABLE_MEDIA_STREAM_appletvsimulator = ENABLE_MEDIA_STREAM;
259 ENABLE_MEDIA_STREAM_macosx = ENABLE_MEDIA_STREAM;
260
261 ENABLE_METER_ELEMENT = ENABLE_METER_ELEMENT;
262
263 ENABLE_MHTML = ;
264
265 ENABLE_MINIMAL_SIMULATOR = $(ENABLE_MINIMAL_SIMULATOR_$(WK_PLATFORM_NAME));
266 ENABLE_MINIMAL_SIMULATOR_iphoneminimalsimulator = ENABLE_MINIMAL_SIMULATOR;
267
268 ENABLE_MOUSE_CURSOR_SCALE = $(ENABLE_MOUSE_CURSOR_SCALE_$(WK_PLATFORM_NAME));
269 ENABLE_MOUSE_CURSOR_SCALE_macosx = ENABLE_MOUSE_CURSOR_SCALE;
270
271 ENABLE_NAVIGATOR_CONTENT_UTILS = ;
272
273 ENABLE_NAVIGATOR_STANDALONE = $(ENABLE_NAVIGATOR_STANDALONE_$(WK_COCOA_TOUCH));
274 ENABLE_NAVIGATOR_STANDALONE_cocoatouch = ENABLE_NAVIGATOR_STANDALONE;
275
276 ENABLE_NOTIFICATIONS = $(ENABLE_NOTIFICATIONS_$(WK_PLATFORM_NAME));
277 ENABLE_NOTIFICATIONS_macosx = ENABLE_NOTIFICATIONS;
278
279 ENABLE_PAYMENT_REQUEST = ENABLE_PAYMENT_REQUEST;
280
281 ENABLE_PDFKIT_PLUGIN = $(ENABLE_PDFKIT_PLUGIN_$(WK_PLATFORM_NAME));
282 ENABLE_PDFKIT_PLUGIN_macosx = ENABLE_PDFKIT_PLUGIN;
283
284 ENABLE_POINTER_LOCK = $(ENABLE_POINTER_LOCK_$(WK_PLATFORM_NAME));
285 ENABLE_POINTER_LOCK_macosx = ENABLE_POINTER_LOCK;
286
287 ENABLE_PUBLIC_SUFFIX_LIST = ENABLE_PUBLIC_SUFFIX_LIST;
288
289 ENABLE_QUOTA = ;
290
291 ENABLE_REMOTE_INSPECTOR = ENABLE_REMOTE_INSPECTOR;
292
293 ENABLE_RESOLUTION_MEDIA_QUERY = ;
294
295 ENABLE_RESOURCE_USAGE = ENABLE_RESOURCE_USAGE;
296
297 ENABLE_RUBBER_BANDING = $(ENABLE_RUBBER_BANDING_$(WK_PLATFORM_NAME));
298 ENABLE_RUBBER_BANDING_macosx = ENABLE_RUBBER_BANDING;
299
300 ENABLE_SERVICE_CONTROLS = $(ENABLE_SERVICE_CONTROLS_$(WK_PLATFORM_NAME));
301 ENABLE_SERVICE_CONTROLS_macosx = ENABLE_SERVICE_CONTROLS;
302
303 ENABLE_SERVICE_WORKER = ENABLE_SERVICE_WORKER;
304
305 ENABLE_SPEECH_SYNTHESIS = $(ENABLE_SPEECH_SYNTHESIS_$(WK_PLATFORM_NAME));
306 ENABLE_SPEECH_SYNTHESIS_iphoneos = ENABLE_SPEECH_SYNTHESIS;
307 ENABLE_SPEECH_SYNTHESIS_iphonesimulator = ENABLE_SPEECH_SYNTHESIS;
308 ENABLE_SPEECH_SYNTHESIS_watchos = ENABLE_SPEECH_SYNTHESIS;
309 ENABLE_SPEECH_SYNTHESIS_watchsimulator = ENABLE_SPEECH_SYNTHESIS;
310 ENABLE_SPEECH_SYNTHESIS_appletvos = ENABLE_SPEECH_SYNTHESIS;
311 ENABLE_SPEECH_SYNTHESIS_appletvsimulator = ENABLE_SPEECH_SYNTHESIS;
312 ENABLE_SPEECH_SYNTHESIS_macosx = ENABLE_SPEECH_SYNTHESIS;
313
314 ENABLE_STREAMS_API = ENABLE_STREAMS_API;
315
316 ENABLE_SUBTLE_CRYPTO = ENABLE_SUBTLE_CRYPTO;
317
318 ENABLE_SVG_FONTS = ENABLE_SVG_FONTS;
319
320 ENABLE_TELEPHONE_NUMBER_DETECTION = ENABLE_TELEPHONE_NUMBER_DETECTION;
321
322 ENABLE_TEXT_AUTOSIZING = ENABLE_TEXT_AUTOSIZING;
323
324 // FIXME: Remove the USE_INTERNAL_SDK condition once we support touch events when building for iOS with
325 // the public SDK. See <https://webkit.org/b/179167>.
326 ENABLE_TOUCH_EVENTS = $(ENABLE_TOUCH_EVENTS_$(WK_COCOA_TOUCH)_WITH_INTERNAL_SDK_$(USE_INTERNAL_SDK));
327 ENABLE_TOUCH_EVENTS_cocoatouch_WITH_INTERNAL_SDK_YES = ENABLE_TOUCH_EVENTS;
328
329 ENABLE_USERSELECT_ALL = ENABLE_USERSELECT_ALL;
330
331 ENABLE_USER_MESSAGE_HANDLERS = ENABLE_USER_MESSAGE_HANDLERS;
332
333 ENABLE_VARIATION_FONTS = $(ENABLE_VARIATION_FONTS_$(WK_PLATFORM_NAME));
334 ENABLE_VARIATION_FONTS_iphoneos = ENABLE_VARIATION_FONTS;
335 ENABLE_VARIATION_FONTS_iphoneminimalsimulator = ENABLE_VARIATION_FONTS;
336 ENABLE_VARIATION_FONTS_iphonesimulator = ENABLE_VARIATION_FONTS;
337 ENABLE_VARIATION_FONTS_macosx = $(ENABLE_VARIATION_FONTS$(WK_MACOS_1013));
338 ENABLE_VARIATION_FONTS_MACOS_SINCE_1013 = ENABLE_VARIATION_FONTS;
339
340 ENABLE_VIDEO = ENABLE_VIDEO;
341
342 ENABLE_VIDEO_PRESENTATION_MODE = $(ENABLE_VIDEO_PRESENTATION_MODE_$(WK_PLATFORM_NAME));
343 ENABLE_VIDEO_PRESENTATION_MODE_iphoneos = ENABLE_VIDEO_PRESENTATION_MODE;
344 ENABLE_VIDEO_PRESENTATION_MODE_iphoneminimalsimulator = ENABLE_VIDEO_PRESENTATION_MODE;
345 ENABLE_VIDEO_PRESENTATION_MODE_iphonesimulator = ENABLE_VIDEO_PRESENTATION_MODE;
346 ENABLE_VIDEO_PRESENTATION_MODE_watchos = ENABLE_VIDEO_PRESENTATION_MODE;
347 ENABLE_VIDEO_PRESENTATION_MODE_watchsimulator = ENABLE_VIDEO_PRESENTATION_MODE;
348 ENABLE_VIDEO_PRESENTATION_MODE_appletvos = ENABLE_VIDEO_PRESENTATION_MODE;
349 ENABLE_VIDEO_PRESENTATION_MODE_appletvsimulator = ENABLE_VIDEO_PRESENTATION_MODE;
350 ENABLE_VIDEO_PRESENTATION_MODE_macosx = $(ENABLE_VIDEO_PRESENTATION_MODE$(WK_MACOS_1012));
351 ENABLE_VIDEO_PRESENTATION_MODE_MACOS_SINCE_1012 = ENABLE_VIDEO_PRESENTATION_MODE;
352
353 ENABLE_VIDEO_TRACK = ENABLE_VIDEO_TRACK;
354
355 ENABLE_VIDEO_USES_ELEMENT_FULLSCREEN = $(ENABLE_VIDEO_USES_ELEMENT_FULLSCREEN_$(WK_PLATFORM_NAME));
356 ENABLE_VIDEO_USES_ELEMENT_FULLSCREEN_macosx = ENABLE_VIDEO_USES_ELEMENT_FULLSCREEN;
357
358 ENABLE_WEBASSEMBLY = ;
359
360 ENABLE_WEBASSEMBLY_STREAMING_API = ;
361
362 ENABLE_WEBGL = ENABLE_WEBGL;
363
364 ENABLE_WEBGL2 = ENABLE_WEBGL2;
365
366 ENABLE_WEBGPU = $(ENABLE_WEBGPU_$(WK_PLATFORM_NAME));
367 ENABLE_WEBGPU_iphoneos = ENABLE_WEBGPU;
368 ENABLE_WEBGPU_watchos = ENABLE_WEBGPU;
369 ENABLE_WEBGPU_appletvos = ENABLE_WEBGPU;
370 ENABLE_WEBGPU_macosx = ENABLE_WEBGPU;
371
372 ENABLE_WEB_AUDIO = ENABLE_WEB_AUDIO;
373
374 ENABLE_WEB_AUTHN = $(ENABLE_WEB_AUTHN_$(WK_PLATFORM_NAME));
375 ENABLE_WEB_AUTHN_iphoneos = ENABLE_WEB_AUTHN;
376 ENABLE_WEB_AUTHN_iphonesimulator = ENABLE_WEB_AUTHN;
377 ENABLE_WEB_AUTHN_macosx[arch=x86_64] = ENABLE_WEB_AUTHN;
378
379 ENABLE_WEB_RTC = $(ENABLE_WEB_RTC_$(WK_PLATFORM_NAME));
380 ENABLE_WEB_RTC_iphoneos = ENABLE_WEB_RTC;
381 ENABLE_WEB_RTC_iphonesimulator = ENABLE_WEB_RTC;
382 ENABLE_WEB_RTC_macosx[arch=x86_64] = ENABLE_WEB_RTC;
383
384 ENABLE_WIRELESS_PLAYBACK_TARGET = ENABLE_WIRELESS_PLAYBACK_TARGET;
385
386 ENABLE_XSLT = ENABLE_XSLT;
387
388 FEATURE_DEFINES = $(ENABLE_3D_TRANSFORMS) $(ENABLE_ACCELERATED_2D_CANVAS) $(ENABLE_ACCELERATED_OVERFLOW_SCROLLING) $(ENABLE_APPLE_PAY) $(ENABLE_APPLE_PAY_SESSION_V3) $(ENABLE_APPLICATION_MANIFEST) $(ENABLE_ATTACHMENT_ELEMENT) $(ENABLE_AVF_CAPTIONS) $(ENABLE_CACHE_PARTITIONING) $(ENABLE_CHANNEL_MESSAGING) $(ENABLE_CONTENT_FILTERING) $(ENABLE_CSS3_TEXT) $(ENABLE_CSS_ANIMATIONS_LEVEL_2) $(ENABLE_CSS_BOX_DECORATION_BREAK) $(ENABLE_CSS_COMPOSITING) $(ENABLE_CSS_DEVICE_ADAPTATION) $(ENABLE_CSS_IMAGE_ORIENTATION) $(ENABLE_CSS_IMAGE_RESOLUTION) $(ENABLE_CSS_SCROLL_SNAP) $(ENABLE_CSS_SELECTORS_LEVEL4) $(ENABLE_CSS_TRAILING_WORD) $(ENABLE_CURSOR_VISIBILITY) $(ENABLE_CUSTOM_SCHEME_HANDLER) $(ENABLE_DASHBOARD_SUPPORT) $(ENABLE_DATA_INTERACTION) $(ENABLE_DATACUE_VALUE) $(ENABLE_DATALIST_ELEMENT) $(ENABLE_DEVICE_ORIENTATION) $(ENABLE_DRAG_SUPPORT) $(ENABLE_ENCRYPTED_MEDIA) $(ENABLE_EXTRA_ZOOM_MODE) $(ENABLE_FAST_JIT_PERMISSIONS) $(ENABLE_FILTERS_LEVEL_2) $(ENABLE_FTL_JIT) $(ENABLE_FULLSCREEN_API) $(ENABLE_GAMEPAD) $(ENABLE_GEOLOCATION) $(ENABLE_ICONDATABASE) $(ENABLE_INDEXED_DATABASE) $(ENABLE_INDEXED_DATABASE_IN_WORKERS) $(ENABLE_INPUT_TYPE_COLOR) $(ENABLE_INPUT_TYPE_COLOR_POPOVER) $(ENABLE_INPUT_TYPE_DATE) $(ENABLE_INPUT_TYPE_DATETIME_INCOMPLETE) $(ENABLE_INPUT_TYPE_DATETIMELOCAL) $(ENABLE_INPUT_TYPE_MONTH) $(ENABLE_INPUT_TYPE_TIME) $(ENABLE_INPUT_TYPE_WEEK) $(ENABLE_INTERSECTION_OBSERVER) $(ENABLE_INTL) $(ENABLE_INTL_NUMBER_FORMAT_TO_PARTS) $(ENABLE_INTL_PLURAL_RULES) $(ENABLE_IOS_GESTURE_EVENTS) $(ENABLE_IOS_TOUCH_EVENTS) $(ENABLE_JIT) $(ENABLE_JS_ASYNC_ITERATION) $(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_METER_ELEMENT) $(ENABLE_MINIMAL_SIMULATOR) $(ENABLE_MHTML) $(ENABLE_MOUSE_CURSOR_SCALE) $(ENABLE_NAVIGATOR_CONTENT_UTILS) $(ENABLE_NAVIGATOR_STANDALONE) $(ENABLE_NOTIFICATIONS) $(ENABLE_PAYMENT_REQUEST) $(ENABLE_PDFKIT_PLUGIN) $(ENABLE_POINTER_LOCK) $(ENABLE_PUBLIC_SUFFIX_LIST) $(ENABLE_QUOTA) $(ENABLE_REMOTE_INSPECTOR) $(ENABLE_RESOLUTION_MEDIA_QUERY) $(ENABLE_RESOURCE_USAGE) $(ENABLE_RUBBER_BANDING) $(ENABLE_SERVICE_CONTROLS) $(ENABLE_SERVICE_WORKER) $(ENABLE_SPEECH_SYNTHESIS) $(ENABLE_STREAMS_API) $(ENABLE_SUBTLE_CRYPTO) $(ENABLE_SVG_FONTS) $(ENABLE_TELEPHONE_NUMBER_DETECTION) $(ENABLE_TEXT_AUTOSIZING) $(ENABLE_TOUCH_EVENTS) $(ENABLE_USER_MESSAGE_HANDLERS) $(ENABLE_USERSELECT_ALL) $(ENABLE_VARIATION_FONTS) $(ENABLE_VIDEO) $(ENABLE_VIDEO_PRESENTATION_MODE) $(ENABLE_VIDEO_TRACK) $(ENABLE_VIDEO_USES_ELEMENT_FULLSCREEN) $(ENABLE_WEB_AUDIO) $(ENABLE_WEB_AUTHN) $(ENABLE_WEB_RTC) $(ENABLE_WEBASSEMBLY) $(ENABLE_WEBASSEMBLY_STREAMING_API) $(ENABLE_WEBGL) $(ENABLE_WEBGL2) $(ENABLE_WEBGPU) $(ENABLE_WIRELESS_PLAYBACK_TARGET) $(ENABLE_XSLT);