AX: AOM: Add ARIA IDL Attribute Reflection
[WebKit-https.git] / Source / WebCore / CMakeLists.txt
1 cmake_minimum_required(VERSION 2.8.12)
2
3 include(WebKitCommon)
4 include(WebCoreMacros.cmake)
5
6 set_property(DIRECTORY . PROPERTY FOLDER "WebCore")
7
8 add_subdirectory(PAL/pal)
9
10 if (PAL_LIBRARY_TYPE MATCHES STATIC)
11     add_definitions(-DSTATICALLY_LINKED_WITH_PAL=1)
12 endif ()
13
14 list(APPEND WebCore_UNIFIED_SOURCE_LIST_FILES
15     "Sources.txt"
16 )
17
18 set(WebCore_INCLUDE_DIRECTORIES
19     "${CMAKE_BINARY_DIR}"
20     "${WEBCORE_DIR}"
21     "${WEBCORE_DIR}/Modules/airplay"
22     "${WEBCORE_DIR}/Modules/beacon"
23     "${WEBCORE_DIR}/Modules/applepay"
24     "${WEBCORE_DIR}/Modules/applepay/paymentrequest"
25     "${WEBCORE_DIR}/Modules/cache"
26     "${WEBCORE_DIR}/Modules/credentialmanagement"
27     "${WEBCORE_DIR}/Modules/encryptedmedia"
28     "${WEBCORE_DIR}/Modules/encryptedmedia/legacy"
29     "${WEBCORE_DIR}/Modules/entriesapi"
30     "${WEBCORE_DIR}/Modules/fetch"
31     "${WEBCORE_DIR}/Modules/geolocation"
32     "${WEBCORE_DIR}/Modules/indexeddb"
33     "${WEBCORE_DIR}/Modules/indexeddb/client"
34     "${WEBCORE_DIR}/Modules/indexeddb/server"
35     "${WEBCORE_DIR}/Modules/indexeddb/shared"
36     "${WEBCORE_DIR}/Modules/mediacapabilities"
37     "${WEBCORE_DIR}/Modules/mediacontrols/"
38     "${WEBCORE_DIR}/Modules/mediasession"
39     "${WEBCORE_DIR}/Modules/mediasource"
40     "${WEBCORE_DIR}/Modules/mediastream"
41     "${WEBCORE_DIR}/Modules/navigatorcontentutils"
42     "${WEBCORE_DIR}/Modules/notifications"
43     "${WEBCORE_DIR}/Modules/paymentrequest"
44     "${WEBCORE_DIR}/Modules/plugins"
45     "${WEBCORE_DIR}/Modules/quota"
46     "${WEBCORE_DIR}/Modules/speech"
47     "${WEBCORE_DIR}/Modules/streams"
48     "${WEBCORE_DIR}/Modules/webaudio"
49     "${WEBCORE_DIR}/Modules/webauthn"
50     "${WEBCORE_DIR}/Modules/webdatabase"
51     "${WEBCORE_DIR}/Modules/webdriver"
52     "${WEBCORE_DIR}/Modules/websockets"
53     "${WEBCORE_DIR}/Modules/webvr"
54     "${WEBCORE_DIR}/accessibility"
55     "${WEBCORE_DIR}/animation"
56     "${WEBCORE_DIR}/bindings"
57     "${WEBCORE_DIR}/bindings/js"
58     "${WEBCORE_DIR}/bridge"
59     "${WEBCORE_DIR}/bridge/c"
60     "${WEBCORE_DIR}/bridge/jsc"
61     "${WEBCORE_DIR}/contentextensions"
62     "${WEBCORE_DIR}/crypto"
63     "${WEBCORE_DIR}/crypto/algorithms"
64     "${WEBCORE_DIR}/crypto/keys"
65     "${WEBCORE_DIR}/crypto/parameters"
66     "${WEBCORE_DIR}/css"
67     "${WEBCORE_DIR}/css/parser"
68     "${WEBCORE_DIR}/cssjit"
69     "${WEBCORE_DIR}/dom"
70     "${WEBCORE_DIR}/dom/default"
71     "${WEBCORE_DIR}/dom/messageports"
72     "${WEBCORE_DIR}/domjit"
73     "${WEBCORE_DIR}/editing"
74     "${WEBCORE_DIR}/fileapi"
75     "${WEBCORE_DIR}/history"
76     "${WEBCORE_DIR}/html"
77     "${WEBCORE_DIR}/html/canvas"
78     "${WEBCORE_DIR}/html/forms"
79     "${WEBCORE_DIR}/html/parser"
80     "${WEBCORE_DIR}/html/shadow"
81     "${WEBCORE_DIR}/html/track"
82     "${WEBCORE_DIR}/inspector"
83     "${WEBCORE_DIR}/inspector/agents"
84     "${WEBCORE_DIR}/inspector/agents/page"
85     "${WEBCORE_DIR}/inspector/agents/worker"
86     "${WEBCORE_DIR}/loader"
87     "${WEBCORE_DIR}/loader/appcache"
88     "${WEBCORE_DIR}/loader/archive"
89     "${WEBCORE_DIR}/loader/archive/mhtml"
90     "${WEBCORE_DIR}/loader/cache"
91     "${WEBCORE_DIR}/loader/icon"
92     "${WEBCORE_DIR}/mathml"
93     "${WEBCORE_DIR}/page"
94     "${WEBCORE_DIR}/page/animation"
95     "${WEBCORE_DIR}/page/csp"
96     "${WEBCORE_DIR}/page/scrolling"
97     "${WEBCORE_DIR}/platform"
98     "${WEBCORE_DIR}/platform/animation"
99     "${WEBCORE_DIR}/platform/audio"
100     "${WEBCORE_DIR}/platform/crypto"
101     "${WEBCORE_DIR}/platform/encryptedmedia"
102     "${WEBCORE_DIR}/platform/gamepad"
103     "${WEBCORE_DIR}/platform/graphics"
104     "${WEBCORE_DIR}/platform/graphics/cpu/arm"
105     "${WEBCORE_DIR}/platform/graphics/cpu/arm/filters"
106     "${WEBCORE_DIR}/platform/graphics/displaylists"
107     "${WEBCORE_DIR}/platform/graphics/filters"
108     "${WEBCORE_DIR}/platform/graphics/harfbuzz"
109     "${WEBCORE_DIR}/platform/graphics/harfbuzz/ng"
110     "${WEBCORE_DIR}/platform/graphics/iso"
111     "${WEBCORE_DIR}/platform/graphics/opentype"
112     "${WEBCORE_DIR}/platform/graphics/transforms"
113     "${WEBCORE_DIR}/platform/mediastream"
114     "${WEBCORE_DIR}/platform/mediastream/libwebrtc"
115     "${WEBCORE_DIR}/platform/mock"
116     "${WEBCORE_DIR}/platform/mock/mediasource"
117     "${WEBCORE_DIR}/platform/network"
118     "${WEBCORE_DIR}/platform/sql"
119     "${WEBCORE_DIR}/platform/text"
120     "${WEBCORE_DIR}/platform/text/icu"
121     "${WEBCORE_DIR}/platform/vr"
122     "${WEBCORE_DIR}/plugins"
123     "${WEBCORE_DIR}/rendering"
124     "${WEBCORE_DIR}/rendering/line"
125     "${WEBCORE_DIR}/rendering/mathml"
126     "${WEBCORE_DIR}/rendering/shapes"
127     "${WEBCORE_DIR}/rendering/style"
128     "${WEBCORE_DIR}/rendering/svg"
129     "${WEBCORE_DIR}/rendering/updating"
130     "${WEBCORE_DIR}/replay"
131     "${WEBCORE_DIR}/storage"
132     "${WEBCORE_DIR}/style"
133     "${WEBCORE_DIR}/svg"
134     "${WEBCORE_DIR}/svg/animation"
135     "${WEBCORE_DIR}/svg/graphics"
136     "${WEBCORE_DIR}/svg/graphics/filters"
137     "${WEBCORE_DIR}/svg/properties"
138     "${WEBCORE_DIR}/websockets"
139     "${WEBCORE_DIR}/workers"
140     "${WEBCORE_DIR}/workers/service"
141     "${WEBCORE_DIR}/workers/service/context"
142     "${WEBCORE_DIR}/workers/service/server"
143     "${WEBCORE_DIR}/xml"
144     "${WEBCORE_DIR}/xml/parser"
145     "${DERIVED_SOURCES_WEBCORE_DIR}"
146 )
147
148 set(WebCore_SYSTEM_INCLUDE_DIRECTORIES
149     ${ICU_INCLUDE_DIRS}
150     ${LIBXML2_INCLUDE_DIR}
151     ${LIBXSLT_INCLUDE_DIR}
152     ${SQLITE_INCLUDE_DIR}
153     ${ZLIB_INCLUDE_DIRS}
154 )
155
156 set(WebCore_IDL_INCLUDES
157     css
158     dom
159     fileapi
160     html
161     inspector
162     page
163     plugins
164     storage
165     svg
166     workers
167     xml
168
169     Modules/airplay
170     Modules/cache
171     Modules/credentialmanagement
172     Modules/encryptedmedia/legacy
173     Modules/entriesapi
174     Modules/fetch
175     Modules/geolocation
176     Modules/indexeddb
177     Modules/mediacapabilities
178     Modules/mediasession
179     Modules/mediastream
180     Modules/notifications
181     Modules/paymentrequest
182     Modules/quota
183     Modules/speech
184     Modules/streams
185     Modules/webaudio
186     Modules/webdatabase
187     Modules/websockets
188     Modules/webvr
189
190     bindings/js
191
192     html/canvas
193     html/shadow
194     html/track
195
196     loader/appcache
197 )
198
199 set(WebCore_NON_SVG_IDL_FILES
200     Modules/airplay/WebKitPlaybackTargetAvailabilityEvent.idl
201
202     Modules/beacon/NavigatorBeacon.idl
203
204     Modules/cache/CacheQueryOptions.idl
205     Modules/cache/DOMCache.idl
206     Modules/cache/DOMCacheStorage.idl
207     Modules/cache/DOMWindowCaches.idl
208     Modules/cache/WorkerGlobalScopeCaches.idl
209
210     Modules/credentialmanagement/BasicCredential.idl
211     Modules/credentialmanagement/CredentialCreationOptions.idl
212     Modules/credentialmanagement/CredentialRequestOptions.idl
213     Modules/credentialmanagement/CredentialsContainer.idl
214     Modules/credentialmanagement/NavigatorCredentials.idl
215
216     Modules/entriesapi/DOMFileSystem.idl
217     Modules/entriesapi/ErrorCallback.idl
218     Modules/entriesapi/FileCallback.idl
219     Modules/entriesapi/FileSystemDirectoryEntry.idl
220     Modules/entriesapi/FileSystemDirectoryReader.idl
221     Modules/entriesapi/FileSystemEntriesCallback.idl
222     Modules/entriesapi/FileSystemEntry.idl
223     Modules/entriesapi/FileSystemEntryCallback.idl
224     Modules/entriesapi/FileSystemFileEntry.idl
225     Modules/entriesapi/HTMLInputElementEntriesAPI.idl
226
227     Modules/fetch/DOMWindowFetch.idl
228     Modules/fetch/FetchBody.idl
229     Modules/fetch/FetchHeaders.idl
230     Modules/fetch/FetchReferrerPolicy.idl
231     Modules/fetch/FetchRequest.idl
232     Modules/fetch/FetchRequestCache.idl
233     Modules/fetch/FetchRequestCredentials.idl
234     Modules/fetch/FetchRequestInit.idl
235     Modules/fetch/FetchRequestMode.idl
236     Modules/fetch/FetchRequestRedirect.idl
237     Modules/fetch/FetchResponse.idl
238     Modules/fetch/WorkerGlobalScopeFetch.idl
239
240     Modules/geolocation/Coordinates.idl
241     Modules/geolocation/Geolocation.idl
242     Modules/geolocation/Geoposition.idl
243     Modules/geolocation/NavigatorGeolocation.idl
244     Modules/geolocation/PositionCallback.idl
245     Modules/geolocation/PositionError.idl
246     Modules/geolocation/PositionErrorCallback.idl
247     Modules/geolocation/PositionOptions.idl
248
249     Modules/indexeddb/DOMWindowIndexedDatabase.idl
250     Modules/indexeddb/IDBCursor.idl
251     Modules/indexeddb/IDBCursorDirection.idl
252     Modules/indexeddb/IDBCursorWithValue.idl
253     Modules/indexeddb/IDBDatabase.idl
254     Modules/indexeddb/IDBFactory.idl
255     Modules/indexeddb/IDBIndex.idl
256     Modules/indexeddb/IDBKeyRange.idl
257     Modules/indexeddb/IDBObjectStore.idl
258     Modules/indexeddb/IDBOpenDBRequest.idl
259     Modules/indexeddb/IDBRequest.idl
260     Modules/indexeddb/IDBTransaction.idl
261     Modules/indexeddb/IDBTransactionMode.idl
262     Modules/indexeddb/IDBVersionChangeEvent.idl
263     Modules/indexeddb/WorkerGlobalScopeIndexedDatabase.idl
264
265     Modules/mediacapabilities/AudioConfiguration.idl
266     Modules/mediacapabilities/MediaCapabilities.idl
267     Modules/mediacapabilities/MediaCapabilitiesInfo.idl
268     Modules/mediacapabilities/MediaConfiguration.idl
269     Modules/mediacapabilities/MediaDecodingConfiguration.idl
270     Modules/mediacapabilities/MediaDecodingType.idl
271     Modules/mediacapabilities/MediaEncodingConfiguration.idl
272     Modules/mediacapabilities/MediaEncodingType.idl
273     Modules/mediacapabilities/NavigatorMediaCapabilities.idl
274     Modules/mediacapabilities/ScreenColorGamut.idl
275     Modules/mediacapabilities/ScreenLuminance.idl
276     Modules/mediacapabilities/VideoConfiguration.idl
277
278     Modules/mediacontrols/MediaControlsHost.idl
279
280     Modules/mediasession/HTMLMediaElementMediaSession.idl
281     Modules/mediasession/MediaRemoteControls.idl
282     Modules/mediasession/MediaSession.idl
283
284     Modules/mediasource/DOMURLMediaSource.idl
285     Modules/mediasource/MediaSource.idl
286     Modules/mediasource/SourceBuffer.idl
287     Modules/mediasource/SourceBufferList.idl
288     Modules/mediasource/VideoPlaybackQuality.idl
289
290     Modules/mediastream/CanvasCaptureMediaStreamTrack.idl
291     Modules/mediastream/DoubleRange.idl
292     Modules/mediastream/LongRange.idl
293     Modules/mediastream/MediaDeviceInfo.idl
294     Modules/mediastream/MediaDevices.idl
295     Modules/mediastream/MediaStream.idl
296     Modules/mediastream/MediaStreamEvent.idl
297     Modules/mediastream/MediaStreamTrack.idl
298     Modules/mediastream/MediaStreamTrackEvent.idl
299     Modules/mediastream/MediaTrackConstraints.idl
300     Modules/mediastream/MediaTrackSupportedConstraints.idl
301     Modules/mediastream/NavigatorMediaDevices.idl
302     Modules/mediastream/NavigatorUserMedia.idl
303     Modules/mediastream/OverconstrainedError.idl
304     Modules/mediastream/OverconstrainedErrorEvent.idl
305     Modules/mediastream/RTCAnswerOptions.idl
306     Modules/mediastream/RTCConfiguration.idl
307     Modules/mediastream/RTCDTMFSender.idl
308     Modules/mediastream/RTCDTMFToneChangeEvent.idl
309     Modules/mediastream/RTCDataChannel.idl
310     Modules/mediastream/RTCDataChannelEvent.idl
311     Modules/mediastream/RTCIceCandidate.idl
312     Modules/mediastream/RTCIceConnectionState.idl
313     Modules/mediastream/RTCIceGatheringState.idl
314     Modules/mediastream/RTCIceServer.idl
315     Modules/mediastream/RTCIceTransport.idl
316     Modules/mediastream/RTCIceTransportState.idl
317     Modules/mediastream/RTCOfferAnswerOptions.idl
318     Modules/mediastream/RTCOfferOptions.idl
319     Modules/mediastream/RTCPeerConnection.idl
320     Modules/mediastream/RTCPeerConnectionIceEvent.idl
321     Modules/mediastream/RTCPeerConnectionState.idl
322     Modules/mediastream/RTCRtpParameters.idl
323     Modules/mediastream/RTCRtpReceiver.idl
324     Modules/mediastream/RTCRtpSender.idl
325     Modules/mediastream/RTCRtpTransceiver.idl
326     Modules/mediastream/RTCRtpTransceiverDirection.idl
327     Modules/mediastream/RTCSessionDescription.idl
328     Modules/mediastream/RTCSignalingState.idl
329     Modules/mediastream/RTCStatsReport.idl
330     Modules/mediastream/RTCTrackEvent.idl
331
332     Modules/navigatorcontentutils/NavigatorContentUtils.idl
333
334     Modules/notifications/Notification.idl
335     Modules/notifications/NotificationPermission.idl
336     Modules/notifications/NotificationPermissionCallback.idl
337
338     Modules/paymentrequest/MerchantValidationEvent.idl
339     Modules/paymentrequest/PaymentAddress.idl
340     Modules/paymentrequest/PaymentComplete.idl
341     Modules/paymentrequest/PaymentCurrencyAmount.idl
342     Modules/paymentrequest/PaymentDetailsBase.idl
343     Modules/paymentrequest/PaymentDetailsInit.idl
344     Modules/paymentrequest/PaymentDetailsModifier.idl
345     Modules/paymentrequest/PaymentDetailsUpdate.idl
346     Modules/paymentrequest/PaymentItem.idl
347     Modules/paymentrequest/PaymentMethodData.idl
348     Modules/paymentrequest/PaymentOptions.idl
349     Modules/paymentrequest/PaymentRequest.idl
350     Modules/paymentrequest/PaymentRequestUpdateEvent.idl
351     Modules/paymentrequest/PaymentRequestUpdateEventInit.idl
352     Modules/paymentrequest/PaymentResponse.idl
353     Modules/paymentrequest/PaymentShippingOption.idl
354     Modules/paymentrequest/PaymentShippingType.idl
355
356     Modules/speech/DOMWindowSpeechSynthesis.idl
357     Modules/speech/SpeechSynthesis.idl
358     Modules/speech/SpeechSynthesisEvent.idl
359     Modules/speech/SpeechSynthesisUtterance.idl
360     Modules/speech/SpeechSynthesisVoice.idl
361
362     Modules/streams/ByteLengthQueuingStrategy.idl
363     Modules/streams/CountQueuingStrategy.idl
364     Modules/streams/ReadableByteStreamController.idl
365     Modules/streams/ReadableStream.idl
366     Modules/streams/ReadableStreamBYOBReader.idl
367     Modules/streams/ReadableStreamBYOBRequest.idl
368     Modules/streams/ReadableStreamDefaultController.idl
369     Modules/streams/ReadableStreamDefaultReader.idl
370     Modules/streams/ReadableStreamSink.idl
371     Modules/streams/ReadableStreamSource.idl
372     Modules/streams/WritableStream.idl
373
374     Modules/webaudio/AnalyserNode.idl
375     Modules/webaudio/AudioBuffer.idl
376     Modules/webaudio/AudioBufferCallback.idl
377     Modules/webaudio/AudioBufferSourceNode.idl
378     Modules/webaudio/AudioContext.idl
379     Modules/webaudio/AudioDestinationNode.idl
380     Modules/webaudio/AudioListener.idl
381     Modules/webaudio/AudioNode.idl
382     Modules/webaudio/AudioParam.idl
383     Modules/webaudio/AudioProcessingEvent.idl
384     Modules/webaudio/BiquadFilterNode.idl
385     Modules/webaudio/ChannelMergerNode.idl
386     Modules/webaudio/ChannelSplitterNode.idl
387     Modules/webaudio/ConvolverNode.idl
388     Modules/webaudio/DelayNode.idl
389     Modules/webaudio/DynamicsCompressorNode.idl
390     Modules/webaudio/GainNode.idl
391     Modules/webaudio/MediaElementAudioSourceNode.idl
392     Modules/webaudio/MediaStreamAudioDestinationNode.idl
393     Modules/webaudio/MediaStreamAudioSourceNode.idl
394     Modules/webaudio/OfflineAudioCompletionEvent.idl
395     Modules/webaudio/OfflineAudioContext.idl
396     Modules/webaudio/OscillatorNode.idl
397     Modules/webaudio/PannerNode.idl
398     Modules/webaudio/PeriodicWave.idl
399     Modules/webaudio/ScriptProcessorNode.idl
400     Modules/webaudio/WaveShaperNode.idl
401
402     Modules/webauthn/AuthenticatorAssertionResponse.idl
403     Modules/webauthn/AuthenticatorAttestationResponse.idl
404     Modules/webauthn/AuthenticatorResponse.idl
405     Modules/webauthn/PublicKeyCredential.idl
406     Modules/webauthn/PublicKeyCredentialCreationOptions.idl
407     Modules/webauthn/PublicKeyCredentialDescriptor.idl
408     Modules/webauthn/PublicKeyCredentialRequestOptions.idl
409     Modules/webauthn/PublicKeyCredentialType.idl
410
411     Modules/webdatabase/DOMWindowWebDatabase.idl
412     Modules/webdatabase/Database.idl
413     Modules/webdatabase/DatabaseCallback.idl
414     Modules/webdatabase/SQLError.idl
415     Modules/webdatabase/SQLResultSet.idl
416     Modules/webdatabase/SQLResultSetRowList.idl
417     Modules/webdatabase/SQLStatementCallback.idl
418     Modules/webdatabase/SQLStatementErrorCallback.idl
419     Modules/webdatabase/SQLTransaction.idl
420     Modules/webdatabase/SQLTransactionCallback.idl
421     Modules/webdatabase/SQLTransactionErrorCallback.idl
422
423     Modules/webdriver/NavigatorWebDriver.idl
424
425     Modules/websockets/CloseEvent.idl
426     Modules/websockets/WebSocket.idl
427
428     Modules/webvr/DOMWindowWebVR.idl
429     Modules/webvr/NavigatorWebVR.idl
430     Modules/webvr/VRDisplay.idl
431     Modules/webvr/VRDisplayCapabilities.idl
432     Modules/webvr/VRDisplayEvent.idl
433     Modules/webvr/VRDisplayEventReason.idl
434     Modules/webvr/VREye.idl
435     Modules/webvr/VREyeParameters.idl
436     Modules/webvr/VRFieldOfView.idl
437     Modules/webvr/VRFrameData.idl
438     Modules/webvr/VRLayerInit.idl
439     Modules/webvr/VRPose.idl
440     Modules/webvr/VRStageParameters.idl
441
442     accessibility/AccessibilityRole.idl
443     accessibility/AccessibleSetValueEvent.idl
444     accessibility/AriaAttributes.idl
445
446     animation/Animatable.idl
447     animation/AnimationEffectReadOnly.idl
448     animation/AnimationEffectTiming.idl
449     animation/AnimationEffectTimingProperties.idl
450     animation/AnimationEffectTimingReadOnly.idl
451     animation/AnimationPlaybackEvent.idl
452     animation/AnimationPlaybackEventInit.idl
453     animation/AnimationTimeline.idl
454     animation/CSSAnimation.idl
455     animation/CSSTransition.idl
456     animation/CompositeOperation.idl
457     animation/ComputedTimingProperties.idl
458     animation/DocumentTimeline.idl
459     animation/DocumentTimelineOptions.idl
460     animation/FillMode.idl
461     animation/IterationCompositeOperation.idl
462     animation/KeyframeAnimationOptions.idl
463     animation/KeyframeEffect.idl
464     animation/KeyframeEffectOptions.idl
465     animation/KeyframeEffectReadOnly.idl
466     animation/PlaybackDirection.idl
467     animation/WebAnimation.idl
468
469     crypto/CryptoAlgorithmParameters.idl
470     crypto/CryptoKey.idl
471     crypto/CryptoKeyPair.idl
472     crypto/CryptoKeyUsage.idl
473     crypto/JsonWebKey.idl
474     crypto/RsaOtherPrimesInfo.idl
475     crypto/SubtleCrypto.idl
476
477     crypto/keys/CryptoAesKeyAlgorithm.idl
478     crypto/keys/CryptoEcKeyAlgorithm.idl
479     crypto/keys/CryptoHmacKeyAlgorithm.idl
480     crypto/keys/CryptoKeyAlgorithm.idl
481     crypto/keys/CryptoRsaHashedKeyAlgorithm.idl
482     crypto/keys/CryptoRsaKeyAlgorithm.idl
483
484     crypto/parameters/AesCbcCfbParams.idl
485     crypto/parameters/AesCtrParams.idl
486     crypto/parameters/AesGcmParams.idl
487     crypto/parameters/AesKeyParams.idl
488     crypto/parameters/EcKeyParams.idl
489     crypto/parameters/EcdhKeyDeriveParams.idl
490     crypto/parameters/EcdsaParams.idl
491     crypto/parameters/HkdfParams.idl
492     crypto/parameters/HmacKeyParams.idl
493     crypto/parameters/Pbkdf2Params.idl
494     crypto/parameters/RsaHashedImportParams.idl
495     crypto/parameters/RsaHashedKeyGenParams.idl
496     crypto/parameters/RsaKeyGenParams.idl
497     crypto/parameters/RsaOaepParams.idl
498     crypto/parameters/RsaPssParams.idl
499
500     css/CSSFontFaceRule.idl
501     css/CSSImportRule.idl
502     css/CSSKeyframeRule.idl
503     css/CSSKeyframesRule.idl
504     css/CSSMediaRule.idl
505     css/CSSNamespaceRule.idl
506     css/CSSPageRule.idl
507     css/CSSRule.idl
508     css/CSSRuleList.idl
509     css/CSSStyleDeclaration.idl
510     css/CSSStyleRule.idl
511     css/CSSStyleSheet.idl
512     css/CSSSupportsRule.idl
513     css/CSSUnknownRule.idl
514     css/DOMMatrix.idl
515     css/DOMMatrix2DInit.idl
516     css/DOMMatrixInit.idl
517     css/DOMMatrixReadOnly.idl
518     css/DeprecatedCSSOMCounter.idl
519     css/DeprecatedCSSOMPrimitiveValue.idl
520     css/DeprecatedCSSOMRGBColor.idl
521     css/DeprecatedCSSOMRect.idl
522     css/DeprecatedCSSOMValue.idl
523     css/DeprecatedCSSOMValueList.idl
524     css/DOMCSSNamespace.idl
525     css/ElementCSSInlineStyle.idl
526     css/FontFace.idl
527     css/FontFaceSet.idl
528     css/MediaList.idl
529     css/MediaQueryList.idl
530     css/MediaQueryListListener.idl
531     css/StyleMedia.idl
532     css/StyleSheet.idl
533     css/StyleSheetList.idl
534     css/WebKitCSSMatrix.idl
535     css/WebKitCSSViewportRule.idl
536
537     dom/AbortController.idl
538     dom/AbortSignal.idl
539     dom/AnimationEvent.idl
540     dom/Attr.idl
541     dom/BeforeLoadEvent.idl
542     dom/BeforeUnloadEvent.idl
543     dom/CDATASection.idl
544     dom/CharacterData.idl
545     dom/ChildNode.idl
546     dom/ClipboardEvent.idl
547     dom/Comment.idl
548     dom/CompositionEvent.idl
549     dom/CustomElementRegistry.idl
550     dom/CustomEvent.idl
551     dom/DOMException.idl
552     dom/DOMImplementation.idl
553     dom/DOMPoint.idl
554     dom/DOMPointInit.idl
555     dom/DOMPointReadOnly.idl
556     dom/DOMQuad.idl
557     dom/DOMQuadInit.idl
558     dom/DOMRect.idl
559     dom/DOMRectInit.idl
560     dom/DOMRectList.idl
561     dom/DOMRectReadOnly.idl
562     dom/DOMStringList.idl
563     dom/DOMStringMap.idl
564     dom/DataTransfer.idl
565     dom/DataTransferItem.idl
566     dom/DataTransferItemList.idl
567     dom/DeviceMotionEvent.idl
568     dom/DeviceOrientationEvent.idl
569     dom/Document.idl
570     dom/DocumentAndElementEventHandlers.idl
571     dom/DocumentFragment.idl
572     dom/DocumentOrShadowRoot.idl
573     dom/DocumentTouch.idl
574     dom/DocumentType.idl
575     dom/Element.idl
576     dom/ErrorEvent.idl
577     dom/Event.idl
578     dom/EventInit.idl
579     dom/EventModifierInit.idl
580     dom/EventTarget.idl
581     dom/FocusEvent.idl
582     dom/GlobalEventHandlers.idl
583     dom/HashChangeEvent.idl
584     dom/InputEvent.idl
585     dom/KeyboardEvent.idl
586     dom/MessageChannel.idl
587     dom/MessageEvent.idl
588     dom/MessagePort.idl
589     dom/MouseEvent.idl
590     dom/MouseEventInit.idl
591     dom/MutationCallback.idl
592     dom/MutationEvent.idl
593     dom/MutationObserver.idl
594     dom/MutationRecord.idl
595     dom/NamedNodeMap.idl
596     dom/Node.idl
597     dom/NodeFilter.idl
598     dom/NodeIterator.idl
599     dom/NodeList.idl
600     dom/NonDocumentTypeChildNode.idl
601     dom/NonElementParentNode.idl
602     dom/OverflowEvent.idl
603     dom/PageTransitionEvent.idl
604     dom/ParentNode.idl
605     dom/PopStateEvent.idl
606     dom/ProcessingInstruction.idl
607     dom/ProgressEvent.idl
608     dom/PromiseRejectionEvent.idl
609     dom/Range.idl
610     dom/RequestAnimationFrameCallback.idl
611     dom/SecurityPolicyViolationEvent.idl
612     dom/ShadowRoot.idl
613     dom/ShadowRootMode.idl
614     dom/Slotable.idl
615     dom/SpectreGadget.idl
616     dom/StaticRange.idl
617     dom/StringCallback.idl
618     dom/Text.idl
619     dom/TextDecoder.idl
620     dom/TextEncoder.idl
621     dom/TextEvent.idl
622     dom/Touch.idl
623     dom/TouchEvent.idl
624     dom/TouchList.idl
625     dom/TransitionEvent.idl
626     dom/TreeWalker.idl
627     dom/UIEvent.idl
628     dom/UIEventInit.idl
629     dom/VisibilityState.idl
630     dom/WebKitAnimationEvent.idl
631     dom/WebKitTransitionEvent.idl
632     dom/WheelEvent.idl
633     dom/XMLDocument.idl
634
635     fileapi/Blob.idl
636     fileapi/BlobCallback.idl
637     fileapi/BlobLineEndings.idl
638     fileapi/BlobPropertyBag.idl
639     fileapi/File.idl
640     fileapi/FileError.idl
641     fileapi/FileList.idl
642     fileapi/FileReader.idl
643     fileapi/FileReaderSync.idl
644
645     html/DOMFormData.idl
646     html/DOMTokenList.idl
647     html/DOMURL.idl
648     html/HTMLAllCollection.idl
649     html/HTMLAnchorElement.idl
650     html/HTMLAppletElement.idl
651     html/HTMLAreaElement.idl
652     html/HTMLAttachmentElement.idl
653     html/HTMLAudioElement.idl
654     html/HTMLBRElement.idl
655     html/HTMLBaseElement.idl
656     html/HTMLBodyElement.idl
657     html/HTMLButtonElement.idl
658     html/HTMLCanvasElement.idl
659     html/HTMLCollection.idl
660     html/HTMLDListElement.idl
661     html/HTMLDataElement.idl
662     html/HTMLDataListElement.idl
663     html/HTMLDetailsElement.idl
664     html/HTMLDirectoryElement.idl
665     html/HTMLDivElement.idl
666     html/HTMLDocument.idl
667     html/HTMLElement.idl
668     html/HTMLEmbedElement.idl
669     html/HTMLFieldSetElement.idl
670     html/HTMLFontElement.idl
671     html/HTMLFormControlsCollection.idl
672     html/HTMLFormElement.idl
673     html/HTMLFrameElement.idl
674     html/HTMLFrameSetElement.idl
675     html/HTMLHRElement.idl
676     html/HTMLHeadElement.idl
677     html/HTMLHeadingElement.idl
678     html/HTMLHtmlElement.idl
679     html/HTMLHyperlinkElementUtils.idl
680     html/HTMLIFrameElement.idl
681     html/HTMLImageElement.idl
682     html/HTMLInputElement.idl
683     html/HTMLKeygenElement.idl
684     html/HTMLLIElement.idl
685     html/HTMLLabelElement.idl
686     html/HTMLLegendElement.idl
687     html/HTMLLinkElement.idl
688     html/HTMLMapElement.idl
689     html/HTMLMarqueeElement.idl
690     html/HTMLMediaElement.idl
691     html/HTMLMenuElement.idl
692     html/HTMLMenuItemElement.idl
693     html/HTMLMetaElement.idl
694     html/HTMLMeterElement.idl
695     html/HTMLModElement.idl
696     html/HTMLOListElement.idl
697     html/HTMLObjectElement.idl
698     html/HTMLOptGroupElement.idl
699     html/HTMLOptionElement.idl
700     html/HTMLOptionsCollection.idl
701     html/HTMLOutputElement.idl
702     html/HTMLParagraphElement.idl
703     html/HTMLParamElement.idl
704     html/HTMLPictureElement.idl
705     html/HTMLPreElement.idl
706     html/HTMLProgressElement.idl
707     html/HTMLQuoteElement.idl
708     html/HTMLScriptElement.idl
709     html/HTMLSelectElement.idl
710     html/HTMLSlotElement.idl
711     html/HTMLSourceElement.idl
712     html/HTMLSpanElement.idl
713     html/HTMLStyleElement.idl
714     html/HTMLTableCaptionElement.idl
715     html/HTMLTableCellElement.idl
716     html/HTMLTableColElement.idl
717     html/HTMLTableElement.idl
718     html/HTMLTableRowElement.idl
719     html/HTMLTableSectionElement.idl
720     html/HTMLTemplateElement.idl
721     html/HTMLTextAreaElement.idl
722     html/HTMLTimeElement.idl
723     html/HTMLTitleElement.idl
724     html/HTMLTrackElement.idl
725     html/HTMLUListElement.idl
726     html/HTMLUnknownElement.idl
727     html/HTMLVideoElement.idl
728     html/ImageBitmap.idl
729     html/ImageBitmapOptions.idl
730     html/ImageData.idl
731     html/MediaController.idl
732     html/MediaError.idl
733     html/OffscreenCanvas.idl
734     html/RadioNodeList.idl
735     html/TextMetrics.idl
736     html/TimeRanges.idl
737     html/URLSearchParams.idl
738     html/ValidityState.idl
739     html/VoidCallback.idl
740
741     html/canvas/CanvasCompositing.idl
742     html/canvas/CanvasDirection.idl
743     html/canvas/CanvasDrawImage.idl
744     html/canvas/CanvasDrawPath.idl
745     html/canvas/CanvasFillRule.idl
746     html/canvas/CanvasFillStrokeStyles.idl
747     html/canvas/CanvasFilters.idl
748     html/canvas/CanvasGradient.idl
749     html/canvas/CanvasImageData.idl
750     html/canvas/CanvasImageSmoothing.idl
751     html/canvas/CanvasLineCap.idl
752     html/canvas/CanvasLineJoin.idl
753     html/canvas/CanvasPath.idl
754     html/canvas/CanvasPathDrawingStyles.idl
755     html/canvas/CanvasPattern.idl
756     html/canvas/CanvasRect.idl
757     html/canvas/CanvasRenderingContext2D.idl
758     html/canvas/CanvasShadowStyles.idl
759     html/canvas/CanvasState.idl
760     html/canvas/CanvasText.idl
761     html/canvas/CanvasTextAlign.idl
762     html/canvas/CanvasTextBaseline.idl
763     html/canvas/CanvasTextDrawingStyles.idl
764     html/canvas/CanvasTransform.idl
765     html/canvas/CanvasUserInterface.idl
766     html/canvas/ImageBitmapRenderingContext.idl
767     html/canvas/ImageBitmapRenderingContextSettings.idl
768     html/canvas/ImageSmoothingQuality.idl
769     html/canvas/OffscreenCanvasRenderingContext2D.idl
770     html/canvas/Path2D.idl
771     html/canvas/WebGPUBuffer.idl
772     html/canvas/WebGPUCommandBuffer.idl
773     html/canvas/WebGPUCommandQueue.idl
774     html/canvas/WebGPUComputeCommandEncoder.idl
775     html/canvas/WebGPUComputePipelineState.idl
776     html/canvas/WebGPUDepthStencilDescriptor.idl
777     html/canvas/WebGPUDepthStencilState.idl
778     html/canvas/WebGPUDrawable.idl
779     html/canvas/WebGPUFunction.idl
780     html/canvas/WebGPULibrary.idl
781     html/canvas/WebGPURenderCommandEncoder.idl
782     html/canvas/WebGPURenderPassAttachmentDescriptor.idl
783     html/canvas/WebGPURenderPassColorAttachmentDescriptor.idl
784     html/canvas/WebGPURenderPassDepthAttachmentDescriptor.idl
785     html/canvas/WebGPURenderPassDescriptor.idl
786     html/canvas/WebGPURenderPipelineColorAttachmentDescriptor.idl
787     html/canvas/WebGPURenderPipelineDescriptor.idl
788     html/canvas/WebGPURenderPipelineState.idl
789     html/canvas/WebGPURenderingContext.idl
790     html/canvas/WebGPUSize.idl
791     html/canvas/WebGPUTexture.idl
792     html/canvas/WebGPUTextureDescriptor.idl
793
794     inspector/CommandLineAPIHost.idl
795     inspector/InspectorFrontendHost.idl
796
797     loader/appcache/DOMApplicationCache.idl
798
799     page/BarProp.idl
800     page/Crypto.idl
801     page/DOMSelection.idl
802     page/DOMWindow.idl
803     page/EventSource.idl
804     page/GlobalCrypto.idl
805     page/GlobalPerformance.idl
806     page/History.idl
807     page/IntersectionObserver.idl
808     page/IntersectionObserverCallback.idl
809     page/IntersectionObserverEntry.idl
810     page/Location.idl
811     page/Navigator.idl
812     page/NavigatorID.idl
813     page/NavigatorLanguage.idl
814     page/NavigatorOnLine.idl
815     page/NavigatorServiceWorker.idl
816     page/Performance.idl
817     page/PerformanceEntry.idl
818     page/PerformanceMark.idl
819     page/PerformanceMeasure.idl
820     page/PerformanceObserver.idl
821     page/PerformanceObserverCallback.idl
822     page/PerformanceObserverEntryList.idl
823     page/PerformanceNavigation.idl
824     page/PerformanceResourceTiming.idl
825     page/PerformanceServerTiming.idl
826     page/PerformanceTiming.idl
827     page/RemoteDOMWindow.idl
828     page/Screen.idl
829     page/ScrollToOptions.idl
830     page/VisualViewport.idl
831     page/WebKitPoint.idl
832     page/WindowEventHandlers.idl
833     page/WindowOrWorkerGlobalScope.idl
834     page/WorkerNavigator.idl
835
836     plugins/DOMMimeType.idl
837     plugins/DOMMimeTypeArray.idl
838     plugins/DOMPlugin.idl
839     plugins/DOMPluginArray.idl
840
841     storage/Storage.idl
842     storage/StorageEvent.idl
843
844     workers/AbstractWorker.idl
845     workers/DedicatedWorkerGlobalScope.idl
846     workers/Worker.idl
847     workers/WorkerGlobalScope.idl
848     workers/WorkerLocation.idl
849     workers/WorkerType.idl
850
851     workers/service/ExtendableEvent.idl
852     workers/service/ExtendableEventInit.idl
853     workers/service/ExtendableMessageEvent.idl
854     workers/service/FetchEvent.idl
855     workers/service/ServiceWorker.idl
856     workers/service/ServiceWorkerClient.idl
857     workers/service/ServiceWorkerClientType.idl
858     workers/service/ServiceWorkerClients.idl
859     workers/service/ServiceWorkerContainer.idl
860     workers/service/ServiceWorkerGlobalScope.idl
861     workers/service/ServiceWorkerRegistration.idl
862     workers/service/ServiceWorkerUpdateViaCache.idl
863     workers/service/ServiceWorkerWindowClient.idl
864
865     xml/DOMParser.idl
866     xml/XMLHttpRequest.idl
867     xml/XMLHttpRequestEventTarget.idl
868     xml/XMLHttpRequestProgressEvent.idl
869     xml/XMLHttpRequestUpload.idl
870     xml/XMLSerializer.idl
871     xml/XPathEvaluator.idl
872     xml/XPathExpression.idl
873     xml/XPathNSResolver.idl
874     xml/XPathResult.idl
875     xml/XSLTProcessor.idl
876 )
877
878 set(WebCore_SVG_IDL_FILES
879     svg/SVGAElement.idl
880     svg/SVGAltGlyphDefElement.idl
881     svg/SVGAltGlyphElement.idl
882     svg/SVGAltGlyphItemElement.idl
883     svg/SVGAngle.idl
884     svg/SVGAnimateColorElement.idl
885     svg/SVGAnimateElement.idl
886     svg/SVGAnimateMotionElement.idl
887     svg/SVGAnimateTransformElement.idl
888     svg/SVGAnimatedAngle.idl
889     svg/SVGAnimatedBoolean.idl
890     svg/SVGAnimatedEnumeration.idl
891     svg/SVGAnimatedInteger.idl
892     svg/SVGAnimatedLength.idl
893     svg/SVGAnimatedLengthList.idl
894     svg/SVGAnimatedNumber.idl
895     svg/SVGAnimatedNumberList.idl
896     svg/SVGAnimatedPreserveAspectRatio.idl
897     svg/SVGAnimatedRect.idl
898     svg/SVGAnimatedString.idl
899     svg/SVGAnimatedTransformList.idl
900     svg/SVGAnimationElement.idl
901     svg/SVGCircleElement.idl
902     svg/SVGClipPathElement.idl
903     svg/SVGComponentTransferFunctionElement.idl
904     svg/SVGCursorElement.idl
905     svg/SVGDefsElement.idl
906     svg/SVGDescElement.idl
907     svg/SVGDocument.idl
908     svg/SVGElement.idl
909     svg/SVGEllipseElement.idl
910     svg/SVGExternalResourcesRequired.idl
911     svg/SVGFEBlendElement.idl
912     svg/SVGFEColorMatrixElement.idl
913     svg/SVGFEComponentTransferElement.idl
914     svg/SVGFECompositeElement.idl
915     svg/SVGFEConvolveMatrixElement.idl
916     svg/SVGFEDiffuseLightingElement.idl
917     svg/SVGFEDisplacementMapElement.idl
918     svg/SVGFEDistantLightElement.idl
919     svg/SVGFEDropShadowElement.idl
920     svg/SVGFEFloodElement.idl
921     svg/SVGFEFuncAElement.idl
922     svg/SVGFEFuncBElement.idl
923     svg/SVGFEFuncGElement.idl
924     svg/SVGFEFuncRElement.idl
925     svg/SVGFEGaussianBlurElement.idl
926     svg/SVGFEImageElement.idl
927     svg/SVGFEMergeElement.idl
928     svg/SVGFEMergeNodeElement.idl
929     svg/SVGFEMorphologyElement.idl
930     svg/SVGFEOffsetElement.idl
931     svg/SVGFEPointLightElement.idl
932     svg/SVGFESpecularLightingElement.idl
933     svg/SVGFESpotLightElement.idl
934     svg/SVGFETileElement.idl
935     svg/SVGFETurbulenceElement.idl
936     svg/SVGFilterElement.idl
937     svg/SVGFilterPrimitiveStandardAttributes.idl
938     svg/SVGFitToViewBox.idl
939     svg/SVGFontElement.idl
940     svg/SVGFontFaceElement.idl
941     svg/SVGFontFaceFormatElement.idl
942     svg/SVGFontFaceNameElement.idl
943     svg/SVGFontFaceSrcElement.idl
944     svg/SVGFontFaceUriElement.idl
945     svg/SVGForeignObjectElement.idl
946     svg/SVGGElement.idl
947     svg/SVGGeometryElement.idl
948     svg/SVGGlyphElement.idl
949     svg/SVGGlyphRefElement.idl
950     svg/SVGGradientElement.idl
951     svg/SVGGraphicsElement.idl
952     svg/SVGHKernElement.idl
953     svg/SVGImageElement.idl
954     svg/SVGLength.idl
955     svg/SVGLengthList.idl
956     svg/SVGLineElement.idl
957     svg/SVGLinearGradientElement.idl
958     svg/SVGMPathElement.idl
959     svg/SVGMarkerElement.idl
960     svg/SVGMaskElement.idl
961     svg/SVGMatrix.idl
962     svg/SVGMetadataElement.idl
963     svg/SVGMissingGlyphElement.idl
964     svg/SVGNumber.idl
965     svg/SVGNumberList.idl
966     svg/SVGPathElement.idl
967     svg/SVGPathSeg.idl
968     svg/SVGPathSegArcAbs.idl
969     svg/SVGPathSegArcRel.idl
970     svg/SVGPathSegClosePath.idl
971     svg/SVGPathSegCurvetoCubicAbs.idl
972     svg/SVGPathSegCurvetoCubicRel.idl
973     svg/SVGPathSegCurvetoCubicSmoothAbs.idl
974     svg/SVGPathSegCurvetoCubicSmoothRel.idl
975     svg/SVGPathSegCurvetoQuadraticAbs.idl
976     svg/SVGPathSegCurvetoQuadraticRel.idl
977     svg/SVGPathSegCurvetoQuadraticSmoothAbs.idl
978     svg/SVGPathSegCurvetoQuadraticSmoothRel.idl
979     svg/SVGPathSegLinetoAbs.idl
980     svg/SVGPathSegLinetoHorizontalAbs.idl
981     svg/SVGPathSegLinetoHorizontalRel.idl
982     svg/SVGPathSegLinetoRel.idl
983     svg/SVGPathSegLinetoVerticalAbs.idl
984     svg/SVGPathSegLinetoVerticalRel.idl
985     svg/SVGPathSegList.idl
986     svg/SVGPathSegMovetoAbs.idl
987     svg/SVGPathSegMovetoRel.idl
988     svg/SVGPatternElement.idl
989     svg/SVGPoint.idl
990     svg/SVGPointList.idl
991     svg/SVGPolygonElement.idl
992     svg/SVGPolylineElement.idl
993     svg/SVGPreserveAspectRatio.idl
994     svg/SVGRadialGradientElement.idl
995     svg/SVGRect.idl
996     svg/SVGRectElement.idl
997     svg/SVGRenderingIntent.idl
998     svg/SVGSVGElement.idl
999     svg/SVGScriptElement.idl
1000     svg/SVGSetElement.idl
1001     svg/SVGStopElement.idl
1002     svg/SVGStringList.idl
1003     svg/SVGStyleElement.idl
1004     svg/SVGSwitchElement.idl
1005     svg/SVGSymbolElement.idl
1006     svg/SVGTRefElement.idl
1007     svg/SVGTSpanElement.idl
1008     svg/SVGTests.idl
1009     svg/SVGTextContentElement.idl
1010     svg/SVGTextElement.idl
1011     svg/SVGTextPathElement.idl
1012     svg/SVGTextPositioningElement.idl
1013     svg/SVGTitleElement.idl
1014     svg/SVGTransform.idl
1015     svg/SVGTransformList.idl
1016     svg/SVGURIReference.idl
1017     svg/SVGUnitTypes.idl
1018     svg/SVGUseElement.idl
1019     svg/SVGVKernElement.idl
1020     svg/SVGViewElement.idl
1021     svg/SVGViewSpec.idl
1022     svg/SVGZoomAndPan.idl
1023     svg/SVGZoomEvent.idl
1024 )
1025
1026 if (WIN32 AND INTERNAL_BUILD)
1027     set(JavaScriptCore_SCRIPTS_DIR "${CMAKE_BINARY_DIR}/../include/private/JavaScriptCore/Scripts")
1028     set(ANGLE_FORWARDING_HEADERS_DIR "${CMAKE_BINARY_DIR}/../include/private/ANGLE")
1029 else ()
1030     set(JavaScriptCore_SCRIPTS_DIR "${FORWARDING_HEADERS_DIR}/JavaScriptCore/Scripts")
1031     set(ANGLE_FORWARDING_HEADERS_DIR "${FORWARDING_HEADERS_DIR}/ANGLE")
1032 endif ()
1033
1034 if (ENABLE_GAMEPAD)
1035     list(APPEND WebCore_INCLUDE_DIRECTORIES
1036         "${WEBCORE_DIR}/Modules/gamepad"
1037     )
1038
1039     list(APPEND WebCore_IDL_INCLUDES
1040         Modules/gamepad
1041     )
1042
1043     list(APPEND WebCore_NON_SVG_IDL_FILES
1044         Modules/gamepad/Gamepad.idl
1045         Modules/gamepad/GamepadButton.idl
1046         Modules/gamepad/GamepadEvent.idl
1047         Modules/gamepad/NavigatorGamepad.idl
1048
1049         Modules/webvr/GamepadWebVR.idl
1050     )
1051
1052     list(APPEND WebCore_SOURCES
1053         Modules/gamepad/Gamepad.cpp
1054         Modules/gamepad/GamepadButton.cpp
1055         Modules/gamepad/GamepadEvent.cpp
1056         Modules/gamepad/GamepadManager.cpp
1057         Modules/gamepad/NavigatorGamepad.cpp
1058
1059         platform/gamepad/EmptyGamepadProvider.cpp
1060         platform/gamepad/GamepadProvider.cpp
1061     )
1062 endif ()
1063
1064 set(WebCore_IDL_FILES
1065     ${WebCore_NON_SVG_IDL_FILES}
1066     ${WebCore_SVG_IDL_FILES}
1067 )
1068
1069 set(WebCore_CSS_PROPERTY_NAMES
1070     ${WEBCORE_DIR}/css/CSSProperties.json
1071 )
1072
1073 set(WebCore_CSS_VALUE_KEYWORDS
1074     ${WEBCORE_DIR}/css/CSSValueKeywords.in
1075 )
1076
1077 set(WebCore_USER_AGENT_STYLE_SHEETS
1078     ${WEBCORE_DIR}/css/fullscreen.css
1079     ${WEBCORE_DIR}/css/html.css
1080     ${WEBCORE_DIR}/css/mathml.css
1081     ${WEBCORE_DIR}/css/mediaControls.css
1082     ${WEBCORE_DIR}/css/plugIns.css
1083     ${WEBCORE_DIR}/css/quirks.css
1084     ${WEBCORE_DIR}/css/svg.css
1085     ${WEBCORE_DIR}/html/shadow/meterElementShadow.css
1086 )
1087
1088 set(WebCore_PLUG_INS_RESOURCES
1089     ${WEBCORE_DIR}/Resources/plugIns.js
1090 )
1091
1092 set(WebCore_LIBRARIES
1093     ${ICU_LIBRARIES}
1094     ${LIBXML2_LIBRARIES}
1095     ${LIBXSLT_LIBRARIES}
1096     ${SQLITE_LIBRARIES}
1097     ${ZLIB_LIBRARIES}
1098     PAL${DEBUG_SUFFIX}
1099 )
1100
1101 if (ENABLE_LEGACY_ENCRYPTED_MEDIA)
1102     list(APPEND WebCore_SOURCES
1103         Modules/encryptedmedia/legacy/LegacyCDM.cpp
1104         Modules/encryptedmedia/legacy/LegacyCDMPrivateClearKey.cpp
1105         Modules/encryptedmedia/legacy/LegacyCDMPrivateMediaPlayer.cpp
1106         Modules/encryptedmedia/legacy/LegacyCDMSessionClearKey.cpp
1107
1108         Modules/encryptedmedia/legacy/WebKitMediaKeyMessageEvent.cpp
1109         Modules/encryptedmedia/legacy/WebKitMediaKeyNeededEvent.cpp
1110         Modules/encryptedmedia/legacy/WebKitMediaKeySession.cpp
1111         Modules/encryptedmedia/legacy/WebKitMediaKeys.cpp
1112     )
1113     list(APPEND WebCoreTestSupport_SOURCES
1114         testing/LegacyMockCDM.cpp
1115     )
1116     list(APPEND WebCore_IDL_FILES
1117         Modules/encryptedmedia/legacy/WebKitMediaKeyMessageEvent.idl
1118         Modules/encryptedmedia/legacy/WebKitMediaKeyNeededEvent.idl
1119         Modules/encryptedmedia/legacy/WebKitMediaKeySession.idl
1120         Modules/encryptedmedia/legacy/WebKitMediaKeys.idl
1121
1122         html/WebKitMediaKeyError.idl
1123     )
1124 endif ()
1125
1126 if (ENABLE_ENCRYPTED_MEDIA)
1127     list(APPEND WebCore_SOURCES
1128         Modules/encryptedmedia/CDM.cpp
1129         Modules/encryptedmedia/InitDataRegistry.cpp
1130         Modules/encryptedmedia/MediaKeyMessageEvent.cpp
1131         Modules/encryptedmedia/MediaKeySession.cpp
1132         Modules/encryptedmedia/MediaKeyStatusMap.cpp
1133         Modules/encryptedmedia/MediaKeySystemAccess.cpp
1134         Modules/encryptedmedia/MediaKeys.cpp
1135         Modules/encryptedmedia/NavigatorEME.cpp
1136
1137         html/MediaEncryptedEvent.cpp
1138     )
1139     list(APPEND WebCore_IDL_FILES
1140         Modules/encryptedmedia/MediaKeyMessageEvent.idl
1141         Modules/encryptedmedia/MediaKeySession.idl
1142         Modules/encryptedmedia/MediaKeySessionType.idl
1143         Modules/encryptedmedia/MediaKeyStatusMap.idl
1144         Modules/encryptedmedia/MediaKeySystemAccess.idl
1145         Modules/encryptedmedia/MediaKeySystemConfiguration.idl
1146         Modules/encryptedmedia/MediaKeySystemMediaCapability.idl
1147         Modules/encryptedmedia/MediaKeys.idl
1148         Modules/encryptedmedia/MediaKeysRequirement.idl
1149         Modules/encryptedmedia/NavigatorEME.idl
1150
1151         html/MediaEncryptedEvent.idl
1152     )
1153 endif ()
1154
1155 list(APPEND WebCore_CSS_VALUE_KEYWORDS
1156     ${WEBCORE_DIR}/css/SVGCSSValueKeywords.in
1157 )
1158
1159 if (ENABLE_WEBGL)
1160     list(APPEND WebCore_SOURCES
1161         html/canvas/ANGLEInstancedArrays.cpp
1162         html/canvas/EXTBlendMinMax.cpp
1163         html/canvas/EXTFragDepth.cpp
1164         html/canvas/EXTShaderTextureLOD.cpp
1165         html/canvas/EXTTextureFilterAnisotropic.cpp
1166         html/canvas/EXTsRGB.cpp
1167         html/canvas/OESElementIndexUint.cpp
1168         html/canvas/OESStandardDerivatives.cpp
1169         html/canvas/OESTextureFloat.cpp
1170         html/canvas/OESTextureFloatLinear.cpp
1171         html/canvas/OESTextureHalfFloat.cpp
1172         html/canvas/OESTextureHalfFloatLinear.cpp
1173         html/canvas/OESVertexArrayObject.cpp
1174         html/canvas/WebGL2RenderingContext.cpp
1175         html/canvas/WebGLBuffer.cpp
1176         html/canvas/WebGLCompressedTextureASTC.cpp
1177         html/canvas/WebGLCompressedTextureATC.cpp
1178         html/canvas/WebGLCompressedTexturePVRTC.cpp
1179         html/canvas/WebGLCompressedTextureS3TC.cpp
1180         html/canvas/WebGLContextEvent.cpp
1181         html/canvas/WebGLContextGroup.cpp
1182         html/canvas/WebGLContextObject.cpp
1183         html/canvas/WebGLDebugRendererInfo.cpp
1184         html/canvas/WebGLDebugShaders.cpp
1185         html/canvas/WebGLDepthTexture.cpp
1186         html/canvas/WebGLDrawBuffers.cpp
1187         html/canvas/WebGLExtension.cpp
1188         html/canvas/WebGLFramebuffer.cpp
1189         html/canvas/WebGLLoseContext.cpp
1190         html/canvas/WebGLObject.cpp
1191         html/canvas/WebGLProgram.cpp
1192         html/canvas/WebGLQuery.cpp
1193         html/canvas/WebGLRenderbuffer.cpp
1194         html/canvas/WebGLRenderingContext.cpp
1195         html/canvas/WebGLRenderingContextBase.cpp
1196         html/canvas/WebGLSampler.cpp
1197         html/canvas/WebGLShader.cpp
1198         html/canvas/WebGLShaderPrecisionFormat.cpp
1199         html/canvas/WebGLSharedObject.cpp
1200         html/canvas/WebGLSync.cpp
1201         html/canvas/WebGLTexture.cpp
1202         html/canvas/WebGLTransformFeedback.cpp
1203         html/canvas/WebGLUniformLocation.cpp
1204         html/canvas/WebGLVertexArrayObject.cpp
1205         html/canvas/WebGLVertexArrayObjectBase.cpp
1206         html/canvas/WebGLVertexArrayObjectOES.cpp
1207     )
1208     list(APPEND WebCore_IDL_FILES
1209         html/canvas/ANGLEInstancedArrays.idl
1210         html/canvas/EXTBlendMinMax.idl
1211         html/canvas/EXTFragDepth.idl
1212         html/canvas/EXTShaderTextureLOD.idl
1213         html/canvas/EXTTextureFilterAnisotropic.idl
1214         html/canvas/EXTsRGB.idl
1215         html/canvas/OESElementIndexUint.idl
1216         html/canvas/OESStandardDerivatives.idl
1217         html/canvas/OESTextureFloat.idl
1218         html/canvas/OESTextureFloatLinear.idl
1219         html/canvas/OESTextureHalfFloat.idl
1220         html/canvas/OESTextureHalfFloatLinear.idl
1221         html/canvas/OESVertexArrayObject.idl
1222         html/canvas/WebGL2RenderingContext.idl
1223         html/canvas/WebGLActiveInfo.idl
1224         html/canvas/WebGLBuffer.idl
1225         html/canvas/WebGLCompressedTextureASTC.idl
1226         html/canvas/WebGLCompressedTextureATC.idl
1227         html/canvas/WebGLCompressedTexturePVRTC.idl
1228         html/canvas/WebGLCompressedTextureS3TC.idl
1229         html/canvas/WebGLContextAttributes.idl
1230         html/canvas/WebGLContextEvent.idl
1231         html/canvas/WebGLDebugRendererInfo.idl
1232         html/canvas/WebGLDebugShaders.idl
1233         html/canvas/WebGLDepthTexture.idl
1234         html/canvas/WebGLDrawBuffers.idl
1235         html/canvas/WebGLFramebuffer.idl
1236         html/canvas/WebGLLoseContext.idl
1237         html/canvas/WebGLProgram.idl
1238         html/canvas/WebGLQuery.idl
1239         html/canvas/WebGLRenderbuffer.idl
1240         html/canvas/WebGLRenderingContext.idl
1241         html/canvas/WebGLRenderingContextBase.idl
1242         html/canvas/WebGLSampler.idl
1243         html/canvas/WebGLShader.idl
1244         html/canvas/WebGLShaderPrecisionFormat.idl
1245         html/canvas/WebGLSync.idl
1246         html/canvas/WebGLTexture.idl
1247         html/canvas/WebGLTransformFeedback.idl
1248         html/canvas/WebGLUniformLocation.idl
1249         html/canvas/WebGLVertexArrayObject.idl
1250         html/canvas/WebGLVertexArrayObjectOES.idl
1251     )
1252 endif ()
1253
1254 if (ENABLE_VIDEO_TRACK)
1255     list(APPEND WebCore_IDL_FILES
1256         html/track/AudioTrack.idl
1257         html/track/AudioTrackList.idl
1258         html/track/DataCue.idl
1259         html/track/TextTrack.idl
1260         html/track/TextTrackCue.idl
1261         html/track/TextTrackCueList.idl
1262         html/track/TextTrackList.idl
1263         html/track/TrackEvent.idl
1264         html/track/VTTCue.idl
1265         html/track/VTTRegion.idl
1266         html/track/VTTRegionList.idl
1267         html/track/VideoTrack.idl
1268         html/track/VideoTrackList.idl
1269     )
1270
1271     if (ENABLE_MEDIA_SOURCE)
1272         list(APPEND WebCore_IDL_FILES
1273             Modules/mediasource/AudioTrackMediaSource.idl
1274             Modules/mediasource/TextTrackMediaSource.idl
1275             Modules/mediasource/VideoTrackMediaSource.idl
1276         )
1277     endif ()
1278
1279     list(APPEND WebCore_SOURCES
1280         html/track/AudioTrack.cpp
1281         html/track/AudioTrackList.cpp
1282         html/track/BufferedLineReader.cpp
1283         html/track/DataCue.cpp
1284         html/track/InbandDataTextTrack.cpp
1285         html/track/InbandGenericTextTrack.cpp
1286         html/track/InbandTextTrack.cpp
1287         html/track/InbandWebVTTTextTrack.cpp
1288         html/track/LoadableTextTrack.cpp
1289         html/track/TextTrack.cpp
1290         html/track/TextTrackCue.cpp
1291         html/track/TextTrackCueGeneric.cpp
1292         html/track/TextTrackCueList.cpp
1293         html/track/TextTrackList.cpp
1294         html/track/TrackBase.cpp
1295         html/track/TrackEvent.cpp
1296         html/track/TrackListBase.cpp
1297         html/track/VTTCue.cpp
1298         html/track/VTTRegion.cpp
1299         html/track/VTTRegionList.cpp
1300         html/track/VTTScanner.cpp
1301         html/track/VideoTrack.cpp
1302         html/track/VideoTrackList.cpp
1303         html/track/WebVTTElement.cpp
1304         html/track/WebVTTParser.cpp
1305         html/track/WebVTTTokenizer.cpp
1306
1307         loader/cache/CachedTextTrack.cpp
1308
1309         platform/graphics/TextTrackRepresentation.cpp
1310         platform/graphics/TrackPrivateBase.cpp
1311     )
1312 endif ()
1313
1314 if (ENABLE_QUOTA)
1315     list(APPEND WebCore_SOURCES
1316         Modules/quota/DOMWindowQuota.cpp
1317         Modules/quota/NavigatorStorageQuota.cpp
1318         Modules/quota/StorageErrorCallback.cpp
1319         Modules/quota/StorageInfo.cpp
1320         Modules/quota/StorageQuota.cpp
1321         Modules/quota/WorkerNavigatorStorageQuota.cpp
1322     )
1323
1324     list(APPEND WebCore_IDL_FILES
1325         Modules/quota/DOMWindowQuota.idl
1326         Modules/quota/NavigatorStorageQuota.idl
1327         Modules/quota/StorageErrorCallback.idl
1328         Modules/quota/StorageInfo.idl
1329         Modules/quota/StorageQuota.idl
1330         Modules/quota/StorageQuotaCallback.idl
1331         Modules/quota/StorageUsageCallback.idl
1332         Modules/quota/WorkerNavigatorStorageQuota.idl
1333     )
1334 endif ()
1335
1336 if (ENABLE_GRAPHICS_CONTEXT_3D)
1337     # For platforms that want to use system-provided OpenGL (ES) / EGL headers,
1338     # these include directories, libraries or definitions need to be
1339     # added before the ANGLE directories.
1340     if (USE_LIBEPOXY)
1341         list(APPEND WebCore_SYSTEM_INCLUDE_DIRECTORIES
1342             ${LIBEPOXY_INCLUDE_DIRS}
1343         )
1344         list(APPEND WebCore_LIBRARIES
1345             ${LIBEPOXY_LIBRARIES}
1346         )
1347         add_definitions(${LIBEPOXY_DEFINITIONS})
1348     else ()
1349         if (USE_OPENGL)
1350             list(APPEND WebCore_SYSTEM_INCLUDE_DIRECTORIES
1351                 ${OPENGL_INCLUDE_DIRS}
1352             )
1353             list(APPEND WebCore_LIBRARIES
1354                 ${OPENGL_LIBRARIES}
1355             )
1356             add_definitions(${OPENGL_DEFINITIONS})
1357         elseif (USE_OPENGL_ES)
1358             list(APPEND WebCore_SYSTEM_INCLUDE_DIRECTORIES
1359                 ${OPENGLES2_INCLUDE_DIRS}
1360             )
1361             list(APPEND WebCore_LIBRARIES
1362                 ${OPENGLES2_LIBRARIES}
1363             )
1364             add_definitions(${OPENGLES2_DEFINITIONS})
1365         endif ()
1366
1367         if (USE_EGL)
1368             list(APPEND WebCore_SYSTEM_INCLUDE_DIRECTORIES
1369                 ${EGL_INCLUDE_DIRS}
1370             )
1371             list(APPEND WebCore_LIBRARIES
1372                 ${EGL_LIBRARIES}
1373             )
1374             add_definitions(${EGL_DEFINITIONS})
1375         endif ()
1376     endif ()
1377
1378     list(APPEND WebCore_INCLUDE_DIRECTORIES
1379         "${ANGLE_FORWARDING_HEADERS_DIR}"
1380         "${WEBCORE_DIR}/platform/graphics/gpu"
1381     )
1382
1383     list(APPEND ANGLESupport_SOURCES
1384         ${THIRDPARTY_DIR}/ANGLE/src/common/angleutils.cpp
1385         ${THIRDPARTY_DIR}/ANGLE/src/common/debug.cpp
1386         ${THIRDPARTY_DIR}/ANGLE/src/common/event_tracer.cpp
1387         ${THIRDPARTY_DIR}/ANGLE/src/common/Float16ToFloat32.cpp
1388         ${THIRDPARTY_DIR}/ANGLE/src/common/mathutil.cpp
1389         ${THIRDPARTY_DIR}/ANGLE/src/common/MemoryBuffer.cpp
1390         ${THIRDPARTY_DIR}/ANGLE/src/common/string_utils.cpp
1391         ${THIRDPARTY_DIR}/ANGLE/src/common/third_party/smhasher/src/PMurHash.cpp
1392         ${THIRDPARTY_DIR}/ANGLE/src/common/tls.cpp
1393         ${THIRDPARTY_DIR}/ANGLE/src/common/uniform_type_info_autogen.cpp
1394         ${THIRDPARTY_DIR}/ANGLE/src/common/utilities.cpp
1395
1396         ${THIRDPARTY_DIR}/ANGLE/src/compiler/preprocessor/DiagnosticsBase.cpp
1397         ${THIRDPARTY_DIR}/ANGLE/src/compiler/preprocessor/DirectiveHandlerBase.cpp
1398         ${THIRDPARTY_DIR}/ANGLE/src/compiler/preprocessor/DirectiveParser.cpp
1399         ${THIRDPARTY_DIR}/ANGLE/src/compiler/preprocessor/ExpressionParser.cpp
1400         ${THIRDPARTY_DIR}/ANGLE/src/compiler/preprocessor/Input.cpp
1401         ${THIRDPARTY_DIR}/ANGLE/src/compiler/preprocessor/Lexer.cpp
1402         ${THIRDPARTY_DIR}/ANGLE/src/compiler/preprocessor/Macro.cpp
1403         ${THIRDPARTY_DIR}/ANGLE/src/compiler/preprocessor/MacroExpander.cpp
1404         ${THIRDPARTY_DIR}/ANGLE/src/compiler/preprocessor/Preprocessor.cpp
1405         ${THIRDPARTY_DIR}/ANGLE/src/compiler/preprocessor/Token.cpp
1406         ${THIRDPARTY_DIR}/ANGLE/src/compiler/preprocessor/Tokenizer.cpp
1407
1408         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/ASTMetadataHLSL.cpp
1409         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/AddAndTrueToLoopCondition.cpp
1410         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/AddDefaultReturnStatements.cpp
1411         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/ArrayReturnValueToOutParameter.cpp
1412         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/BreakVariableAliasingInInnerLoops.cpp
1413         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/BuiltInFunctionEmulator.cpp
1414         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/BuiltInFunctionEmulatorGLSL.cpp
1415         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/BuiltInFunctionEmulatorHLSL.cpp
1416         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/Cache.cpp
1417         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/CallDAG.cpp
1418         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/ClampPointSize.cpp
1419         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/CodeGen.cpp
1420         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/CollectVariables.cpp
1421         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/Compiler.cpp
1422         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/ConstantUnion.cpp
1423         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/DeclareAndInitBuiltinsForInstancedMultiview.cpp
1424         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/DeferGlobalInitializers.cpp
1425         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/Diagnostics.cpp
1426         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/DirectiveHandler.cpp
1427         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/EmulateGLFragColorBroadcast.cpp
1428         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/EmulatePrecision.cpp
1429         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/ExpandIntegerPowExpressions.cpp
1430         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/ExtensionBehavior.cpp
1431         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/ExtensionGLSL.cpp
1432         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/FindMain.cpp
1433         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/FindSymbolNode.cpp
1434         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/FlagStd140Structs.cpp
1435         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/HashNames.cpp
1436         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/ImageFunctionHLSL.cpp
1437         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/InfoSink.cpp
1438         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/Initialize.cpp
1439         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/InitializeDll.cpp
1440         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/InitializeVariables.cpp
1441         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/IntermNode.cpp
1442         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/IntermNodePatternMatcher.cpp
1443         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/IntermNode_util.cpp
1444         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/IntermTraverse.cpp
1445         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/IsASTDepthBelowLimit.cpp
1446         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/Operator.cpp
1447         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/OutputESSL.cpp
1448         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/OutputGLSL.cpp
1449         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/OutputGLSLBase.cpp
1450         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/OutputHLSL.cpp
1451         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/OutputTree.cpp
1452         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/OutputVulkanGLSL.cpp
1453         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/ParseContext.cpp
1454         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/PoolAlloc.cpp
1455         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/PruneNoOps.cpp
1456         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/QualifierTypes.cpp
1457         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/RecordConstantPrecision.cpp
1458         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/RegenerateStructNames.cpp
1459         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/RemoveArrayLengthMethod.cpp
1460         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/RemoveDynamicIndexing.cpp
1461         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/RemoveEmptySwitchStatements.cpp
1462         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/RemoveInvariantDeclaration.cpp
1463         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/RemoveNoOpCasesFromEndOfSwitchStatements.cpp
1464         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/RemovePow.cpp
1465         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/RemoveSwitchFallThrough.cpp
1466         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/RemoveUnreferencedVariables.cpp
1467         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/RewriteDoWhile.cpp
1468         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/RewriteElseBlocks.cpp
1469         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/RewriteTexelFetchOffset.cpp
1470         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/RewriteUnaryMinusOperatorFloat.cpp
1471         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/RewriteUnaryMinusOperatorInt.cpp
1472         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/RunAtTheEndOfShader.cpp
1473         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/ScalarizeVecAndMatConstructorArgs.cpp
1474         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/SearchSymbol.cpp
1475         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/SeparateArrayInitialization.cpp
1476         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/SeparateDeclarations.cpp
1477         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/SeparateExpressionsReturningArrays.cpp
1478         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/ShaderLang.cpp
1479         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/ShaderVars.cpp
1480         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/SimplifyLoopConditions.cpp
1481         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/SplitSequenceOperator.cpp
1482         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/StructureHLSL.cpp
1483         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/SymbolTable.cpp
1484         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/SymbolUniqueId.cpp
1485         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/TextureFunctionHLSL.cpp
1486         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/TranslatorESSL.cpp
1487         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/TranslatorGLSL.cpp
1488         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/TranslatorHLSL.cpp
1489         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/TranslatorVulkan.cpp
1490         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/Types.cpp
1491         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/UnfoldShortCircuitAST.cpp
1492         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/UnfoldShortCircuitToIf.cpp
1493         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/UniformHLSL.cpp
1494         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/UseInterfaceBlockFields.cpp
1495         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/UtilsHLSL.cpp
1496         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/ValidateGlobalInitializer.cpp
1497         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/ValidateLimitations.cpp
1498         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/ValidateMaxParameters.cpp
1499         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/ValidateOutputs.cpp
1500         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/ValidateSwitch.cpp
1501         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/ValidateVaryingLocations.cpp
1502         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/VariablePacker.cpp
1503         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/VectorizeVectorScalarArithmetic.cpp
1504         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/VersionGLSL.cpp
1505         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/WrapSwitchStatementsInBlocks.cpp
1506         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/blocklayout.cpp
1507         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/blocklayoutHLSL.cpp
1508         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/emulated_builtin_functions_hlsl_autogen.cpp
1509         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/glslang_lex.cpp
1510         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/glslang_tab.cpp
1511         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/util.cpp
1512
1513         ${THIRDPARTY_DIR}/ANGLE/src/third_party/compiler/ArrayBoundsClamper.cpp
1514
1515         ${THIRDPARTY_DIR}/ANGLE/src/libANGLE/Platform.cpp
1516     )
1517
1518     list(APPEND WebCore_SOURCES
1519         platform/graphics/ANGLEWebKitBridge.cpp
1520         platform/graphics/FormatConverter.cpp
1521         platform/graphics/GraphicsContext3D.cpp
1522     )
1523 endif ()
1524
1525 if (ENABLE_USER_MESSAGE_HANDLERS)
1526     list(APPEND WebCore_IDL_FILES
1527         page/UserMessageHandler.idl
1528         page/UserMessageHandlersNamespace.idl
1529         page/WebKitNamespace.idl
1530     )
1531     list(APPEND WebCore_SOURCES
1532         page/UserMessageHandler.cpp
1533         page/UserMessageHandlerDescriptor.cpp
1534         page/UserMessageHandlersNamespace.cpp
1535         page/WebKitNamespace.cpp
1536     )
1537 endif ()
1538
1539 if (USE_OPENVR)
1540   list(APPEND WebCore_INCLUDE_DIRECTORIES "${THIRDPARTY_DIR}/openvr/headers")
1541   list(APPEND WebCore_INCLUDE_DIRECTORIES "${WEBCORE_DIR}/platform/vr/openvr")
1542   list(APPEND WebCore_LIBRARIES openvr_api)
1543 endif ()
1544
1545 if (USE_WOFF2)
1546   list(APPEND WebCore_INCLUDE_DIRECTORIES "${WOFF2DEC_INCLUDE_DIRS}")
1547   list(APPEND WebCore_LIBRARIES "${WOFF2DEC_LIBRARIES}")
1548 endif ()
1549
1550 if (USE_XDGMIME)
1551     list(APPEND WebCore_INCLUDE_DIRECTORIES "${THIRDPARTY_DIR}/xdgmime/src")
1552     list(APPEND WebCore_LIBRARIES xdgmime)
1553 endif ()
1554
1555 if (USE_LIBWEBRTC)
1556   list(APPEND WebCore_SYSTEM_INCLUDE_DIRECTORIES "${THIRDPARTY_DIR}/libwebrtc/Source/"
1557       "${THIRDPARTY_DIR}/libwebrtc/Source/webrtc")
1558   list(APPEND WebCore_LIBRARIES webrtc)
1559   list(APPEND WebCore_SOURCES
1560       Modules/mediastream/libwebrtc/LibWebRTCDataChannelHandler.cpp
1561       Modules/mediastream/libwebrtc/LibWebRTCMediaEndpoint.cpp
1562       Modules/mediastream/libwebrtc/LibWebRTCPeerConnectionBackend.cpp
1563       )
1564 endif ()
1565
1566 set(WebCoreTestSupport_INCLUDE_DIRECTORIES
1567     "${WEBCORE_DIR}/platform/mock"
1568     "${WEBCORE_DIR}/testing"
1569     "${WEBCORE_DIR}/testing/js"
1570     "${DERIVED_SOURCES_WEBCORE_DIR}"
1571 )
1572
1573 set(WebCoreTestSupport_IDL_INCLUDES
1574     testing
1575 )
1576
1577 set(WebCoreTestSupport_IDL_FILES
1578     testing/GCObservation.idl
1579     testing/InternalSettings.idl
1580     testing/Internals.idl
1581     testing/MallocStatistics.idl
1582     testing/MemoryInfo.idl
1583     testing/MockCDMFactory.idl
1584     testing/MockContentFilterSettings.idl
1585     testing/MockPageOverlay.idl
1586     testing/ServiceWorkerInternals.idl
1587     testing/TypeConversions.idl
1588 )
1589
1590 list(APPEND WebCoreTestSupport_SOURCES
1591     platform/mock/PlatformSpeechSynthesizerMock.cpp
1592
1593     platform/mock/mediasource/MockBox.cpp
1594     platform/mock/mediasource/MockMediaPlayerMediaSource.cpp
1595     platform/mock/mediasource/MockMediaSourcePrivate.cpp
1596     platform/mock/mediasource/MockSourceBufferPrivate.cpp
1597
1598     testing/GCObservation.cpp
1599     testing/InternalSettings.cpp
1600     testing/Internals.cpp
1601     testing/MockCDMFactory.cpp
1602     testing/MockGamepad.cpp
1603     testing/MockGamepadProvider.cpp
1604     testing/MockLibWebRTCPeerConnection.cpp
1605     testing/MockPageOverlay.cpp
1606     testing/MockPageOverlayClient.cpp
1607     testing/ServiceWorkerInternals.cpp
1608     testing/js/WebCoreTestSupport.cpp
1609 )
1610
1611 set(WebCoreTestSupport_LIBRARIES
1612     PRIVATE JavaScriptCore${DEBUG_SUFFIX}
1613 )
1614
1615 # Modules that the bindings generator scripts may use
1616 set(SCRIPTS_RESOLVE_SUPPLEMENTAL
1617     ${WEBCORE_DIR}/bindings/scripts/IDLParser.pm
1618 )
1619 set(SCRIPTS_BINDINGS
1620     ${WEBCORE_DIR}/bindings/scripts/CodeGenerator.pm
1621     ${WEBCORE_DIR}/bindings/scripts/CodeGeneratorJS.pm
1622     ${WEBCORE_DIR}/bindings/scripts/IDLParser.pm
1623     ${WEBCORE_DIR}/bindings/scripts/InFilesParser.pm
1624     ${WEBCORE_DIR}/bindings/scripts/preprocessor.pm
1625 )
1626
1627 set(MAKE_NAMES_DEPENDENCIES
1628     ${WEBCORE_DIR}/bindings/scripts/Hasher.pm
1629     ${WEBCORE_DIR}/bindings/scripts/StaticString.pm
1630 )
1631 set(SUPPLEMENTAL_DEPENDENCY_FILE ${DERIVED_SOURCES_WEBCORE_DIR}/supplemental_dependency.tmp)
1632 set(WINDOW_CONSTRUCTORS_FILE ${DERIVED_SOURCES_WEBCORE_DIR}/DOMWindowConstructors.idl)
1633 set(WORKERGLOBALSCOPE_CONSTRUCTORS_FILE ${DERIVED_SOURCES_WEBCORE_DIR}/WorkerGlobalScopeConstructors.idl)
1634 set(DEDICATEDWORKERGLOBALSCOPE_CONSTRUCTORS_FILE ${DERIVED_SOURCES_WEBCORE_DIR}/DedicatedWorkerGlobalScopeConstructors.idl)
1635 set(SERVICEWORKERGLOBALSCOPE_CONSTRUCTORS_FILE ${DERIVED_SOURCES_WEBCORE_DIR}/ServiceWorkerGlobalScopeConstructors.idl)
1636
1637 WEBKIT_FRAMEWORK_DECLARE(WebCore)
1638 WEBKIT_INCLUDE_CONFIG_FILES_IF_EXISTS()
1639
1640 # Generate InspectorOverlayPage.h
1641 add_custom_command(
1642     OUTPUT ${DERIVED_SOURCES_WEBCORE_DIR}/InspectorOverlayPage.h ${DERIVED_SOURCES_WEBCORE_DIR}/InspectorOverlayPage.combined.html
1643     MAIN_DEPENDENCY inspector/InspectorOverlayPage.html
1644     DEPENDS ${JavaScriptCore_SCRIPTS_DIR}/xxd.pl ${JavaScriptCore_SCRIPTS_DIR}/inline-and-minify-stylesheets-and-scripts.py
1645     DEPENDS inspector/InspectorOverlayPage.css inspector/InspectorOverlayPage.js
1646     COMMAND ${PYTHON_EXECUTABLE} ${JavaScriptCore_SCRIPTS_DIR}/inline-and-minify-stylesheets-and-scripts.py ${WEBCORE_DIR}/inspector/InspectorOverlayPage.html ${DERIVED_SOURCES_WEBCORE_DIR}/InspectorOverlayPage.combined.html
1647     COMMAND ${PERL_EXECUTABLE} ${JavaScriptCore_SCRIPTS_DIR}/xxd.pl InspectorOverlayPage_html ${DERIVED_SOURCES_WEBCORE_DIR}/InspectorOverlayPage.combined.html ${DERIVED_SOURCES_WEBCORE_DIR}/InspectorOverlayPage.h
1648     VERBATIM)
1649 list(APPEND WebCore_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/InspectorOverlayPage.h)
1650
1651
1652 # Generate CommandLineAPIModuleSource.h
1653 add_custom_command(
1654     OUTPUT ${DERIVED_SOURCES_WEBCORE_DIR}/CommandLineAPIModuleSource.h ${DERIVED_SOURCES_WEBCORE_DIR}/CommandLineAPIModuleSource.min.js
1655     MAIN_DEPENDENCY inspector/CommandLineAPIModuleSource.js
1656     DEPENDS ${JavaScriptCore_SCRIPTS_DIR}/xxd.pl ${JavaScriptCore_SCRIPTS_DIR}/jsmin.py
1657     COMMAND ${CMAKE_COMMAND} -E echo "//# sourceURL=__InjectedScript_CommandLineAPIModuleSource.js" > ${DERIVED_SOURCES_WEBCORE_DIR}/CommandLineAPIModuleSource.min.js
1658     COMMAND ${PYTHON_EXECUTABLE} ${JavaScriptCore_SCRIPTS_DIR}/jsmin.py < ${WEBCORE_DIR}/inspector/CommandLineAPIModuleSource.js >> ${DERIVED_SOURCES_WEBCORE_DIR}/CommandLineAPIModuleSource.min.js
1659     COMMAND ${PERL_EXECUTABLE} ${JavaScriptCore_SCRIPTS_DIR}/xxd.pl CommandLineAPIModuleSource_js ${DERIVED_SOURCES_WEBCORE_DIR}/CommandLineAPIModuleSource.min.js ${DERIVED_SOURCES_WEBCORE_DIR}/CommandLineAPIModuleSource.h
1660     VERBATIM)
1661 list(APPEND WebCore_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/CommandLineAPIModuleSource.h)
1662
1663
1664 MAKE_HASH_TOOLS(${WEBCORE_DIR}/platform/ColorData)
1665 list(APPEND WebCore_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/ColorData.cpp)
1666
1667
1668 # Generate DOMJITAbstractHeapRepository.h
1669 add_custom_command(
1670     OUTPUT ${DERIVED_SOURCES_WEBCORE_DIR}/DOMJITAbstractHeapRepository.h
1671     MAIN_DEPENDENCY domjit/DOMJITAbstractHeapRepository.yaml
1672     DEPENDS ${WEBCORE_DIR}/domjit/generate-abstract-heap.rb
1673     COMMAND ${RUBY_EXECUTABLE} ${WEBCORE_DIR}/domjit/generate-abstract-heap.rb ${WEBCORE_DIR}/domjit/DOMJITAbstractHeapRepository.yaml ${DERIVED_SOURCES_WEBCORE_DIR}/DOMJITAbstractHeapRepository.h
1674     VERBATIM)
1675 list(APPEND WebCore_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/DOMJITAbstractHeapRepository.h)
1676
1677 # Generate XMLViewerCSS.h
1678 add_custom_command(
1679     OUTPUT ${DERIVED_SOURCES_WEBCORE_DIR}/XMLViewerCSS.h ${DERIVED_SOURCES_WEBCORE_DIR}/XMLViewer.min.css
1680     MAIN_DEPENDENCY xml/XMLViewer.css
1681     DEPENDS ${JavaScriptCore_SCRIPTS_DIR}/xxd.pl ${JavaScriptCore_SCRIPTS_DIR}/cssmin.py
1682     COMMAND ${PYTHON_EXECUTABLE} ${JavaScriptCore_SCRIPTS_DIR}/cssmin.py < ${WEBCORE_DIR}/xml/XMLViewer.css > ${DERIVED_SOURCES_WEBCORE_DIR}/XMLViewer.min.css
1683     COMMAND ${PERL_EXECUTABLE} ${JavaScriptCore_SCRIPTS_DIR}/xxd.pl XMLViewer_css ${DERIVED_SOURCES_WEBCORE_DIR}/XMLViewer.min.css ${DERIVED_SOURCES_WEBCORE_DIR}/XMLViewerCSS.h
1684     VERBATIM)
1685 list(APPEND WebCore_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/XMLViewerCSS.h)
1686
1687 # Generate XMLViewerJS.h
1688 add_custom_command(
1689     OUTPUT ${DERIVED_SOURCES_WEBCORE_DIR}/XMLViewerJS.h ${DERIVED_SOURCES_WEBCORE_DIR}/XMLViewer.min.js
1690     MAIN_DEPENDENCY xml/XMLViewer.js
1691     DEPENDS ${JavaScriptCore_SCRIPTS_DIR}/xxd.pl ${JavaScriptCore_SCRIPTS_DIR}/jsmin.py
1692     COMMAND ${PYTHON_EXECUTABLE} ${JavaScriptCore_SCRIPTS_DIR}/jsmin.py < ${WEBCORE_DIR}/xml/XMLViewer.js > ${DERIVED_SOURCES_WEBCORE_DIR}/XMLViewer.min.js
1693     COMMAND ${PERL_EXECUTABLE} ${JavaScriptCore_SCRIPTS_DIR}/xxd.pl XMLViewer_js ${DERIVED_SOURCES_WEBCORE_DIR}/XMLViewer.min.js ${DERIVED_SOURCES_WEBCORE_DIR}/XMLViewerJS.h
1694     VERBATIM)
1695 list(APPEND WebCore_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/XMLViewerJS.h)
1696
1697 # Generate HTML entity table
1698 add_custom_command(
1699     OUTPUT ${DERIVED_SOURCES_WEBCORE_DIR}/HTMLEntityTable.cpp
1700     MAIN_DEPENDENCY ${WEBCORE_DIR}/html/parser/HTMLEntityNames.in
1701     DEPENDS ${WEBCORE_DIR}/html/parser/create-html-entity-table
1702     COMMAND ${PYTHON_EXECUTABLE} ${WEBCORE_DIR}/html/parser/create-html-entity-table -o ${DERIVED_SOURCES_WEBCORE_DIR}/HTMLEntityTable.cpp ${WEBCORE_DIR}/html/parser/HTMLEntityNames.in
1703     VERBATIM)
1704 list(APPEND WebCore_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/HTMLEntityTable.cpp)
1705
1706 # Generate HTTP header names
1707 add_custom_command(
1708     OUTPUT ${DERIVED_SOURCES_WEBCORE_DIR}/HTTPHeaderNames.cpp ${DERIVED_SOURCES_WEBCORE_DIR}/HTTPHeaderNames.gperf ${DERIVED_SOURCES_WEBCORE_DIR}/HTTPHeaderNames.h
1709     MAIN_DEPENDENCY ${WEBCORE_DIR}/platform/network/HTTPHeaderNames.in
1710     DEPENDS ${WEBCORE_DIR}/platform/network/create-http-header-name-table
1711     WORKING_DIRECTORY ${DERIVED_SOURCES_WEBCORE_DIR}
1712     COMMAND ${PYTHON_EXECUTABLE} ${WEBCORE_DIR}/platform/network/create-http-header-name-table ${WEBCORE_DIR}/platform/network/HTTPHeaderNames.in "${GPERF_EXECUTABLE}"
1713     VERBATIM)
1714 list(APPEND WebCore_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/HTTPHeaderNames.cpp)
1715
1716 # Generate CSS property names
1717 add_custom_command(
1718     OUTPUT ${DERIVED_SOURCES_WEBCORE_DIR}/CSSProperties.json ${DERIVED_SOURCES_WEBCORE_DIR}/CSSPropertyNames.h ${DERIVED_SOURCES_WEBCORE_DIR}/CSSPropertyNames.cpp ${DERIVED_SOURCES_WEBCORE_DIR}/CSSPropertyNames.gperf ${DERIVED_SOURCES_WEBCORE_DIR}/StyleBuilder.cpp ${DERIVED_SOURCES_WEBCORE_DIR}/StylePropertyShorthandFunctions.h ${DERIVED_SOURCES_WEBCORE_DIR}/StylePropertyShorthandFunctions.cpp
1719     MAIN_DEPENDENCY ${WEBCORE_DIR}/css/makeprop.pl
1720     DEPENDS ${WebCore_CSS_PROPERTY_NAMES}
1721     WORKING_DIRECTORY ${DERIVED_SOURCES_WEBCORE_DIR}
1722     COMMAND ${PERL_EXECUTABLE} -ne "print" ${WebCore_CSS_PROPERTY_NAMES} > ${DERIVED_SOURCES_WEBCORE_DIR}/CSSProperties.json
1723     COMMAND ${PERL_EXECUTABLE} ${WEBCORE_DIR}/css/makeprop.pl --defines "${FEATURE_DEFINES_WITH_SPACE_SEPARATOR}" --gperf-executable "${GPERF_EXECUTABLE}"
1724     VERBATIM)
1725 list(APPEND WebCore_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/CSSPropertyNames.cpp)
1726 list(APPEND WebCore_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/StyleBuilder.cpp)
1727 list(APPEND WebCore_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/StylePropertyShorthandFunctions.cpp)
1728 ADD_SOURCE_WEBCORE_DERIVED_DEPENDENCIES(${WEBCORE_DIR}/css/CSSParser.cpp CSSValueKeywords.h)
1729
1730 # Generate CSS value keywords
1731 add_custom_command(
1732     OUTPUT ${DERIVED_SOURCES_WEBCORE_DIR}/CSSValueKeywords.in ${DERIVED_SOURCES_WEBCORE_DIR}/CSSValueKeywords.h ${DERIVED_SOURCES_WEBCORE_DIR}/CSSValueKeywords.cpp ${DERIVED_SOURCES_WEBCORE_DIR}/CSSValueKeywords.gperf
1733     MAIN_DEPENDENCY ${WEBCORE_DIR}/css/makevalues.pl
1734     DEPENDS ${WebCore_CSS_VALUE_KEYWORDS}
1735     WORKING_DIRECTORY ${DERIVED_SOURCES_WEBCORE_DIR}
1736     COMMAND ${PERL_EXECUTABLE} -ne "print" ${WebCore_CSS_VALUE_KEYWORDS} > ${DERIVED_SOURCES_WEBCORE_DIR}/CSSValueKeywords.in
1737     COMMAND ${PERL_EXECUTABLE} ${WEBCORE_DIR}/css/makevalues.pl --defines "${FEATURE_DEFINES_WITH_SPACE_SEPARATOR}" --preprocessor "${CODE_GENERATOR_PREPROCESSOR}" --gperf-executable "${GPERF_EXECUTABLE}"
1738     VERBATIM)
1739 list(APPEND WebCore_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/CSSValueKeywords.cpp)
1740 ADD_SOURCE_WEBCORE_DERIVED_DEPENDENCIES(${WEBCORE_DIR}/css/CSSParser.cpp CSSValueKeywords.h)
1741 ADD_SOURCE_WEBCORE_DERIVED_DEPENDENCIES(${WEBCORE_DIR}/css/CSSPrimitiveValueMappings.h CSSValueKeywords.h)
1742
1743 # Generate CSS Selector pseudo type name to value maps.
1744 add_custom_command(
1745     OUTPUT ${DERIVED_SOURCES_WEBCORE_DIR}/SelectorPseudoClassAndCompatibilityElementMap.gperf ${DERIVED_SOURCES_WEBCORE_DIR}/SelectorPseudoClassAndCompatibilityElementMap.cpp
1746     MAIN_DEPENDENCY ${WEBCORE_DIR}/css/SelectorPseudoClassAndCompatibilityElementMap.in
1747     DEPENDS ${WEBCORE_DIR}/css/makeSelectorPseudoClassAndCompatibilityElementMap.py
1748     WORKING_DIRECTORY ${DERIVED_SOURCES_WEBCORE_DIR}
1749     COMMAND ${PYTHON_EXECUTABLE} ${WEBCORE_DIR}/css/makeSelectorPseudoClassAndCompatibilityElementMap.py ${WEBCORE_DIR}/css/SelectorPseudoClassAndCompatibilityElementMap.in "${GPERF_EXECUTABLE}" "${FEATURE_DEFINES_WITH_SPACE_SEPARATOR}"
1750     VERBATIM)
1751 list(APPEND WebCore_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/SelectorPseudoClassAndCompatibilityElementMap.cpp)
1752 add_custom_command(
1753     OUTPUT ${DERIVED_SOURCES_WEBCORE_DIR}/SelectorPseudoElementTypeMap.gperf ${DERIVED_SOURCES_WEBCORE_DIR}/SelectorPseudoElementTypeMap.cpp
1754     MAIN_DEPENDENCY ${WEBCORE_DIR}/css/SelectorPseudoElementTypeMap.in
1755     DEPENDS ${WEBCORE_DIR}/css/makeSelectorPseudoElementsMap.py
1756     WORKING_DIRECTORY ${DERIVED_SOURCES_WEBCORE_DIR}
1757     COMMAND ${PYTHON_EXECUTABLE} ${WEBCORE_DIR}/css/makeSelectorPseudoElementsMap.py ${WEBCORE_DIR}/css/SelectorPseudoElementTypeMap.in "${GPERF_EXECUTABLE}" "${FEATURE_DEFINES_WITH_SPACE_SEPARATOR}"
1758     VERBATIM)
1759 list(APPEND WebCore_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/SelectorPseudoElementTypeMap.cpp)
1760
1761 # Generate user agent styles
1762 add_custom_command(
1763     OUTPUT ${DERIVED_SOURCES_WEBCORE_DIR}/UserAgentStyleSheetsData.cpp ${DERIVED_SOURCES_WEBCORE_DIR}/UserAgentStyleSheets.h
1764     MAIN_DEPENDENCY ${WEBCORE_DIR}/css/make-css-file-arrays.pl
1765     DEPENDS ${WebCore_USER_AGENT_STYLE_SHEETS} ${WEBCORE_DIR}/bindings/scripts/preprocessor.pm
1766     COMMAND ${PERL_EXECUTABLE} ${WEBCORE_DIR}/css/make-css-file-arrays.pl --defines "${FEATURE_DEFINES_WITH_SPACE_SEPARATOR}" --preprocessor "${CODE_GENERATOR_PREPROCESSOR}" ${DERIVED_SOURCES_WEBCORE_DIR}/UserAgentStyleSheets.h ${DERIVED_SOURCES_WEBCORE_DIR}/UserAgentStyleSheetsData.cpp ${WebCore_USER_AGENT_STYLE_SHEETS}
1767     VERBATIM)
1768 list(APPEND WebCore_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/UserAgentStyleSheetsData.cpp)
1769 ADD_SOURCE_WEBCORE_DERIVED_DEPENDENCIES(${WEBCORE_DIR}/css/StyleResolver.cpp UserAgentStyleSheetsData.cpp UserAgentStyleSheets.h)
1770
1771 if (WebCore_USER_AGENT_SCRIPTS)
1772     # Necessary variables:
1773     # WebCore_USER_AGENT_SCRIPTS containing the JavaScript sources list
1774     # WebCore_USER_AGENT_SCRIPTS_DEPENDENCIES containing the source file that will load the scripts to add the proper
1775     #   dependency and having them built at the right moment
1776
1777     MAKE_JS_FILE_ARRAYS(
1778         ${DERIVED_SOURCES_WEBCORE_DIR}/UserAgentScriptsData.cpp
1779         ${DERIVED_SOURCES_WEBCORE_DIR}/UserAgentScripts.h
1780         WebCore
1781         WebCore_USER_AGENT_SCRIPTS
1782         WebCore_USER_AGENT_SCRIPTS_DEPENDENCIES
1783     )
1784     list(APPEND WebCore_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/UserAgentScriptsData.cpp)
1785 endif ()
1786
1787 # Generate plug-in resources
1788 add_custom_command(
1789     OUTPUT ${DERIVED_SOURCES_WEBCORE_DIR}/PlugInsResourcesData.cpp ${DERIVED_SOURCES_WEBCORE_DIR}/PlugInsResources.h
1790     MAIN_DEPENDENCY ${WEBCORE_DIR}/css/make-css-file-arrays.pl
1791     DEPENDS ${WebCore_PLUG_INS_RESOURCES} ${WEBCORE_DIR}/bindings/scripts/preprocessor.pm
1792     COMMAND ${PERL_EXECUTABLE} ${WEBCORE_DIR}/css/make-css-file-arrays.pl --defines "${FEATURE_DEFINES_WITH_SPACE_SEPARATOR}" --preprocessor "${CODE_GENERATOR_PREPROCESSOR}" ${DERIVED_SOURCES_WEBCORE_DIR}/PlugInsResources.h ${DERIVED_SOURCES_WEBCORE_DIR}/PlugInsResourcesData.cpp ${WebCore_PLUG_INS_RESOURCES}
1793     VERBATIM)
1794 list(APPEND WebCore_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/PlugInsResourcesData.cpp)
1795 ADD_SOURCE_WEBCORE_DERIVED_DEPENDENCIES(${WEBCORE_DIR}/css/StyleResolver.cpp PlugInsResourcesData.cpp PlugInsResources.h)
1796
1797 set(FEATURE_DEFINES_JAVASCRIPT "LANGUAGE_JAVASCRIPT ${FEATURE_DEFINES_WITH_SPACE_SEPARATOR}")
1798 list(APPEND WebCoreTestSupport_IDL_FILES ${DERIVED_SOURCES_WEBCORE_DIR}/InternalSettingsGenerated.idl)
1799
1800 GENERATE_BINDINGS(WebCoreBindings
1801     OUTPUT_SOURCE WebCore_SOURCES
1802     INPUT_FILES ${WebCore_IDL_FILES}
1803     BASE_DIR ${WEBCORE_DIR}
1804     IDL_INCLUDES ${WebCore_IDL_INCLUDES} ${DERIVED_SOURCES_WEBCORE_DIR}
1805     FEATURES ${FEATURE_DEFINES_JAVASCRIPT}
1806     DESTINATION ${DERIVED_SOURCES_WEBCORE_DIR}
1807     GENERATOR JS
1808     SUPPLEMENTAL_DEPFILE ${SUPPLEMENTAL_DEPENDENCY_FILE}
1809     PP_EXTRA_OUTPUT
1810         ${WINDOW_CONSTRUCTORS_FILE} ${WORKERGLOBALSCOPE_CONSTRUCTORS_FILE} ${DEDICATEDWORKERGLOBALSCOPE_CONSTRUCTORS_FILE}
1811     PP_EXTRA_ARGS
1812         --windowConstructorsFile ${WINDOW_CONSTRUCTORS_FILE}
1813         --workerGlobalScopeConstructorsFile ${WORKERGLOBALSCOPE_CONSTRUCTORS_FILE}
1814         --dedicatedWorkerGlobalScopeConstructorsFile ${DEDICATEDWORKERGLOBALSCOPE_CONSTRUCTORS_FILE}
1815         --serviceWorkerGlobalScopeConstructorsFile ${SERVICEWORKERGLOBALSCOPE_CONSTRUCTORS_FILE})
1816
1817 GENERATE_BINDINGS(WebCoreTestSupportBindings
1818     OUTPUT_SOURCE WebCoreTestSupport_SOURCES
1819     INPUT_FILES ${WebCoreTestSupport_IDL_FILES}
1820     BASE_DIR ${WEBCORE_DIR}
1821     IDL_INCLUDES ${WebCore_IDL_INCLUDES} ${DERIVED_SOURCES_WEBCORE_DIR} ${WebCoreTestSupport_IDL_INCLUDES}
1822     FEATURES ${FEATURE_DEFINES_JAVASCRIPT}
1823     DESTINATION ${DERIVED_SOURCES_WEBCORE_DIR}
1824     GENERATOR JS)
1825
1826 # WebCoreTestSupportBindings needs InternalSettingsGenerated.idl
1827 add_dependencies(WebCoreTestSupportBindings WebCore)
1828
1829 # WebCore JS Builtins
1830
1831 set(WebCore_BUILTINS_SOURCES
1832     ${WEBCORE_DIR}/Modules/mediastream/NavigatorUserMedia.js
1833     ${WEBCORE_DIR}/Modules/mediastream/RTCPeerConnection.js
1834     ${WEBCORE_DIR}/Modules/mediastream/RTCPeerConnectionInternals.js
1835     ${WEBCORE_DIR}/Modules/streams/ByteLengthQueuingStrategy.js
1836     ${WEBCORE_DIR}/Modules/streams/CountQueuingStrategy.js
1837     ${WEBCORE_DIR}/Modules/streams/ReadableByteStreamController.js
1838     ${WEBCORE_DIR}/Modules/streams/ReadableByteStreamInternals.js
1839     ${WEBCORE_DIR}/Modules/streams/ReadableStream.js
1840     ${WEBCORE_DIR}/Modules/streams/ReadableStreamBYOBReader.js
1841     ${WEBCORE_DIR}/Modules/streams/ReadableStreamBYOBRequest.js
1842     ${WEBCORE_DIR}/Modules/streams/ReadableStreamDefaultController.js
1843     ${WEBCORE_DIR}/Modules/streams/ReadableStreamInternals.js
1844     ${WEBCORE_DIR}/Modules/streams/ReadableStreamDefaultReader.js
1845     ${WEBCORE_DIR}/Modules/streams/StreamInternals.js
1846     ${WEBCORE_DIR}/Modules/streams/WritableStream.js
1847     ${WEBCORE_DIR}/Modules/streams/WritableStreamInternals.js
1848     ${WEBCORE_DIR}/bindings/js/JSDOMBindingInternals.js
1849 )
1850
1851 set(BUILTINS_GENERATOR_SCRIPTS
1852     ${JavaScriptCore_SCRIPTS_DIR}/builtins.py
1853     ${JavaScriptCore_SCRIPTS_DIR}/builtins_generator.py
1854     ${JavaScriptCore_SCRIPTS_DIR}/builtins_model.py
1855     ${JavaScriptCore_SCRIPTS_DIR}/builtins_templates.py
1856     ${JavaScriptCore_SCRIPTS_DIR}/builtins_generate_combined_header.py
1857     ${JavaScriptCore_SCRIPTS_DIR}/builtins_generate_combined_implementation.py
1858     ${JavaScriptCore_SCRIPTS_DIR}/builtins_generate_separate_header.py
1859     ${JavaScriptCore_SCRIPTS_DIR}/builtins_generate_separate_implementation.py
1860     ${JavaScriptCore_SCRIPTS_DIR}/builtins_generate_wrapper_header.py
1861     ${JavaScriptCore_SCRIPTS_DIR}/builtins_generate_wrapper_implementation.py
1862     ${JavaScriptCore_SCRIPTS_DIR}/builtins_generate_internals_wrapper_header.py
1863     ${JavaScriptCore_SCRIPTS_DIR}/builtins_generate_internals_wrapper_implementation.py
1864     ${JavaScriptCore_SCRIPTS_DIR}/generate-js-builtins.py
1865     ${JavaScriptCore_SCRIPTS_DIR}/lazywriter.py
1866 )
1867
1868 foreach (_builtinSource ${WebCore_BUILTINS_SOURCES})
1869     get_filename_component(_objectName ${_builtinSource} NAME_WE)
1870     add_custom_command(
1871         OUTPUT ${DERIVED_SOURCES_WEBCORE_DIR}/${_objectName}Builtins.cpp
1872                ${DERIVED_SOURCES_WEBCORE_DIR}/${_objectName}Builtins.h
1873         MAIN_DEPENDENCY ${_builtinSource}
1874         DEPENDS ${BUILTINS_GENERATOR_SCRIPTS}
1875         COMMAND ${PYTHON_EXECUTABLE} ${JavaScriptCore_SCRIPTS_DIR}/generate-js-builtins.py --framework WebCore --output-directory ${DERIVED_SOURCES_WEBCORE_DIR} ${_builtinSource}
1876         VERBATIM)
1877     list(APPEND WebCore_DERIVED_BUILTIN_HEADERS ${DERIVED_SOURCES_WEBCORE_DIR}/${_objectName}Builtins.h)
1878 endforeach ()
1879
1880 add_custom_command(
1881     OUTPUT ${DERIVED_SOURCES_WEBCORE_DIR}/WebCoreJSBuiltins.cpp
1882            ${DERIVED_SOURCES_WEBCORE_DIR}/WebCoreJSBuiltinInternals.cpp
1883            ${DERIVED_SOURCES_WEBCORE_DIR}/WebCoreJSBuiltins.h
1884            ${DERIVED_SOURCES_WEBCORE_DIR}/WebCoreJSBuiltinInternals.h
1885     MAIN_DEPENDENCY ${WebCore_BUILTINS_SOURCES}
1886     DEPENDS ${BUILTINS_GENERATOR_SCRIPTS} ${WebCore_DERIVED_BUILTIN_HEADERS}
1887     COMMAND ${PYTHON_EXECUTABLE} ${JavaScriptCore_SCRIPTS_DIR}/generate-js-builtins.py --wrappers-only --framework WebCore --output-directory ${DERIVED_SOURCES_WEBCORE_DIR} ${WebCore_BUILTINS_SOURCES}
1888     VERBATIM)
1889 list(APPEND WebCore_SOURCES
1890     ${DERIVED_SOURCES_WEBCORE_DIR}/WebCoreJSBuiltins.cpp
1891     ${DERIVED_SOURCES_WEBCORE_DIR}/WebCoreJSBuiltinInternals.cpp
1892     ${DERIVED_SOURCES_WEBCORE_DIR}/WebCoreJSBuiltins.h
1893     ${DERIVED_SOURCES_WEBCORE_DIR}/WebCoreJSBuiltinInternals.h)
1894
1895 ADD_SOURCE_WEBCORE_DERIVED_DEPENDENCIES(${WEBCORE_DIR}/html/HTMLTreeBuilder.cpp MathMLNames.cpp)
1896
1897
1898 GENERATE_DOM_NAMES(HTML ${WEBCORE_DIR}/html/HTMLAttributeNames.in ${WEBCORE_DIR}/html/HTMLTagNames.in "")
1899 list(APPEND WebCore_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/HTMLNames.cpp ${DERIVED_SOURCES_WEBCORE_DIR}/HTMLElementFactory.cpp ${DERIVED_SOURCES_WEBCORE_DIR}/JSHTMLElementWrapperFactory.cpp)
1900
1901
1902 GENERATE_EVENT_FACTORY(${WEBCORE_DIR}/dom/EventNames.in Event)
1903 list(APPEND WebCore_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/EventInterfaces.h)
1904 list(APPEND WebCore_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/EventFactory.cpp)
1905
1906
1907 GENERATE_EVENT_FACTORY(${WEBCORE_DIR}/dom/EventTargetFactory.in EventTarget)
1908 list(APPEND WebCore_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/EventTargetInterfaces.h)
1909 list(APPEND WebCore_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/EventTargetFactory.cpp)
1910
1911
1912 GENERATE_SETTINGS_MACROS(${WEBCORE_DIR}/page/Settings.yaml Settings.h)
1913 list(APPEND WebCore_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/Settings.h)
1914 list(APPEND WebCore_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/Settings.cpp)
1915 list(APPEND WebCoreTestSupport_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/InternalSettingsGenerated.cpp)
1916
1917
1918 GENERATE_FONT_NAMES(${WEBCORE_DIR}/css/WebKitFontFamilyNames.in)
1919 list(APPEND WebCore_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/WebKitFontFamilyNames.cpp)
1920
1921
1922 GENERATE_DOM_NAMES(MathML ${WEBCORE_DIR}/mathml/mathattrs.in ${WEBCORE_DIR}/mathml/mathtags.in "")
1923 list(APPEND WebCore_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/MathMLNames.cpp)
1924 if (ENABLE_MATHML)
1925     list(APPEND WebCore_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/MathMLElementFactory.cpp)
1926 endif ()
1927
1928 # SVG extra defines need to map to a numerical value for correct preprocessing of svgtags.in.
1929 set(SVG_EXTRA_DEFINES "")
1930 if (ENABLE_SVG_FONTS)
1931     list(APPEND SVG_EXTRA_DEFINES "ENABLE_SVG_FONTS=1")
1932 endif ()
1933
1934 GENERATE_DOM_NAMES(SVG ${WEBCORE_DIR}/svg/svgattrs.in ${WEBCORE_DIR}/svg/svgtags.in "${SVG_EXTRA_DEFINES}")
1935 list(APPEND WebCore_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/SVGNames.cpp)
1936
1937 list(APPEND WebCore_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/SVGElementFactory.cpp ${DERIVED_SOURCES_WEBCORE_DIR}/JSSVGElementWrapperFactory.cpp)
1938
1939 GENERATE_DOM_NAMES(XLink ${WEBCORE_DIR}/svg/xlinkattrs.in)
1940 list(APPEND WebCore_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/XLinkNames.cpp)
1941
1942
1943 GENERATE_DOM_NAMES(XMLNS ${WEBCORE_DIR}/xml/xmlnsattrs.in)
1944 list(APPEND WebCore_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/XMLNSNames.cpp)
1945
1946
1947 GENERATE_DOM_NAMES(XML ${WEBCORE_DIR}/xml/xmlattrs.in)
1948 list(APPEND WebCore_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/XMLNames.cpp)
1949
1950 WEBKIT_WRAP_SOURCELIST(${WebCore_IDL_FILES})
1951 WEBKIT_COMPUTE_SOURCES(WebCore)
1952 WEBKIT_WRAP_SOURCELIST(${WebCore_SOURCES})
1953 WEBKIT_WRAP_SOURCELIST(${WebCoreTestSupport_IDL_FILES} ${WebCoreTestSupport_SOURCES})
1954
1955 if (MSVC)
1956     WEBKIT_ADD_PRECOMPILED_HEADER("WebCorePrefix.h" "WebCorePrefix.cpp" WebCore_SOURCES)
1957 endif ()
1958
1959
1960 WEBKIT_FRAMEWORK(WebCore)
1961
1962 add_dependencies(WebCore WebCoreBindings)
1963
1964 if (APPLE)
1965     set_target_properties(WebCore PROPERTIES LINK_FLAGS "-sub_library libobjc -umbrella WebKit -allowable_client WebCoreTestSupport -allowable_client WebKit2 -allowable_client WebKitLegacy")
1966 endif ()
1967
1968 # The -ftree-sra optimization (implicit with -O2) causes crashes when
1969 # allocating large chunks of memory using bmalloc on Intel 32bit.
1970 # See https://bugs.webkit.org/show_bug.cgi?id=146440
1971 string(TOLOWER ${CMAKE_HOST_SYSTEM_PROCESSOR} LOWERCASE_CMAKE_HOST_SYSTEM_PROCESSOR)
1972 if (CMAKE_COMPILER_IS_GNUCXX AND "${LOWERCASE_CMAKE_HOST_SYSTEM_PROCESSOR}" MATCHES "(i[3-6]86|x86)$")
1973     WEBKIT_ADD_TARGET_CXX_FLAGS(WebCore -fno-tree-sra)
1974 endif ()
1975
1976 # Include paths of WebCore doesn't propagate to targets using WebKit
1977 # because WebCore is linked to WebKit as a PRIVATE library. Forwarding
1978 # headers generated by generate-forwarding-headers.pl needs include
1979 # paths of WebCore.
1980 add_library(WebCoreHeaderInterface INTERFACE)
1981 target_include_directories(WebCoreHeaderInterface INTERFACE ${WebCore_INCLUDE_DIRECTORIES})
1982 target_include_directories(WebCoreHeaderInterface SYSTEM INTERFACE ${WebCore_SYSTEM_INCLUDE_DIRECTORIES})
1983 target_link_libraries(WebCoreHeaderInterface INTERFACE ${WebCore_LIBRARIES})
1984
1985 if (MSVC)
1986     WEBKIT_ADD_PRECOMPILED_HEADER("WebCoreTestSupportPrefix.h" "testing/js/WebCoreTestSupportPrefix.cpp" WebCoreTestSupport_SOURCES)
1987 endif ()
1988
1989 add_library(WebCoreTestSupport ${WebCoreTestSupport_LIBRARY_TYPE} ${WebCoreTestSupport_SOURCES})
1990 add_dependencies(WebCoreTestSupport WebCore WebCoreTestSupportBindings)
1991 target_include_directories(WebCoreTestSupport PUBLIC ${WebCoreTestSupport_INCLUDE_DIRECTORIES} ${WebCore_INCLUDE_DIRECTORIES})
1992 target_include_directories(WebCoreTestSupport SYSTEM PUBLIC ${WebCore_SYSTEM_INCLUDE_DIRECTORIES})
1993 target_link_libraries(WebCoreTestSupport ${WebCoreTestSupport_LIBRARIES})
1994
1995 if (WebCoreTestSupport_OUTPUT_NAME)
1996     set_target_properties(WebCoreTestSupport PROPERTIES OUTPUT_NAME ${WebCoreTestSupport_OUTPUT_NAME})
1997     if (MSVC)
1998         add_compile_options(/GF- /WX-)
1999     endif ()
2000 endif ()
2001
2002 if (ENABLE_GRAPHICS_CONTEXT_3D AND NOT WIN32)
2003     add_library(ANGLESupport STATIC ${ANGLESupport_SOURCES})
2004
2005     # Enable the ESSL and GLSL translators.
2006     set_property(TARGET ANGLESupport
2007         PROPERTY COMPILE_DEFINITIONS
2008         ANGLE_ENABLE_ESSL
2009         ANGLE_ENABLE_GLSL
2010         ${ANGLE_PLATFORM_DEFINITIONS})
2011
2012     target_include_directories(ANGLESupport PRIVATE
2013         "${THIRDPARTY_DIR}/ANGLE"
2014         "${THIRDPARTY_DIR}/ANGLE/include"
2015         "${THIRDPARTY_DIR}/ANGLE/include/KHR"
2016         "${THIRDPARTY_DIR}/ANGLE/src"
2017         "${THIRDPARTY_DIR}/ANGLE/src/common/third_party/base"
2018     )
2019     target_link_libraries(WebCore ANGLESupport)
2020
2021     if (COMPILER_IS_GCC_OR_CLANG)
2022         WEBKIT_ADD_TARGET_CXX_FLAGS(ANGLESupport -Wno-implicit-fallthrough
2023                                                  -Wno-inconsistent-missing-override
2024                                                  -Wno-null-conversion
2025                                                  -Wno-suggest-attribute=format
2026                                                  -Wno-unused-function
2027                                                  -Wno-unused-parameter)
2028     endif ()
2029 endif ()
2030
2031
2032 if (${WebCore_LIBRARY_TYPE} MATCHES "SHARED")
2033     set_target_properties(WebCore PROPERTIES VERSION ${PROJECT_VERSION} SOVERSION ${PROJECT_VERSION_MAJOR})
2034     install(TARGETS WebCore DESTINATION "${LIB_INSTALL_DIR}")
2035 endif ()
2036
2037 if (MSVC)
2038     set_target_properties(WebCore PROPERTIES
2039         COMPILE_PDB_NAME ${WebCore_OUTPUT_NAME}
2040     )
2041 endif ()