Unrievwed, fix windows build.
[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/credentials"
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/mediacontrols/"
37     "${WEBCORE_DIR}/Modules/mediasession"
38     "${WEBCORE_DIR}/Modules/mediasource"
39     "${WEBCORE_DIR}/Modules/mediastream"
40     "${WEBCORE_DIR}/Modules/navigatorcontentutils"
41     "${WEBCORE_DIR}/Modules/notifications"
42     "${WEBCORE_DIR}/Modules/paymentrequest"
43     "${WEBCORE_DIR}/Modules/plugins"
44     "${WEBCORE_DIR}/Modules/quota"
45     "${WEBCORE_DIR}/Modules/speech"
46     "${WEBCORE_DIR}/Modules/streams"
47     "${WEBCORE_DIR}/Modules/webaudio"
48     "${WEBCORE_DIR}/Modules/webdatabase"
49     "${WEBCORE_DIR}/Modules/webdriver"
50     "${WEBCORE_DIR}/Modules/websockets"
51     "${WEBCORE_DIR}/Modules/webvr"
52     "${WEBCORE_DIR}/accessibility"
53     "${WEBCORE_DIR}/animation"
54     "${WEBCORE_DIR}/bindings"
55     "${WEBCORE_DIR}/bindings/js"
56     "${WEBCORE_DIR}/bridge"
57     "${WEBCORE_DIR}/bridge/c"
58     "${WEBCORE_DIR}/bridge/jsc"
59     "${WEBCORE_DIR}/contentextensions"
60     "${WEBCORE_DIR}/crypto"
61     "${WEBCORE_DIR}/crypto/algorithms"
62     "${WEBCORE_DIR}/crypto/keys"
63     "${WEBCORE_DIR}/crypto/parameters"
64     "${WEBCORE_DIR}/css"
65     "${WEBCORE_DIR}/css/parser"
66     "${WEBCORE_DIR}/cssjit"
67     "${WEBCORE_DIR}/dom"
68     "${WEBCORE_DIR}/dom/default"
69     "${WEBCORE_DIR}/domjit"
70     "${WEBCORE_DIR}/editing"
71     "${WEBCORE_DIR}/fileapi"
72     "${WEBCORE_DIR}/history"
73     "${WEBCORE_DIR}/html"
74     "${WEBCORE_DIR}/html/canvas"
75     "${WEBCORE_DIR}/html/forms"
76     "${WEBCORE_DIR}/html/parser"
77     "${WEBCORE_DIR}/html/shadow"
78     "${WEBCORE_DIR}/html/track"
79     "${WEBCORE_DIR}/inspector"
80     "${WEBCORE_DIR}/loader"
81     "${WEBCORE_DIR}/loader/appcache"
82     "${WEBCORE_DIR}/loader/archive"
83     "${WEBCORE_DIR}/loader/archive/mhtml"
84     "${WEBCORE_DIR}/loader/cache"
85     "${WEBCORE_DIR}/loader/icon"
86     "${WEBCORE_DIR}/mathml"
87     "${WEBCORE_DIR}/page"
88     "${WEBCORE_DIR}/page/animation"
89     "${WEBCORE_DIR}/page/csp"
90     "${WEBCORE_DIR}/page/scrolling"
91     "${WEBCORE_DIR}/platform"
92     "${WEBCORE_DIR}/platform/animation"
93     "${WEBCORE_DIR}/platform/audio"
94     "${WEBCORE_DIR}/platform/crypto"
95     "${WEBCORE_DIR}/platform/encryptedmedia"
96     "${WEBCORE_DIR}/platform/gamepad"
97     "${WEBCORE_DIR}/platform/graphics"
98     "${WEBCORE_DIR}/platform/graphics/cpu/arm"
99     "${WEBCORE_DIR}/platform/graphics/cpu/arm/filters"
100     "${WEBCORE_DIR}/platform/graphics/displaylists"
101     "${WEBCORE_DIR}/platform/graphics/filters"
102     "${WEBCORE_DIR}/platform/graphics/harfbuzz"
103     "${WEBCORE_DIR}/platform/graphics/harfbuzz/ng"
104     "${WEBCORE_DIR}/platform/graphics/opentype"
105     "${WEBCORE_DIR}/platform/graphics/transforms"
106     "${WEBCORE_DIR}/platform/mediastream"
107     "${WEBCORE_DIR}/platform/mediastream/libwebrtc"
108     "${WEBCORE_DIR}/platform/mock"
109     "${WEBCORE_DIR}/platform/mock/mediasource"
110     "${WEBCORE_DIR}/platform/network"
111     "${WEBCORE_DIR}/platform/sql"
112     "${WEBCORE_DIR}/platform/text"
113     "${WEBCORE_DIR}/platform/text/icu"
114     "${WEBCORE_DIR}/plugins"
115     "${WEBCORE_DIR}/rendering"
116     "${WEBCORE_DIR}/rendering/line"
117     "${WEBCORE_DIR}/rendering/mathml"
118     "${WEBCORE_DIR}/rendering/shapes"
119     "${WEBCORE_DIR}/rendering/style"
120     "${WEBCORE_DIR}/rendering/svg"
121     "${WEBCORE_DIR}/replay"
122     "${WEBCORE_DIR}/storage"
123     "${WEBCORE_DIR}/style"
124     "${WEBCORE_DIR}/svg"
125     "${WEBCORE_DIR}/svg/animation"
126     "${WEBCORE_DIR}/svg/graphics"
127     "${WEBCORE_DIR}/svg/graphics/filters"
128     "${WEBCORE_DIR}/svg/properties"
129     "${WEBCORE_DIR}/websockets"
130     "${WEBCORE_DIR}/workers"
131     "${WEBCORE_DIR}/workers/service"
132     "${WEBCORE_DIR}/workers/service/server"
133     "${WEBCORE_DIR}/xml"
134     "${WEBCORE_DIR}/xml/parser"
135     "${DERIVED_SOURCES_WEBCORE_DIR}"
136     "${PAL_DIR}"
137     "${CMAKE_SOURCE_DIR}/Source"
138 )
139
140 set(WebCore_SYSTEM_INCLUDE_DIRECTORIES
141     ${ICU_INCLUDE_DIRS}
142     ${LIBXML2_INCLUDE_DIR}
143     ${LIBXSLT_INCLUDE_DIR}
144     ${SQLITE_INCLUDE_DIRS}
145     ${ZLIB_INCLUDE_DIRS}
146 )
147
148 set(WebCore_IDL_INCLUDES
149     css
150     dom
151     fileapi
152     html
153     inspector
154     page
155     plugins
156     storage
157     svg
158     workers
159     xml
160
161     Modules/airplay
162     Modules/cache
163     Modules/credentials
164     Modules/encryptedmedia/legacy
165     Modules/entriesapi
166     Modules/fetch
167     Modules/geolocation
168     Modules/indexeddb
169     Modules/mediasession
170     Modules/mediastream
171     Modules/notifications
172     Modules/paymentrequest
173     Modules/quota
174     Modules/speech
175     Modules/streams
176     Modules/webaudio
177     Modules/webdatabase
178     Modules/websockets
179     Modules/webvr
180
181     bindings/js
182
183     html/canvas
184     html/shadow
185     html/track
186
187     loader/appcache
188 )
189
190 set(WebCore_NON_SVG_IDL_FILES
191     Modules/airplay/WebKitPlaybackTargetAvailabilityEvent.idl
192
193     Modules/beacon/NavigatorBeacon.idl
194
195     Modules/cache/CacheQueryOptions.idl
196     Modules/cache/DOMCache.idl
197     Modules/cache/DOMCacheStorage.idl
198     Modules/cache/DOMWindowCaches.idl
199     Modules/cache/WorkerGlobalScopeCaches.idl
200
201     Modules/credentials/BasicCredential.idl
202     Modules/credentials/CredentialCreationOptions.idl
203     Modules/credentials/CredentialData.idl
204     Modules/credentials/CredentialRequestOptions.idl
205     Modules/credentials/CredentialUserData.idl
206     Modules/credentials/CredentialsContainer.idl
207     Modules/credentials/FederatedCredential.idl
208     Modules/credentials/FederatedCredentialInit.idl
209     Modules/credentials/FederatedCredentialRequestOptions.idl
210     Modules/credentials/NavigatorCredentials.idl
211     Modules/credentials/PasswordCredential.idl
212     Modules/credentials/PasswordCredentialData.idl
213
214     Modules/entriesapi/DOMFileSystem.idl
215     Modules/entriesapi/ErrorCallback.idl
216     Modules/entriesapi/FileCallback.idl
217     Modules/entriesapi/FileSystemDirectoryEntry.idl
218     Modules/entriesapi/FileSystemDirectoryReader.idl
219     Modules/entriesapi/FileSystemEntriesCallback.idl
220     Modules/entriesapi/FileSystemEntry.idl
221     Modules/entriesapi/FileSystemEntryCallback.idl
222     Modules/entriesapi/FileSystemFileEntry.idl
223     Modules/entriesapi/HTMLInputElementEntriesAPI.idl
224
225     Modules/fetch/DOMWindowFetch.idl
226     Modules/fetch/FetchBody.idl
227     Modules/fetch/FetchHeaders.idl
228     Modules/fetch/FetchReferrerPolicy.idl
229     Modules/fetch/FetchRequest.idl
230     Modules/fetch/FetchRequestCache.idl
231     Modules/fetch/FetchRequestCredentials.idl
232     Modules/fetch/FetchRequestInit.idl
233     Modules/fetch/FetchRequestMode.idl
234     Modules/fetch/FetchRequestRedirect.idl
235     Modules/fetch/FetchResponse.idl
236     Modules/fetch/WorkerGlobalScopeFetch.idl
237
238     Modules/geolocation/Coordinates.idl
239     Modules/geolocation/Geolocation.idl
240     Modules/geolocation/Geoposition.idl
241     Modules/geolocation/NavigatorGeolocation.idl
242     Modules/geolocation/PositionCallback.idl
243     Modules/geolocation/PositionError.idl
244     Modules/geolocation/PositionErrorCallback.idl
245     Modules/geolocation/PositionOptions.idl
246
247     Modules/indexeddb/DOMWindowIndexedDatabase.idl
248     Modules/indexeddb/IDBCursor.idl
249     Modules/indexeddb/IDBCursorDirection.idl
250     Modules/indexeddb/IDBCursorWithValue.idl
251     Modules/indexeddb/IDBDatabase.idl
252     Modules/indexeddb/IDBFactory.idl
253     Modules/indexeddb/IDBIndex.idl
254     Modules/indexeddb/IDBKeyRange.idl
255     Modules/indexeddb/IDBObjectStore.idl
256     Modules/indexeddb/IDBOpenDBRequest.idl
257     Modules/indexeddb/IDBRequest.idl
258     Modules/indexeddb/IDBTransaction.idl
259     Modules/indexeddb/IDBTransactionMode.idl
260     Modules/indexeddb/IDBVersionChangeEvent.idl
261     Modules/indexeddb/WorkerGlobalScopeIndexedDatabase.idl
262
263     Modules/mediacontrols/MediaControlsHost.idl
264
265     Modules/mediasession/HTMLMediaElementMediaSession.idl
266     Modules/mediasession/MediaRemoteControls.idl
267     Modules/mediasession/MediaSession.idl
268
269     Modules/mediasource/AudioTrackMediaSource.idl
270     Modules/mediasource/DOMURLMediaSource.idl
271     Modules/mediasource/MediaSource.idl
272     Modules/mediasource/SourceBuffer.idl
273     Modules/mediasource/SourceBufferList.idl
274     Modules/mediasource/TextTrackMediaSource.idl
275     Modules/mediasource/VideoPlaybackQuality.idl
276     Modules/mediasource/VideoTrackMediaSource.idl
277
278     Modules/mediastream/CanvasCaptureMediaStreamTrack.idl
279     Modules/mediastream/DoubleRange.idl
280     Modules/mediastream/LongRange.idl
281     Modules/mediastream/MediaDeviceInfo.idl
282     Modules/mediastream/MediaDevices.idl
283     Modules/mediastream/MediaStream.idl
284     Modules/mediastream/MediaStreamEvent.idl
285     Modules/mediastream/MediaStreamTrack.idl
286     Modules/mediastream/MediaStreamTrackEvent.idl
287     Modules/mediastream/MediaTrackConstraints.idl
288     Modules/mediastream/MediaTrackSupportedConstraints.idl
289     Modules/mediastream/NavigatorMediaDevices.idl
290     Modules/mediastream/NavigatorUserMedia.idl
291     Modules/mediastream/OverconstrainedError.idl
292     Modules/mediastream/OverconstrainedErrorEvent.idl
293     Modules/mediastream/RTCAnswerOptions.idl
294     Modules/mediastream/RTCConfiguration.idl
295     Modules/mediastream/RTCDTMFSender.idl
296     Modules/mediastream/RTCDTMFToneChangeEvent.idl
297     Modules/mediastream/RTCDataChannel.idl
298     Modules/mediastream/RTCDataChannelEvent.idl
299     Modules/mediastream/RTCIceCandidate.idl
300     Modules/mediastream/RTCIceConnectionState.idl
301     Modules/mediastream/RTCIceGatheringState.idl
302     Modules/mediastream/RTCIceServer.idl
303     Modules/mediastream/RTCIceTransport.idl
304     Modules/mediastream/RTCIceTransportState.idl
305     Modules/mediastream/RTCOfferAnswerOptions.idl
306     Modules/mediastream/RTCOfferOptions.idl
307     Modules/mediastream/RTCPeerConnection.idl
308     Modules/mediastream/RTCPeerConnectionIceEvent.idl
309     Modules/mediastream/RTCPeerConnectionState.idl
310     Modules/mediastream/RTCRtpParameters.idl
311     Modules/mediastream/RTCRtpReceiver.idl
312     Modules/mediastream/RTCRtpSender.idl
313     Modules/mediastream/RTCRtpTransceiver.idl
314     Modules/mediastream/RTCRtpTransceiverDirection.idl
315     Modules/mediastream/RTCSessionDescription.idl
316     Modules/mediastream/RTCSignalingState.idl
317     Modules/mediastream/RTCStatsReport.idl
318     Modules/mediastream/RTCTrackEvent.idl
319
320     Modules/navigatorcontentutils/NavigatorContentUtils.idl
321
322     Modules/notifications/Notification.idl
323     Modules/notifications/NotificationPermission.idl
324     Modules/notifications/NotificationPermissionCallback.idl
325
326     Modules/paymentrequest/PaymentAddress.idl
327     Modules/paymentrequest/PaymentComplete.idl
328     Modules/paymentrequest/PaymentCurrencyAmount.idl
329     Modules/paymentrequest/PaymentDetailsBase.idl
330     Modules/paymentrequest/PaymentDetailsInit.idl
331     Modules/paymentrequest/PaymentDetailsModifier.idl
332     Modules/paymentrequest/PaymentDetailsUpdate.idl
333     Modules/paymentrequest/PaymentItem.idl
334     Modules/paymentrequest/PaymentMethodData.idl
335     Modules/paymentrequest/PaymentOptions.idl
336     Modules/paymentrequest/PaymentRequest.idl
337     Modules/paymentrequest/PaymentRequestUpdateEvent.idl
338     Modules/paymentrequest/PaymentRequestUpdateEventInit.idl
339     Modules/paymentrequest/PaymentResponse.idl
340     Modules/paymentrequest/PaymentShippingOption.idl
341     Modules/paymentrequest/PaymentShippingType.idl
342
343     Modules/speech/DOMWindowSpeechSynthesis.idl
344     Modules/speech/SpeechSynthesis.idl
345     Modules/speech/SpeechSynthesisEvent.idl
346     Modules/speech/SpeechSynthesisUtterance.idl
347     Modules/speech/SpeechSynthesisVoice.idl
348
349     Modules/streams/ByteLengthQueuingStrategy.idl
350     Modules/streams/CountQueuingStrategy.idl
351     Modules/streams/ReadableByteStreamController.idl
352     Modules/streams/ReadableStream.idl
353     Modules/streams/ReadableStreamBYOBReader.idl
354     Modules/streams/ReadableStreamBYOBRequest.idl
355     Modules/streams/ReadableStreamDefaultController.idl
356     Modules/streams/ReadableStreamDefaultReader.idl
357     Modules/streams/ReadableStreamSink.idl
358     Modules/streams/ReadableStreamSource.idl
359     Modules/streams/WritableStream.idl
360
361     Modules/webaudio/AnalyserNode.idl
362     Modules/webaudio/AudioBuffer.idl
363     Modules/webaudio/AudioBufferCallback.idl
364     Modules/webaudio/AudioBufferSourceNode.idl
365     Modules/webaudio/AudioContext.idl
366     Modules/webaudio/AudioDestinationNode.idl
367     Modules/webaudio/AudioListener.idl
368     Modules/webaudio/AudioNode.idl
369     Modules/webaudio/AudioParam.idl
370     Modules/webaudio/AudioProcessingEvent.idl
371     Modules/webaudio/BiquadFilterNode.idl
372     Modules/webaudio/ChannelMergerNode.idl
373     Modules/webaudio/ChannelSplitterNode.idl
374     Modules/webaudio/ConvolverNode.idl
375     Modules/webaudio/DelayNode.idl
376     Modules/webaudio/DynamicsCompressorNode.idl
377     Modules/webaudio/GainNode.idl
378     Modules/webaudio/MediaElementAudioSourceNode.idl
379     Modules/webaudio/MediaStreamAudioDestinationNode.idl
380     Modules/webaudio/MediaStreamAudioSourceNode.idl
381     Modules/webaudio/OfflineAudioCompletionEvent.idl
382     Modules/webaudio/OfflineAudioContext.idl
383     Modules/webaudio/OscillatorNode.idl
384     Modules/webaudio/PannerNode.idl
385     Modules/webaudio/PeriodicWave.idl
386     Modules/webaudio/ScriptProcessorNode.idl
387     Modules/webaudio/WaveShaperNode.idl
388
389     Modules/webdatabase/DOMWindowWebDatabase.idl
390     Modules/webdatabase/Database.idl
391     Modules/webdatabase/DatabaseCallback.idl
392     Modules/webdatabase/SQLError.idl
393     Modules/webdatabase/SQLResultSet.idl
394     Modules/webdatabase/SQLResultSetRowList.idl
395     Modules/webdatabase/SQLStatementCallback.idl
396     Modules/webdatabase/SQLStatementErrorCallback.idl
397     Modules/webdatabase/SQLTransaction.idl
398     Modules/webdatabase/SQLTransactionCallback.idl
399     Modules/webdatabase/SQLTransactionErrorCallback.idl
400
401     Modules/webdriver/NavigatorWebDriver.idl
402
403     Modules/websockets/CloseEvent.idl
404     Modules/websockets/WebSocket.idl
405
406     Modules/webvr/DOMWindowWebVR.idl
407     Modules/webvr/GamepadWebVR.idl
408     Modules/webvr/NavigatorWebVR.idl
409     Modules/webvr/VRDisplay.idl
410     Modules/webvr/VRDisplayCapabilities.idl
411     Modules/webvr/VRDisplayEvent.idl
412     Modules/webvr/VRDisplayEventReason.idl
413     Modules/webvr/VREye.idl
414     Modules/webvr/VREyeParameters.idl
415     Modules/webvr/VRFieldOfView.idl
416     Modules/webvr/VRFrameData.idl
417     Modules/webvr/VRLayerInit.idl
418     Modules/webvr/VRPose.idl
419     Modules/webvr/VRStageParameters.idl
420
421     animation/AnimationTimeline.idl
422     animation/DocumentTimeline.idl
423     animation/WebAnimation.idl
424
425     crypto/CryptoAlgorithmParameters.idl
426     crypto/CryptoKey.idl
427     crypto/CryptoKeyPair.idl
428     crypto/CryptoKeyUsage.idl
429     crypto/JsonWebKey.idl
430     crypto/RsaOtherPrimesInfo.idl
431     crypto/SubtleCrypto.idl
432
433     crypto/keys/CryptoAesKeyAlgorithm.idl
434     crypto/keys/CryptoEcKeyAlgorithm.idl
435     crypto/keys/CryptoHmacKeyAlgorithm.idl
436     crypto/keys/CryptoKeyAlgorithm.idl
437     crypto/keys/CryptoRsaHashedKeyAlgorithm.idl
438     crypto/keys/CryptoRsaKeyAlgorithm.idl
439
440     crypto/parameters/AesCbcCfbParams.idl
441     crypto/parameters/AesCtrParams.idl
442     crypto/parameters/AesGcmParams.idl
443     crypto/parameters/AesKeyParams.idl
444     crypto/parameters/EcKeyParams.idl
445     crypto/parameters/EcdhKeyDeriveParams.idl
446     crypto/parameters/EcdsaParams.idl
447     crypto/parameters/HkdfParams.idl
448     crypto/parameters/HmacKeyParams.idl
449     crypto/parameters/Pbkdf2Params.idl
450     crypto/parameters/RsaHashedImportParams.idl
451     crypto/parameters/RsaHashedKeyGenParams.idl
452     crypto/parameters/RsaKeyGenParams.idl
453     crypto/parameters/RsaOaepParams.idl
454     crypto/parameters/RsaPssParams.idl
455
456     css/CSSFontFaceRule.idl
457     css/CSSImportRule.idl
458     css/CSSKeyframeRule.idl
459     css/CSSKeyframesRule.idl
460     css/CSSMediaRule.idl
461     css/CSSNamespaceRule.idl
462     css/CSSPageRule.idl
463     css/CSSRule.idl
464     css/CSSRuleList.idl
465     css/CSSStyleDeclaration.idl
466     css/CSSStyleRule.idl
467     css/CSSStyleSheet.idl
468     css/CSSSupportsRule.idl
469     css/CSSUnknownRule.idl
470     css/DOMMatrix.idl
471     css/DOMMatrix2DInit.idl
472     css/DOMMatrixInit.idl
473     css/DOMMatrixReadOnly.idl
474     css/DeprecatedCSSOMCounter.idl
475     css/DeprecatedCSSOMPrimitiveValue.idl
476     css/DeprecatedCSSOMRGBColor.idl
477     css/DeprecatedCSSOMRect.idl
478     css/DeprecatedCSSOMValue.idl
479     css/DeprecatedCSSOMValueList.idl
480     css/DOMCSSNamespace.idl
481     css/ElementCSSInlineStyle.idl
482     css/FontFace.idl
483     css/FontFaceSet.idl
484     css/MediaList.idl
485     css/MediaQueryList.idl
486     css/MediaQueryListListener.idl
487     css/StyleMedia.idl
488     css/StyleSheet.idl
489     css/StyleSheetList.idl
490     css/WebKitCSSMatrix.idl
491     css/WebKitCSSViewportRule.idl
492
493     dom/AbortController.idl
494     dom/AbortSignal.idl
495     dom/AnimationEvent.idl
496     dom/Attr.idl
497     dom/BeforeLoadEvent.idl
498     dom/BeforeUnloadEvent.idl
499     dom/CDATASection.idl
500     dom/CharacterData.idl
501     dom/ChildNode.idl
502     dom/ClipboardEvent.idl
503     dom/Comment.idl
504     dom/CompositionEvent.idl
505     dom/CustomElementRegistry.idl
506     dom/CustomEvent.idl
507     dom/DOMException.idl
508     dom/DOMImplementation.idl
509     dom/DOMPoint.idl
510     dom/DOMPointInit.idl
511     dom/DOMPointReadOnly.idl
512     dom/DOMQuad.idl
513     dom/DOMQuadInit.idl
514     dom/DOMRect.idl
515     dom/DOMRectInit.idl
516     dom/DOMRectList.idl
517     dom/DOMRectReadOnly.idl
518     dom/DOMStringList.idl
519     dom/DOMStringMap.idl
520     dom/DataTransfer.idl
521     dom/DataTransferItem.idl
522     dom/DataTransferItemList.idl
523     dom/DeviceMotionEvent.idl
524     dom/DeviceOrientationEvent.idl
525     dom/Document.idl
526     dom/DocumentAndElementEventHandlers.idl
527     dom/DocumentFragment.idl
528     dom/DocumentOrShadowRoot.idl
529     dom/DocumentTouch.idl
530     dom/DocumentType.idl
531     dom/Element.idl
532     dom/ErrorEvent.idl
533     dom/Event.idl
534     dom/EventInit.idl
535     dom/EventModifierInit.idl
536     dom/EventTarget.idl
537     dom/FocusEvent.idl
538     dom/GlobalEventHandlers.idl
539     dom/HashChangeEvent.idl
540     dom/InputEvent.idl
541     dom/KeyboardEvent.idl
542     dom/MessageChannel.idl
543     dom/MessageEvent.idl
544     dom/MessagePort.idl
545     dom/MouseEvent.idl
546     dom/MouseEventInit.idl
547     dom/MutationCallback.idl
548     dom/MutationEvent.idl
549     dom/MutationObserver.idl
550     dom/MutationRecord.idl
551     dom/NamedNodeMap.idl
552     dom/Node.idl
553     dom/NodeFilter.idl
554     dom/NodeIterator.idl
555     dom/NodeList.idl
556     dom/NonDocumentTypeChildNode.idl
557     dom/NonElementParentNode.idl
558     dom/OverflowEvent.idl
559     dom/PageTransitionEvent.idl
560     dom/ParentNode.idl
561     dom/PopStateEvent.idl
562     dom/ProcessingInstruction.idl
563     dom/ProgressEvent.idl
564     dom/PromiseRejectionEvent.idl
565     dom/Range.idl
566     dom/RequestAnimationFrameCallback.idl
567     dom/SecurityPolicyViolationEvent.idl
568     dom/ShadowRoot.idl
569     dom/ShadowRootMode.idl
570     dom/Slotable.idl
571     dom/StaticRange.idl
572     dom/StringCallback.idl
573     dom/Text.idl
574     dom/TextDecoder.idl
575     dom/TextEncoder.idl
576     dom/TextEvent.idl
577     dom/Touch.idl
578     dom/TouchEvent.idl
579     dom/TouchList.idl
580     dom/TransitionEvent.idl
581     dom/TreeWalker.idl
582     dom/UIEvent.idl
583     dom/UIEventInit.idl
584     dom/VisibilityState.idl
585     dom/WebKitAnimationEvent.idl
586     dom/WebKitTransitionEvent.idl
587     dom/WheelEvent.idl
588     dom/XMLDocument.idl
589
590     fileapi/Blob.idl
591     fileapi/BlobCallback.idl
592     fileapi/BlobLineEndings.idl
593     fileapi/BlobPropertyBag.idl
594     fileapi/File.idl
595     fileapi/FileError.idl
596     fileapi/FileList.idl
597     fileapi/FileReader.idl
598     fileapi/FileReaderSync.idl
599
600     html/DOMFormData.idl
601     html/DOMTokenList.idl
602     html/DOMURL.idl
603     html/HTMLAllCollection.idl
604     html/HTMLAnchorElement.idl
605     html/HTMLAppletElement.idl
606     html/HTMLAreaElement.idl
607     html/HTMLAttachmentElement.idl
608     html/HTMLAudioElement.idl
609     html/HTMLBRElement.idl
610     html/HTMLBaseElement.idl
611     html/HTMLBodyElement.idl
612     html/HTMLButtonElement.idl
613     html/HTMLCanvasElement.idl
614     html/HTMLCollection.idl
615     html/HTMLDListElement.idl
616     html/HTMLDataElement.idl
617     html/HTMLDataListElement.idl
618     html/HTMLDetailsElement.idl
619     html/HTMLDirectoryElement.idl
620     html/HTMLDivElement.idl
621     html/HTMLDocument.idl
622     html/HTMLElement.idl
623     html/HTMLEmbedElement.idl
624     html/HTMLFieldSetElement.idl
625     html/HTMLFontElement.idl
626     html/HTMLFormControlsCollection.idl
627     html/HTMLFormElement.idl
628     html/HTMLFrameElement.idl
629     html/HTMLFrameSetElement.idl
630     html/HTMLHRElement.idl
631     html/HTMLHeadElement.idl
632     html/HTMLHeadingElement.idl
633     html/HTMLHtmlElement.idl
634     html/HTMLHyperlinkElementUtils.idl
635     html/HTMLIFrameElement.idl
636     html/HTMLImageElement.idl
637     html/HTMLInputElement.idl
638     html/HTMLKeygenElement.idl
639     html/HTMLLIElement.idl
640     html/HTMLLabelElement.idl
641     html/HTMLLegendElement.idl
642     html/HTMLLinkElement.idl
643     html/HTMLMapElement.idl
644     html/HTMLMarqueeElement.idl
645     html/HTMLMediaElement.idl
646     html/HTMLMenuElement.idl
647     html/HTMLMetaElement.idl
648     html/HTMLMeterElement.idl
649     html/HTMLModElement.idl
650     html/HTMLOListElement.idl
651     html/HTMLObjectElement.idl
652     html/HTMLOptGroupElement.idl
653     html/HTMLOptionElement.idl
654     html/HTMLOptionsCollection.idl
655     html/HTMLOutputElement.idl
656     html/HTMLParagraphElement.idl
657     html/HTMLParamElement.idl
658     html/HTMLPictureElement.idl
659     html/HTMLPreElement.idl
660     html/HTMLProgressElement.idl
661     html/HTMLQuoteElement.idl
662     html/HTMLScriptElement.idl
663     html/HTMLSelectElement.idl
664     html/HTMLSlotElement.idl
665     html/HTMLSourceElement.idl
666     html/HTMLSpanElement.idl
667     html/HTMLStyleElement.idl
668     html/HTMLTableCaptionElement.idl
669     html/HTMLTableCellElement.idl
670     html/HTMLTableColElement.idl
671     html/HTMLTableElement.idl
672     html/HTMLTableRowElement.idl
673     html/HTMLTableSectionElement.idl
674     html/HTMLTemplateElement.idl
675     html/HTMLTextAreaElement.idl
676     html/HTMLTimeElement.idl
677     html/HTMLTitleElement.idl
678     html/HTMLTrackElement.idl
679     html/HTMLUListElement.idl
680     html/HTMLUnknownElement.idl
681     html/HTMLVideoElement.idl
682     html/ImageBitmap.idl
683     html/ImageBitmapOptions.idl
684     html/ImageData.idl
685     html/MediaController.idl
686     html/MediaError.idl
687     html/RadioNodeList.idl
688     html/TextMetrics.idl
689     html/TimeRanges.idl
690     html/URLSearchParams.idl
691     html/ValidityState.idl
692     html/VoidCallback.idl
693
694     html/canvas/CanvasCompositing.idl
695     html/canvas/CanvasDirection.idl
696     html/canvas/CanvasDrawImage.idl
697     html/canvas/CanvasDrawPath.idl
698     html/canvas/CanvasFillRule.idl
699     html/canvas/CanvasFillStrokeStyles.idl
700     html/canvas/CanvasFilters.idl
701     html/canvas/CanvasGradient.idl
702     html/canvas/CanvasImageData.idl
703     html/canvas/CanvasImageSmoothing.idl
704     html/canvas/CanvasLineCap.idl
705     html/canvas/CanvasLineJoin.idl
706     html/canvas/CanvasPath.idl
707     html/canvas/CanvasPathDrawingStyles.idl
708     html/canvas/CanvasPattern.idl
709     html/canvas/CanvasRect.idl
710     html/canvas/CanvasRenderingContext2D.idl
711     html/canvas/CanvasShadowStyles.idl
712     html/canvas/CanvasState.idl
713     html/canvas/CanvasText.idl
714     html/canvas/CanvasTextAlign.idl
715     html/canvas/CanvasTextBaseline.idl
716     html/canvas/CanvasTextDrawingStyles.idl
717     html/canvas/CanvasTransform.idl
718     html/canvas/CanvasUserInterface.idl
719     html/canvas/ImageBitmapRenderingContext.idl
720     html/canvas/ImageSmoothingQuality.idl
721     html/canvas/Path2D.idl
722     html/canvas/WebGPUBuffer.idl
723     html/canvas/WebGPUCommandBuffer.idl
724     html/canvas/WebGPUCommandQueue.idl
725     html/canvas/WebGPUComputeCommandEncoder.idl
726     html/canvas/WebGPUComputePipelineState.idl
727     html/canvas/WebGPUDepthStencilDescriptor.idl
728     html/canvas/WebGPUDepthStencilState.idl
729     html/canvas/WebGPUDrawable.idl
730     html/canvas/WebGPUFunction.idl
731     html/canvas/WebGPULibrary.idl
732     html/canvas/WebGPURenderCommandEncoder.idl
733     html/canvas/WebGPURenderPassAttachmentDescriptor.idl
734     html/canvas/WebGPURenderPassColorAttachmentDescriptor.idl
735     html/canvas/WebGPURenderPassDepthAttachmentDescriptor.idl
736     html/canvas/WebGPURenderPassDescriptor.idl
737     html/canvas/WebGPURenderPipelineColorAttachmentDescriptor.idl
738     html/canvas/WebGPURenderPipelineDescriptor.idl
739     html/canvas/WebGPURenderPipelineState.idl
740     html/canvas/WebGPURenderingContext.idl
741     html/canvas/WebGPUSize.idl
742     html/canvas/WebGPUTexture.idl
743     html/canvas/WebGPUTextureDescriptor.idl
744
745     inspector/CommandLineAPIHost.idl
746     inspector/InspectorFrontendHost.idl
747
748     loader/appcache/DOMApplicationCache.idl
749
750     page/BarProp.idl
751     page/Crypto.idl
752     page/DOMSelection.idl
753     page/DOMWindow.idl
754     page/EventSource.idl
755     page/GlobalCrypto.idl
756     page/GlobalPerformance.idl
757     page/History.idl
758     page/IntersectionObserver.idl
759     page/IntersectionObserverCallback.idl
760     page/IntersectionObserverEntry.idl
761     page/Location.idl
762     page/Navigator.idl
763     page/NavigatorID.idl
764     page/NavigatorLanguage.idl
765     page/NavigatorOnLine.idl
766     page/NavigatorServiceWorker.idl
767     page/Performance.idl
768     page/PerformanceEntry.idl
769     page/PerformanceMark.idl
770     page/PerformanceMeasure.idl
771     page/PerformanceObserver.idl
772     page/PerformanceObserverCallback.idl
773     page/PerformanceObserverEntryList.idl
774     page/PerformanceNavigation.idl
775     page/PerformanceResourceTiming.idl
776     page/PerformanceTiming.idl
777     page/Screen.idl
778     page/ScrollToOptions.idl
779     page/WebKitPoint.idl
780     page/WindowEventHandlers.idl
781     page/WindowOrWorkerGlobalScope.idl
782     page/WorkerNavigator.idl
783
784     plugins/DOMMimeType.idl
785     plugins/DOMMimeTypeArray.idl
786     plugins/DOMPlugin.idl
787     plugins/DOMPluginArray.idl
788
789     storage/Storage.idl
790     storage/StorageEvent.idl
791
792     workers/AbstractWorker.idl
793     workers/DedicatedWorkerGlobalScope.idl
794     workers/Worker.idl
795     workers/WorkerGlobalScope.idl
796     workers/WorkerLocation.idl
797     workers/WorkerType.idl
798
799     workers/service/ExtendableEvent.idl
800     workers/service/ExtendableEventInit.idl
801     workers/service/FetchEvent.idl
802     workers/service/ServiceWorker.idl
803     workers/service/ServiceWorkerClient.idl
804     workers/service/ServiceWorkerClients.idl
805     workers/service/ServiceWorkerContainer.idl
806     workers/service/ServiceWorkerGlobalScope.idl
807     workers/service/ServiceWorkerRegistration.idl
808     workers/service/ServiceWorkerUpdateViaCache.idl
809     workers/service/ServiceWorkerWindowClient.idl
810
811     xml/DOMParser.idl
812     xml/XMLHttpRequest.idl
813     xml/XMLHttpRequestEventTarget.idl
814     xml/XMLHttpRequestProgressEvent.idl
815     xml/XMLHttpRequestUpload.idl
816     xml/XMLSerializer.idl
817     xml/XPathEvaluator.idl
818     xml/XPathExpression.idl
819     xml/XPathNSResolver.idl
820     xml/XPathResult.idl
821     xml/XSLTProcessor.idl
822 )
823
824 set(WebCore_SVG_IDL_FILES
825     svg/SVGAElement.idl
826     svg/SVGAltGlyphDefElement.idl
827     svg/SVGAltGlyphElement.idl
828     svg/SVGAltGlyphItemElement.idl
829     svg/SVGAngle.idl
830     svg/SVGAnimateColorElement.idl
831     svg/SVGAnimateElement.idl
832     svg/SVGAnimateMotionElement.idl
833     svg/SVGAnimateTransformElement.idl
834     svg/SVGAnimatedAngle.idl
835     svg/SVGAnimatedBoolean.idl
836     svg/SVGAnimatedEnumeration.idl
837     svg/SVGAnimatedInteger.idl
838     svg/SVGAnimatedLength.idl
839     svg/SVGAnimatedLengthList.idl
840     svg/SVGAnimatedNumber.idl
841     svg/SVGAnimatedNumberList.idl
842     svg/SVGAnimatedPreserveAspectRatio.idl
843     svg/SVGAnimatedRect.idl
844     svg/SVGAnimatedString.idl
845     svg/SVGAnimatedTransformList.idl
846     svg/SVGAnimationElement.idl
847     svg/SVGCircleElement.idl
848     svg/SVGClipPathElement.idl
849     svg/SVGComponentTransferFunctionElement.idl
850     svg/SVGCursorElement.idl
851     svg/SVGDefsElement.idl
852     svg/SVGDescElement.idl
853     svg/SVGDocument.idl
854     svg/SVGElement.idl
855     svg/SVGEllipseElement.idl
856     svg/SVGExternalResourcesRequired.idl
857     svg/SVGFEBlendElement.idl
858     svg/SVGFEColorMatrixElement.idl
859     svg/SVGFEComponentTransferElement.idl
860     svg/SVGFECompositeElement.idl
861     svg/SVGFEConvolveMatrixElement.idl
862     svg/SVGFEDiffuseLightingElement.idl
863     svg/SVGFEDisplacementMapElement.idl
864     svg/SVGFEDistantLightElement.idl
865     svg/SVGFEDropShadowElement.idl
866     svg/SVGFEFloodElement.idl
867     svg/SVGFEFuncAElement.idl
868     svg/SVGFEFuncBElement.idl
869     svg/SVGFEFuncGElement.idl
870     svg/SVGFEFuncRElement.idl
871     svg/SVGFEGaussianBlurElement.idl
872     svg/SVGFEImageElement.idl
873     svg/SVGFEMergeElement.idl
874     svg/SVGFEMergeNodeElement.idl
875     svg/SVGFEMorphologyElement.idl
876     svg/SVGFEOffsetElement.idl
877     svg/SVGFEPointLightElement.idl
878     svg/SVGFESpecularLightingElement.idl
879     svg/SVGFESpotLightElement.idl
880     svg/SVGFETileElement.idl
881     svg/SVGFETurbulenceElement.idl
882     svg/SVGFilterElement.idl
883     svg/SVGFilterPrimitiveStandardAttributes.idl
884     svg/SVGFitToViewBox.idl
885     svg/SVGFontElement.idl
886     svg/SVGFontFaceElement.idl
887     svg/SVGFontFaceFormatElement.idl
888     svg/SVGFontFaceNameElement.idl
889     svg/SVGFontFaceSrcElement.idl
890     svg/SVGFontFaceUriElement.idl
891     svg/SVGForeignObjectElement.idl
892     svg/SVGGElement.idl
893     svg/SVGGlyphElement.idl
894     svg/SVGGlyphRefElement.idl
895     svg/SVGGradientElement.idl
896     svg/SVGGraphicsElement.idl
897     svg/SVGHKernElement.idl
898     svg/SVGImageElement.idl
899     svg/SVGLength.idl
900     svg/SVGLengthList.idl
901     svg/SVGLineElement.idl
902     svg/SVGLinearGradientElement.idl
903     svg/SVGMPathElement.idl
904     svg/SVGMarkerElement.idl
905     svg/SVGMaskElement.idl
906     svg/SVGMatrix.idl
907     svg/SVGMetadataElement.idl
908     svg/SVGMissingGlyphElement.idl
909     svg/SVGNumber.idl
910     svg/SVGNumberList.idl
911     svg/SVGPathElement.idl
912     svg/SVGPathSeg.idl
913     svg/SVGPathSegArcAbs.idl
914     svg/SVGPathSegArcRel.idl
915     svg/SVGPathSegClosePath.idl
916     svg/SVGPathSegCurvetoCubicAbs.idl
917     svg/SVGPathSegCurvetoCubicRel.idl
918     svg/SVGPathSegCurvetoCubicSmoothAbs.idl
919     svg/SVGPathSegCurvetoCubicSmoothRel.idl
920     svg/SVGPathSegCurvetoQuadraticAbs.idl
921     svg/SVGPathSegCurvetoQuadraticRel.idl
922     svg/SVGPathSegCurvetoQuadraticSmoothAbs.idl
923     svg/SVGPathSegCurvetoQuadraticSmoothRel.idl
924     svg/SVGPathSegLinetoAbs.idl
925     svg/SVGPathSegLinetoHorizontalAbs.idl
926     svg/SVGPathSegLinetoHorizontalRel.idl
927     svg/SVGPathSegLinetoRel.idl
928     svg/SVGPathSegLinetoVerticalAbs.idl
929     svg/SVGPathSegLinetoVerticalRel.idl
930     svg/SVGPathSegList.idl
931     svg/SVGPathSegMovetoAbs.idl
932     svg/SVGPathSegMovetoRel.idl
933     svg/SVGPatternElement.idl
934     svg/SVGPoint.idl
935     svg/SVGPointList.idl
936     svg/SVGPolygonElement.idl
937     svg/SVGPolylineElement.idl
938     svg/SVGPreserveAspectRatio.idl
939     svg/SVGRadialGradientElement.idl
940     svg/SVGRect.idl
941     svg/SVGRectElement.idl
942     svg/SVGRenderingIntent.idl
943     svg/SVGSVGElement.idl
944     svg/SVGScriptElement.idl
945     svg/SVGSetElement.idl
946     svg/SVGStopElement.idl
947     svg/SVGStringList.idl
948     svg/SVGStyleElement.idl
949     svg/SVGSwitchElement.idl
950     svg/SVGSymbolElement.idl
951     svg/SVGTRefElement.idl
952     svg/SVGTSpanElement.idl
953     svg/SVGTests.idl
954     svg/SVGTextContentElement.idl
955     svg/SVGTextElement.idl
956     svg/SVGTextPathElement.idl
957     svg/SVGTextPositioningElement.idl
958     svg/SVGTitleElement.idl
959     svg/SVGTransform.idl
960     svg/SVGTransformList.idl
961     svg/SVGURIReference.idl
962     svg/SVGUnitTypes.idl
963     svg/SVGUseElement.idl
964     svg/SVGVKernElement.idl
965     svg/SVGViewElement.idl
966     svg/SVGViewSpec.idl
967     svg/SVGZoomAndPan.idl
968     svg/SVGZoomEvent.idl
969 )
970
971 if (WIN32 AND INTERNAL_BUILD)
972     set(JavaScriptCore_SCRIPTS_DIR "${CMAKE_BINARY_DIR}/../include/private/JavaScriptCore/Scripts")
973     set(ANGLE_FORWARDING_HEADERS_DIR "${CMAKE_BINARY_DIR}/../include/private/ANGLE")
974 else ()
975     set(JavaScriptCore_SCRIPTS_DIR "${FORWARDING_HEADERS_DIR}/JavaScriptCore/Scripts")
976     set(ANGLE_FORWARDING_HEADERS_DIR "${FORWARDING_HEADERS_DIR}/ANGLE")
977 endif ()
978
979 set(WebCore_SOURCES
980     mathml/MathMLAnnotationElement.cpp
981     mathml/MathMLElement.cpp
982     mathml/MathMLFractionElement.cpp
983     mathml/MathMLMathElement.cpp
984     mathml/MathMLMencloseElement.cpp
985     mathml/MathMLOperatorDictionary.cpp
986     mathml/MathMLOperatorElement.cpp
987     mathml/MathMLPaddedElement.cpp
988     mathml/MathMLPresentationElement.cpp
989     mathml/MathMLRowElement.cpp
990     mathml/MathMLScriptsElement.cpp
991     mathml/MathMLSelectElement.cpp
992     mathml/MathMLSpaceElement.cpp
993     mathml/MathMLTokenElement.cpp
994     mathml/MathMLUnderOverElement.cpp
995
996     page/AutoscrollController.cpp
997     page/BarProp.cpp
998     page/Base64Utilities.cpp
999     page/CaptionUserPreferences.cpp
1000     page/Chrome.cpp
1001     page/ContextMenuContext.cpp
1002     page/ContextMenuController.cpp
1003     page/Crypto.cpp
1004     page/DOMSelection.cpp
1005     page/DOMTimer.cpp
1006     page/DOMWindow.cpp
1007     page/DOMWindowExtension.cpp
1008     page/DOMWindowProperty.cpp
1009     page/DatabaseProvider.cpp
1010     page/DebugPageOverlays.cpp
1011     page/DeprecatedGlobalSettings.cpp
1012     page/DeviceController.cpp
1013     page/DiagnosticLoggingKeys.cpp
1014     page/DragController.cpp
1015     page/EventHandler.cpp
1016     page/EventSource.cpp
1017     page/FocusController.cpp
1018     page/Frame.cpp
1019     page/FrameDestructionObserver.cpp
1020     page/FrameSnapshotting.cpp
1021     page/FrameTree.cpp
1022     page/FrameView.cpp
1023     page/History.cpp
1024     page/IntersectionObserver.cpp
1025     page/IntersectionObserverEntry.cpp
1026     page/Location.cpp
1027     page/MainFrame.cpp
1028     page/MemoryRelease.cpp
1029     page/MouseEventWithHitTestResults.cpp
1030     page/Navigator.cpp
1031     page/NavigatorBase.cpp
1032     page/OriginAccessEntry.cpp
1033     page/Page.cpp
1034     page/PageConfiguration.cpp
1035     page/PageConsoleClient.cpp
1036     page/PageDebuggable.cpp
1037     page/PageGroup.cpp
1038     page/PageGroupLoadDeferrer.cpp
1039     page/PageOverlay.cpp
1040     page/PageOverlayController.cpp
1041     page/PageSerializer.cpp
1042     page/Performance.cpp
1043     page/PerformanceEntry.cpp
1044     page/PerformanceLogging.cpp
1045     page/PerformanceLoggingClient.cpp
1046     page/PerformanceMonitor.cpp
1047     page/PerformanceNavigation.cpp
1048     page/PerformanceObserver.cpp
1049     page/PerformanceObserverEntryList.cpp
1050     page/PerformanceResourceTiming.cpp
1051     page/PerformanceTiming.cpp
1052     page/PerformanceUserTiming.cpp
1053     page/PointerLockController.cpp
1054     page/PrintContext.cpp
1055     page/ResourceUsageData.cpp
1056     page/ResourceUsageOverlay.cpp
1057     page/ResourceUsageThread.cpp
1058     page/RuntimeEnabledFeatures.cpp
1059     page/Screen.cpp
1060     page/SecurityOrigin.cpp
1061     page/SecurityOriginData.cpp
1062     page/SecurityPolicy.cpp
1063     page/SettingsBase.cpp
1064     page/SocketProvider.cpp
1065     page/SpatialNavigation.cpp
1066     page/SuspendableTimer.cpp
1067     page/TextIndicator.cpp
1068     page/UserContentProvider.cpp
1069     page/UserContentController.cpp
1070     page/UserContentURLPattern.cpp
1071     page/VisitedLinkStore.cpp
1072     page/WheelEventDeltaFilter.cpp
1073     page/WheelEventTestTrigger.cpp
1074     page/WindowFeatures.cpp
1075     page/WindowFocusAllowedIndicator.cpp
1076     page/WorkerNavigator.cpp
1077
1078     page/animation/AnimationBase.cpp
1079     page/animation/CSSAnimationController.cpp
1080     page/animation/CSSPropertyAnimation.cpp
1081     page/animation/CompositeAnimation.cpp
1082     page/animation/ImplicitAnimation.cpp
1083     page/animation/KeyframeAnimation.cpp
1084
1085     page/csp/ContentSecurityPolicy.cpp
1086     page/csp/ContentSecurityPolicyDirective.cpp
1087     page/csp/ContentSecurityPolicyDirectiveList.cpp
1088     page/csp/ContentSecurityPolicyDirectiveNames.cpp
1089     page/csp/ContentSecurityPolicyMediaListDirective.cpp
1090     page/csp/ContentSecurityPolicyResponseHeaders.cpp
1091     page/csp/ContentSecurityPolicySource.cpp
1092     page/csp/ContentSecurityPolicySourceList.cpp
1093     page/csp/ContentSecurityPolicySourceListDirective.cpp
1094
1095     page/scrolling/AxisScrollSnapOffsets.cpp
1096     page/scrolling/ScrollLatchingState.cpp
1097     page/scrolling/ScrollingConstraints.cpp
1098     page/scrolling/ScrollingCoordinator.cpp
1099     page/scrolling/ScrollingStateFixedNode.cpp
1100     page/scrolling/ScrollingStateFrameScrollingNode.cpp
1101     page/scrolling/ScrollingStateNode.cpp
1102     page/scrolling/ScrollingStateOverflowScrollingNode.cpp
1103     page/scrolling/ScrollingStateScrollingNode.cpp
1104     page/scrolling/ScrollingStateStickyNode.cpp
1105     page/scrolling/ScrollingStateTree.cpp
1106     page/scrolling/ScrollingThread.cpp
1107     page/scrolling/ScrollingTree.cpp
1108     page/scrolling/ScrollingTreeFrameScrollingNode.cpp
1109     page/scrolling/ScrollingTreeNode.cpp
1110     page/scrolling/ScrollingTreeOverflowScrollingNode.cpp
1111     page/scrolling/ScrollingTreeScrollingNode.cpp
1112     page/scrolling/ThreadedScrollingTree.cpp
1113
1114     platform/CalculationValue.cpp
1115     platform/ContentType.cpp
1116     platform/ContextMenu.cpp
1117     platform/ContextMenuItem.cpp
1118     platform/Cursor.cpp
1119     platform/DateComponents.cpp
1120     platform/Decimal.cpp
1121     platform/DragData.cpp
1122     platform/DragImage.cpp
1123     platform/EventTrackingRegions.cpp
1124     platform/FileChooser.cpp
1125     platform/FileHandle.cpp
1126     platform/FileMonitor.cpp
1127     platform/FileStream.cpp
1128     platform/FileSystem.cpp
1129     platform/GenericTaskQueue.cpp
1130     platform/LayoutUnit.cpp
1131     platform/Length.cpp
1132     platform/LengthBox.cpp
1133     platform/LengthPoint.cpp
1134     platform/LengthSize.cpp
1135     platform/LocalizedStrings.cpp
1136     platform/Logging.cpp
1137     platform/LowPowerModeNotifier.cpp
1138     platform/MIMETypeRegistry.cpp
1139     platform/MainThreadSharedTimer.cpp
1140     platform/NotImplemented.cpp
1141     platform/Pasteboard.cpp
1142     platform/PasteboardWriterData.cpp
1143     platform/PlatformSpeechSynthesisUtterance.cpp
1144     platform/PlatformSpeechSynthesisVoice.cpp
1145     platform/PlatformSpeechSynthesizer.cpp
1146     platform/PlatformStrategies.cpp
1147     platform/RemoteCommandListener.cpp
1148     platform/RuntimeApplicationChecks.cpp
1149     platform/SchemeRegistry.cpp
1150     platform/ScrollAnimator.cpp
1151     platform/ScrollView.cpp
1152     platform/ScrollableArea.cpp
1153     platform/Scrollbar.cpp
1154     platform/ScrollbarTheme.cpp
1155     platform/ScrollbarThemeComposite.cpp
1156     platform/SharedBuffer.cpp
1157     platform/SharedBufferChunkReader.cpp
1158     platform/SharedStringHash.cpp
1159     platform/StaticPasteboard.cpp
1160     platform/Theme.cpp
1161     platform/ThreadGlobalData.cpp
1162     platform/ThreadTimers.cpp
1163     platform/Timer.cpp
1164     platform/URL.cpp
1165     platform/URLParser.cpp
1166     platform/UserActivity.cpp
1167     platform/WebCoreCrossThreadCopier.cpp
1168     platform/WebGLStateTracker.cpp
1169     platform/Widget.cpp
1170
1171     platform/animation/Animation.cpp
1172     platform/animation/AnimationList.cpp
1173     platform/animation/TimingFunction.cpp
1174
1175     platform/audio/AudioBus.cpp
1176     platform/audio/AudioChannel.cpp
1177     platform/audio/AudioDSPKernelProcessor.cpp
1178     platform/audio/AudioFIFO.cpp
1179     platform/audio/AudioHardwareListener.cpp
1180     platform/audio/AudioPullFIFO.cpp
1181     platform/audio/AudioResampler.cpp
1182     platform/audio/AudioResamplerKernel.cpp
1183     platform/audio/AudioUtilities.cpp
1184     platform/audio/Biquad.cpp
1185     platform/audio/Cone.cpp
1186     platform/audio/DirectConvolver.cpp
1187     platform/audio/Distance.cpp
1188     platform/audio/DownSampler.cpp
1189     platform/audio/DynamicsCompressor.cpp
1190     platform/audio/DynamicsCompressorKernel.cpp
1191     platform/audio/EqualPowerPanner.cpp
1192     platform/audio/FFTConvolver.cpp
1193     platform/audio/FFTFrame.cpp
1194     platform/audio/HRTFDatabase.cpp
1195     platform/audio/HRTFDatabaseLoader.cpp
1196     platform/audio/HRTFElevation.cpp
1197     platform/audio/HRTFKernel.cpp
1198     platform/audio/HRTFPanner.cpp
1199     platform/audio/MultiChannelResampler.cpp
1200     platform/audio/Panner.cpp
1201     platform/audio/PlatformMediaSession.cpp
1202     platform/audio/PlatformMediaSessionManager.cpp
1203     platform/audio/Reverb.cpp
1204     platform/audio/ReverbAccumulationBuffer.cpp
1205     platform/audio/ReverbConvolver.cpp
1206     platform/audio/ReverbConvolverStage.cpp
1207     platform/audio/ReverbInputBuffer.cpp
1208     platform/audio/SincResampler.cpp
1209     platform/audio/UpSampler.cpp
1210     platform/audio/VectorMath.cpp
1211     platform/audio/ZeroPole.cpp
1212
1213     platform/encryptedmedia/CDMFactory.cpp
1214
1215     platform/graphics/BitmapImage.cpp
1216     platform/graphics/Color.cpp
1217     platform/graphics/ComplexTextController.cpp
1218     platform/graphics/CrossfadeGeneratedImage.cpp
1219     platform/graphics/DisplayRefreshMonitor.cpp
1220     platform/graphics/DisplayRefreshMonitorClient.cpp
1221     platform/graphics/DisplayRefreshMonitorManager.cpp
1222     platform/graphics/ExtendedColor.cpp
1223     platform/graphics/FloatPoint.cpp
1224     platform/graphics/FloatPoint3D.cpp
1225     platform/graphics/FloatPolygon.cpp
1226     platform/graphics/FloatQuad.cpp
1227     platform/graphics/FloatRect.cpp
1228     platform/graphics/FloatRoundedRect.cpp
1229     platform/graphics/FloatSize.cpp
1230     platform/graphics/Font.cpp
1231     platform/graphics/FontCache.cpp
1232     platform/graphics/FontCascade.cpp
1233     platform/graphics/FontCascadeFonts.cpp
1234     platform/graphics/FontDescription.cpp
1235     platform/graphics/FontFamilySpecificationNull.cpp
1236     platform/graphics/FontSelectionAlgorithm.cpp
1237     platform/graphics/FontTaggedSettings.cpp
1238     platform/graphics/FontGenericFamilies.cpp
1239     platform/graphics/FontPlatformData.cpp
1240     platform/graphics/FontRanges.cpp
1241     platform/graphics/GeneratedImage.cpp
1242     platform/graphics/GeometryUtilities.cpp
1243     platform/graphics/Gradient.cpp
1244     platform/graphics/GradientImage.cpp
1245     platform/graphics/GraphicsContext.cpp
1246     platform/graphics/GraphicsLayer.cpp
1247     platform/graphics/GraphicsLayerTransform.cpp
1248     platform/graphics/GraphicsLayerUpdater.cpp
1249     platform/graphics/GraphicsTypes.cpp
1250     platform/graphics/ISOVTTCue.cpp
1251     platform/graphics/Image.cpp
1252     platform/graphics/ImageBuffer.cpp
1253     platform/graphics/ImageDecoder.cpp
1254     platform/graphics/ImageFrame.cpp
1255     platform/graphics/ImageFrameCache.cpp
1256     platform/graphics/ImageOrientation.cpp
1257     platform/graphics/ImageSource.cpp
1258     platform/graphics/IntPoint.cpp
1259     platform/graphics/IntRect.cpp
1260     platform/graphics/IntSize.cpp
1261     platform/graphics/LayoutPoint.cpp
1262     platform/graphics/LayoutRect.cpp
1263     platform/graphics/LayoutSize.cpp
1264     platform/graphics/MediaPlayer.cpp
1265     platform/graphics/NamedImageGeneratedImage.cpp
1266     platform/graphics/Path.cpp
1267     platform/graphics/PathTraversalState.cpp
1268     platform/graphics/PathUtilities.cpp
1269     platform/graphics/Pattern.cpp
1270     platform/graphics/PlatformTimeRanges.cpp
1271     platform/graphics/Region.cpp
1272     platform/graphics/RoundedRect.cpp
1273     platform/graphics/ShadowBlur.cpp
1274     platform/graphics/StringTruncator.cpp
1275     platform/graphics/SurrogatePairAwareTextIterator.cpp
1276     platform/graphics/TextRun.cpp
1277     platform/graphics/WOFFFileFormat.cpp
1278     platform/graphics/WidthIterator.cpp
1279
1280     platform/graphics/cpu/arm/filters/FELightingNEON.cpp
1281
1282     platform/graphics/displaylists/DisplayList.cpp
1283     platform/graphics/displaylists/DisplayListItems.cpp
1284     platform/graphics/displaylists/DisplayListRecorder.cpp
1285     platform/graphics/displaylists/DisplayListReplayer.cpp
1286
1287     platform/graphics/filters/DistantLightSource.cpp
1288     platform/graphics/filters/FEBlend.cpp
1289     platform/graphics/filters/FEColorMatrix.cpp
1290     platform/graphics/filters/FEComponentTransfer.cpp
1291     platform/graphics/filters/FEComposite.cpp
1292     platform/graphics/filters/FEConvolveMatrix.cpp
1293     platform/graphics/filters/FEDiffuseLighting.cpp
1294     platform/graphics/filters/FEDisplacementMap.cpp
1295     platform/graphics/filters/FEDropShadow.cpp
1296     platform/graphics/filters/FEFlood.cpp
1297     platform/graphics/filters/FEGaussianBlur.cpp
1298     platform/graphics/filters/FELighting.cpp
1299     platform/graphics/filters/FEMerge.cpp
1300     platform/graphics/filters/FEMorphology.cpp
1301     platform/graphics/filters/FEOffset.cpp
1302     platform/graphics/filters/FESpecularLighting.cpp
1303     platform/graphics/filters/FETile.cpp
1304     platform/graphics/filters/FETurbulence.cpp
1305     platform/graphics/filters/FilterEffect.cpp
1306     platform/graphics/filters/FilterOperation.cpp
1307     platform/graphics/filters/FilterOperations.cpp
1308     platform/graphics/filters/PointLightSource.cpp
1309     platform/graphics/filters/SourceAlpha.cpp
1310     platform/graphics/filters/SourceGraphic.cpp
1311     platform/graphics/filters/SpotLightSource.cpp
1312
1313     platform/graphics/gpu/GPUBuffer.cpp
1314     platform/graphics/gpu/GPUCommandBuffer.cpp
1315     platform/graphics/gpu/GPUCommandQueue.cpp
1316     platform/graphics/gpu/GPUComputeCommandEncoder.cpp
1317     platform/graphics/gpu/GPUComputePipelineState.cpp
1318     platform/graphics/gpu/GPUDepthStencilDescriptor.cpp
1319     platform/graphics/gpu/GPUDepthStencilState.cpp
1320     platform/graphics/gpu/GPUDevice.cpp
1321     platform/graphics/gpu/GPUDrawable.cpp
1322     platform/graphics/gpu/GPUFunction.cpp
1323     platform/graphics/gpu/GPULibrary.cpp
1324     platform/graphics/gpu/GPURenderCommandEncoder.cpp
1325     platform/graphics/gpu/GPURenderPassAttachmentDescriptor.cpp
1326     platform/graphics/gpu/GPURenderPassColorAttachmentDescriptor.cpp
1327     platform/graphics/gpu/GPURenderPassDepthAttachmentDescriptor.cpp
1328     platform/graphics/gpu/GPURenderPassDescriptor.cpp
1329     platform/graphics/gpu/GPURenderPipelineColorAttachmentDescriptor.cpp
1330     platform/graphics/gpu/GPURenderPipelineDescriptor.cpp
1331     platform/graphics/gpu/GPURenderPipelineState.cpp
1332     platform/graphics/gpu/GPUTexture.cpp
1333     platform/graphics/gpu/GPUTextureDescriptor.cpp
1334
1335     platform/graphics/opentype/OpenTypeMathData.cpp
1336
1337     platform/graphics/transforms/AffineTransform.cpp
1338     platform/graphics/transforms/Matrix3DTransformOperation.cpp
1339     platform/graphics/transforms/MatrixTransformOperation.cpp
1340     platform/graphics/transforms/PerspectiveTransformOperation.cpp
1341     platform/graphics/transforms/RotateTransformOperation.cpp
1342     platform/graphics/transforms/ScaleTransformOperation.cpp
1343     platform/graphics/transforms/SkewTransformOperation.cpp
1344     platform/graphics/transforms/TransformOperation.cpp
1345     platform/graphics/transforms/TransformOperations.cpp
1346     platform/graphics/transforms/TransformState.cpp
1347     platform/graphics/transforms/TransformationMatrix.cpp
1348     platform/graphics/transforms/TranslateTransformOperation.cpp
1349
1350     platform/mediastream/CaptureDeviceManager.cpp
1351     platform/mediastream/MediaConstraints.cpp
1352     platform/mediastream/MediaEndpointConfiguration.cpp
1353     platform/mediastream/MediaStreamPrivate.cpp
1354     platform/mediastream/MediaStreamTrackPrivate.cpp
1355     platform/mediastream/RealtimeMediaSourceSupportedConstraints.cpp
1356     platform/mediastream/RTCIceCandidateDescriptor.cpp
1357     platform/mediastream/RTCSessionDescriptionDescriptor.cpp
1358     platform/mediastream/RealtimeIncomingAudioSource.cpp
1359     platform/mediastream/RealtimeIncomingVideoSource.cpp
1360     platform/mediastream/RealtimeMediaSource.cpp
1361     platform/mediastream/RealtimeMediaSourceCenter.cpp
1362     platform/mediastream/RealtimeMediaSourceSettings.cpp
1363     platform/mediastream/RealtimeOutgoingAudioSource.cpp
1364     platform/mediastream/RealtimeOutgoingVideoSource.cpp
1365
1366     platform/mediastream/libwebrtc/LibWebRTCProvider.cpp
1367
1368     platform/mock/DeviceOrientationClientMock.cpp
1369     platform/mock/GeolocationClientMock.cpp
1370     platform/mock/MockRealtimeAudioSource.cpp
1371     platform/mock/MockRealtimeMediaSource.cpp
1372     platform/mock/MockRealtimeMediaSourceCenter.cpp
1373     platform/mock/MockRealtimeVideoSource.cpp
1374     platform/mock/RTCDataChannelHandlerMock.cpp
1375     platform/mock/RTCNotifiersMock.cpp
1376     platform/mock/ScrollAnimatorMock.cpp
1377     platform/mock/ScrollbarThemeMock.cpp
1378
1379     platform/network/AuthenticationChallengeBase.cpp
1380     platform/network/BlobData.cpp
1381     platform/network/BlobDataFileReference.cpp
1382     platform/network/BlobRegistry.cpp
1383     platform/network/BlobRegistryImpl.cpp
1384     platform/network/BlobResourceHandle.cpp
1385     platform/network/CacheValidation.cpp
1386     platform/network/Cookie.cpp
1387     platform/network/CredentialBase.cpp
1388     platform/network/CredentialStorage.cpp
1389     platform/network/DNSResolveQueue.cpp
1390     platform/network/DataURLDecoder.cpp
1391     platform/network/FormData.cpp
1392     platform/network/FormDataBuilder.cpp
1393     platform/network/HTTPHeaderMap.cpp
1394     platform/network/HTTPHeaderValues.cpp
1395     platform/network/HTTPParsers.cpp
1396     platform/network/MIMEHeader.cpp
1397     platform/network/NetworkStateNotifier.cpp
1398     platform/network/NetworkStorageSession.cpp
1399     platform/network/ParsedContentRange.cpp
1400     platform/network/ParsedContentType.cpp
1401     platform/network/ProtectionSpaceBase.cpp
1402     platform/network/ProxyServer.cpp
1403     platform/network/ResourceErrorBase.cpp
1404     platform/network/ResourceHandle.cpp
1405     platform/network/ResourceHandleClient.cpp
1406     platform/network/ResourceRequestBase.cpp
1407     platform/network/ResourceResponseBase.cpp
1408     platform/network/SocketStreamHandle.cpp
1409     platform/network/SocketStreamHandleImpl.cpp
1410     platform/network/SynchronousLoaderClient.cpp
1411
1412     platform/sql/SQLiteAuthorizer.cpp
1413     platform/sql/SQLiteDatabase.cpp
1414     platform/sql/SQLiteDatabaseTracker.cpp
1415     platform/sql/SQLiteFileSystem.cpp
1416     platform/sql/SQLiteStatement.cpp
1417     platform/sql/SQLiteTransaction.cpp
1418
1419     platform/text/BidiContext.cpp
1420     platform/text/DateTimeFormat.cpp
1421     platform/text/LocaleToScriptMappingDefault.cpp
1422     platform/text/PlatformLocale.cpp
1423     platform/text/QuotedPrintable.cpp
1424     platform/text/SegmentedString.cpp
1425     platform/text/TextBoundaries.cpp
1426     platform/text/TextCodec.cpp
1427     platform/text/TextCodecICU.cpp
1428     platform/text/TextCodecLatin1.cpp
1429     platform/text/TextCodecReplacement.cpp
1430     platform/text/TextCodecUTF16.cpp
1431     platform/text/TextCodecUTF8.cpp
1432     platform/text/TextCodecUserDefined.cpp
1433     platform/text/TextEncoding.cpp
1434     platform/text/TextEncodingDetectorICU.cpp
1435     platform/text/TextEncodingRegistry.cpp
1436
1437     plugins/DOMMimeType.cpp
1438     plugins/DOMMimeTypeArray.cpp
1439     plugins/DOMPlugin.cpp
1440     plugins/DOMPluginArray.cpp
1441     plugins/PluginData.cpp
1442     plugins/PluginInfoProvider.cpp
1443
1444     rendering/AutoTableLayout.cpp
1445     rendering/BidiRun.cpp
1446     rendering/BorderEdge.cpp
1447     rendering/BreakLines.cpp
1448     rendering/ClipRect.cpp
1449     rendering/CounterNode.cpp
1450     rendering/EllipsisBox.cpp
1451     rendering/FilterEffectRenderer.cpp
1452     rendering/FlexibleBoxAlgorithm.cpp
1453     rendering/FixedTableLayout.cpp
1454     rendering/FloatingObjects.cpp
1455     rendering/Grid.cpp
1456     rendering/GridTrackSizingAlgorithm.cpp
1457     rendering/HitTestLocation.cpp
1458     rendering/HitTestResult.cpp
1459     rendering/HitTestingTransformState.cpp
1460     rendering/ImageQualityController.cpp
1461     rendering/InlineBox.cpp
1462     rendering/InlineElementBox.cpp
1463     rendering/InlineFlowBox.cpp
1464     rendering/InlineIterator.cpp
1465     rendering/InlineTextBox.cpp
1466     rendering/LayoutDisallowedScope.cpp
1467     rendering/LayoutRepainter.cpp
1468     rendering/LayoutState.cpp
1469     rendering/MarkerSubrange.cpp
1470     rendering/OrderIterator.cpp
1471     rendering/PointerEventsHitRules.cpp
1472     rendering/RenderAttachment.cpp
1473     rendering/RenderBlock.cpp
1474     rendering/RenderBlockFlow.cpp
1475     rendering/RenderBlockLineLayout.cpp
1476     rendering/RenderBox.cpp
1477     rendering/RenderBoxModelObject.cpp
1478     rendering/RenderButton.cpp
1479     rendering/RenderCombineText.cpp
1480     rendering/RenderCounter.cpp
1481     rendering/RenderDeprecatedFlexibleBox.cpp
1482     rendering/RenderDetailsMarker.cpp
1483     rendering/RenderElement.cpp
1484     rendering/RenderEmbeddedObject.cpp
1485     rendering/RenderFileUploadControl.cpp
1486     rendering/RenderFlexibleBox.cpp
1487     rendering/RenderFragmentedFlow.cpp
1488     rendering/RenderFragmentContainer.cpp
1489     rendering/RenderFragmentContainerSet.cpp
1490     rendering/RenderFrame.cpp
1491     rendering/RenderFrameBase.cpp
1492     rendering/RenderFrameSet.cpp
1493     rendering/RenderFullScreen.cpp
1494     rendering/RenderGeometryMap.cpp
1495     rendering/RenderGrid.cpp
1496     rendering/RenderHTMLCanvas.cpp
1497     rendering/RenderIFrame.cpp
1498     rendering/RenderImage.cpp
1499     rendering/RenderImageResource.cpp
1500     rendering/RenderImageResourceStyleImage.cpp
1501     rendering/RenderInline.cpp
1502     rendering/RenderLayer.cpp
1503     rendering/RenderLayerBacking.cpp
1504     rendering/RenderLayerCompositor.cpp
1505     rendering/RenderLayerFilterInfo.cpp
1506     rendering/RenderLayerModelObject.cpp
1507     rendering/RenderLineBoxList.cpp
1508     rendering/RenderLineBreak.cpp
1509     rendering/RenderListBox.cpp
1510     rendering/RenderListItem.cpp
1511     rendering/RenderListMarker.cpp
1512     rendering/RenderMarquee.cpp
1513     rendering/RenderMedia.cpp
1514     rendering/RenderMediaControlElements.cpp
1515     rendering/RenderMediaControls.cpp
1516     rendering/RenderMenuList.cpp
1517     rendering/RenderMeter.cpp
1518     rendering/RenderMultiColumnFlow.cpp
1519     rendering/RenderMultiColumnSet.cpp
1520     rendering/RenderMultiColumnSpannerPlaceholder.cpp
1521     rendering/RenderObject.cpp
1522     rendering/RenderProgress.cpp
1523     rendering/RenderQuote.cpp
1524     rendering/RenderReplaced.cpp
1525     rendering/RenderReplica.cpp
1526     rendering/RenderRuby.cpp
1527     rendering/RenderRubyBase.cpp
1528     rendering/RenderRubyRun.cpp
1529     rendering/RenderRubyText.cpp
1530     rendering/RenderScrollbar.cpp
1531     rendering/RenderScrollbarPart.cpp
1532     rendering/RenderScrollbarTheme.cpp
1533     rendering/RenderSearchField.cpp
1534     rendering/RenderSelectionInfo.cpp
1535     rendering/RenderSlider.cpp
1536     rendering/RenderSnapshottedPlugIn.cpp
1537     rendering/RenderTable.cpp
1538     rendering/RenderTableCaption.cpp
1539     rendering/RenderTableCell.cpp
1540     rendering/RenderTableCol.cpp
1541     rendering/RenderTableRow.cpp
1542     rendering/RenderTableSection.cpp
1543     rendering/RenderText.cpp
1544     rendering/RenderTextControl.cpp
1545     rendering/RenderTextControlMultiLine.cpp
1546     rendering/RenderTextControlSingleLine.cpp
1547     rendering/RenderTextFragment.cpp
1548     rendering/RenderTextLineBoxes.cpp
1549     rendering/RenderTheme.cpp
1550     rendering/RenderTreeAsText.cpp
1551     rendering/RenderVTTCue.cpp
1552     rendering/RenderVideo.cpp
1553     rendering/RenderView.cpp
1554     rendering/RenderWidget.cpp
1555     rendering/RootInlineBox.cpp
1556     rendering/ScrollAlignment.cpp
1557     rendering/SelectionRangeData.cpp
1558     rendering/SimpleLineLayout.cpp
1559     rendering/SimpleLineLayoutCoverage.cpp
1560     rendering/SimpleLineLayoutFlowContents.cpp
1561     rendering/SimpleLineLayoutFunctions.cpp
1562     rendering/SimpleLineLayoutPagination.cpp
1563     rendering/SimpleLineLayoutResolver.cpp
1564     rendering/SimpleLineLayoutTextFragmentIterator.cpp
1565     rendering/TextDecorationPainter.cpp
1566     rendering/TextPaintStyle.cpp
1567     rendering/TextPainter.cpp
1568
1569     rendering/line/LineBreaker.cpp
1570     rendering/line/LineInfo.cpp
1571     rendering/line/LineWidth.cpp
1572     rendering/line/TrailingObjects.cpp
1573
1574     rendering/mathml/MathMLStyle.cpp
1575     rendering/mathml/MathOperator.cpp
1576     rendering/mathml/RenderMathMLBlock.cpp
1577     rendering/mathml/RenderMathMLFenced.cpp
1578     rendering/mathml/RenderMathMLFencedOperator.cpp
1579     rendering/mathml/RenderMathMLFraction.cpp
1580     rendering/mathml/RenderMathMLMath.cpp
1581     rendering/mathml/RenderMathMLMenclose.cpp
1582     rendering/mathml/RenderMathMLOperator.cpp
1583     rendering/mathml/RenderMathMLPadded.cpp
1584     rendering/mathml/RenderMathMLRoot.cpp
1585     rendering/mathml/RenderMathMLRow.cpp
1586     rendering/mathml/RenderMathMLScripts.cpp
1587     rendering/mathml/RenderMathMLSpace.cpp
1588     rendering/mathml/RenderMathMLToken.cpp
1589     rendering/mathml/RenderMathMLUnderOver.cpp
1590
1591     rendering/shapes/BoxShape.cpp
1592     rendering/shapes/PolygonShape.cpp
1593     rendering/shapes/RasterShape.cpp
1594     rendering/shapes/RectangleShape.cpp
1595     rendering/shapes/Shape.cpp
1596     rendering/shapes/ShapeOutsideInfo.cpp
1597
1598     rendering/style/BasicShapes.cpp
1599     rendering/style/ContentData.cpp
1600     rendering/style/CounterDirectives.cpp
1601     rendering/style/FillLayer.cpp
1602     rendering/style/GridPosition.cpp
1603     rendering/style/GridPositionsResolver.cpp
1604     rendering/style/KeyframeList.cpp
1605     rendering/style/NinePieceImage.cpp
1606     rendering/style/QuotesData.cpp
1607     rendering/style/RenderStyle.cpp
1608     rendering/style/RenderStyleConstants.cpp
1609     rendering/style/SVGRenderStyle.cpp
1610     rendering/style/SVGRenderStyleDefs.cpp
1611     rendering/style/ShadowData.cpp
1612     rendering/style/ShapeValue.cpp
1613     rendering/style/StyleBackgroundData.cpp
1614     rendering/style/StyleBoxData.cpp
1615     rendering/style/StyleCachedImage.cpp
1616     rendering/style/StyleDeprecatedFlexibleBoxData.cpp
1617     rendering/style/StyleFilterData.cpp
1618     rendering/style/StyleFlexibleBoxData.cpp
1619     rendering/style/StyleGeneratedImage.cpp
1620     rendering/style/StyleGridData.cpp
1621     rendering/style/StyleGridItemData.cpp
1622     rendering/style/StyleInheritedData.cpp
1623     rendering/style/StyleMarqueeData.cpp
1624     rendering/style/StyleMultiColData.cpp
1625     rendering/style/StyleRareInheritedData.cpp
1626     rendering/style/StyleRareNonInheritedData.cpp
1627     rendering/style/StyleScrollSnapPoints.cpp
1628     rendering/style/StyleSurroundData.cpp
1629     rendering/style/StyleTransformData.cpp
1630     rendering/style/StyleVisualData.cpp
1631     rendering/style/WillChangeData.cpp
1632
1633     rendering/svg/RenderSVGBlock.cpp
1634     rendering/svg/RenderSVGContainer.cpp
1635     rendering/svg/RenderSVGEllipse.cpp
1636     rendering/svg/RenderSVGForeignObject.cpp
1637     rendering/svg/RenderSVGGradientStop.cpp
1638     rendering/svg/RenderSVGHiddenContainer.cpp
1639     rendering/svg/RenderSVGImage.cpp
1640     rendering/svg/RenderSVGInline.cpp
1641     rendering/svg/RenderSVGInlineText.cpp
1642     rendering/svg/RenderSVGModelObject.cpp
1643     rendering/svg/RenderSVGPath.cpp
1644     rendering/svg/RenderSVGRect.cpp
1645     rendering/svg/RenderSVGResource.cpp
1646     rendering/svg/RenderSVGResourceClipper.cpp
1647     rendering/svg/RenderSVGResourceContainer.cpp
1648     rendering/svg/RenderSVGResourceFilter.cpp
1649     rendering/svg/RenderSVGResourceFilterPrimitive.cpp
1650     rendering/svg/RenderSVGResourceGradient.cpp
1651     rendering/svg/RenderSVGResourceLinearGradient.cpp
1652     rendering/svg/RenderSVGResourceMarker.cpp
1653     rendering/svg/RenderSVGResourceMasker.cpp
1654     rendering/svg/RenderSVGResourcePattern.cpp
1655     rendering/svg/RenderSVGResourceRadialGradient.cpp
1656     rendering/svg/RenderSVGResourceSolidColor.cpp
1657     rendering/svg/RenderSVGRoot.cpp
1658     rendering/svg/RenderSVGShape.cpp
1659     rendering/svg/RenderSVGText.cpp
1660     rendering/svg/RenderSVGTextPath.cpp
1661     rendering/svg/RenderSVGTransformableContainer.cpp
1662     rendering/svg/RenderSVGViewportContainer.cpp
1663     rendering/svg/SVGInlineFlowBox.cpp
1664     rendering/svg/SVGInlineTextBox.cpp
1665     rendering/svg/SVGPathData.cpp
1666     rendering/svg/SVGRenderSupport.cpp
1667     rendering/svg/SVGRenderTreeAsText.cpp
1668     rendering/svg/SVGRenderingContext.cpp
1669     rendering/svg/SVGResources.cpp
1670     rendering/svg/SVGResourcesCache.cpp
1671     rendering/svg/SVGResourcesCycleSolver.cpp
1672     rendering/svg/SVGRootInlineBox.cpp
1673     rendering/svg/SVGTextChunk.cpp
1674     rendering/svg/SVGTextChunkBuilder.cpp
1675     rendering/svg/SVGTextLayoutAttributes.cpp
1676     rendering/svg/SVGTextLayoutAttributesBuilder.cpp
1677     rendering/svg/SVGTextLayoutEngine.cpp
1678     rendering/svg/SVGTextLayoutEngineBaseline.cpp
1679     rendering/svg/SVGTextLayoutEngineSpacing.cpp
1680     rendering/svg/SVGTextMetrics.cpp
1681     rendering/svg/SVGTextMetricsBuilder.cpp
1682     rendering/svg/SVGTextQuery.cpp
1683
1684     replay/UserInputBridge.cpp
1685
1686     storage/Storage.cpp
1687     storage/StorageEvent.cpp
1688     storage/StorageEventDispatcher.cpp
1689     storage/StorageMap.cpp
1690     storage/StorageNamespaceProvider.cpp
1691
1692     style/AttributeChangeInvalidation.cpp
1693     style/ClassChangeInvalidation.cpp
1694     style/IdChangeInvalidation.cpp
1695     style/InlineTextBoxStyle.cpp
1696     style/RenderTreePosition.cpp
1697     style/RenderTreeUpdater.cpp
1698     style/RenderTreeUpdaterFirstLetter.cpp
1699     style/RenderTreeUpdaterGeneratedContent.cpp
1700     style/RenderTreeUpdaterListItem.cpp
1701     style/RenderTreeUpdaterMultiColumn.cpp
1702     style/StyleChange.cpp
1703     style/StyleFontSizeFunctions.cpp
1704     style/StyleInvalidator.cpp
1705     style/StylePendingResources.cpp
1706     style/StyleRelations.cpp
1707     style/StyleResolveForDocument.cpp
1708     style/StyleScope.cpp
1709     style/StyleSharingResolver.cpp
1710     style/StyleTreeResolver.cpp
1711     style/StyleUpdate.cpp
1712
1713     svg/SVGAElement.cpp
1714     svg/SVGAltGlyphDefElement.cpp
1715     svg/SVGAltGlyphElement.cpp
1716     svg/SVGAltGlyphItemElement.cpp
1717     svg/SVGAngleValue.cpp
1718     svg/SVGAnimateColorElement.cpp
1719     svg/SVGAnimateElement.cpp
1720     svg/SVGAnimateElementBase.cpp
1721     svg/SVGAnimateMotionElement.cpp
1722     svg/SVGAnimateTransformElement.cpp
1723     svg/SVGAnimatedAngle.cpp
1724     svg/SVGAnimatedBoolean.cpp
1725     svg/SVGAnimatedColor.cpp
1726     svg/SVGAnimatedEnumeration.cpp
1727     svg/SVGAnimatedInteger.cpp
1728     svg/SVGAnimatedIntegerOptionalInteger.cpp
1729     svg/SVGAnimatedLength.cpp
1730     svg/SVGAnimatedLengthList.cpp
1731     svg/SVGAnimatedNumber.cpp
1732     svg/SVGAnimatedNumberList.cpp
1733     svg/SVGAnimatedNumberOptionalNumber.cpp
1734     svg/SVGAnimatedPath.cpp
1735     svg/SVGAnimatedPointList.cpp
1736     svg/SVGAnimatedPreserveAspectRatio.cpp
1737     svg/SVGAnimatedRect.cpp
1738     svg/SVGAnimatedString.cpp
1739     svg/SVGAnimatedTransformList.cpp
1740     svg/SVGAnimatedType.cpp
1741     svg/SVGAnimatedTypeAnimator.cpp
1742     svg/SVGAnimationElement.cpp
1743     svg/SVGCircleElement.cpp
1744     svg/SVGClipPathElement.cpp
1745     svg/SVGComponentTransferFunctionElement.cpp
1746     svg/SVGCursorElement.cpp
1747     svg/SVGDefsElement.cpp
1748     svg/SVGDescElement.cpp
1749     svg/SVGDocument.cpp
1750     svg/SVGDocumentExtensions.cpp
1751     svg/SVGElement.cpp
1752     svg/SVGEllipseElement.cpp
1753     svg/SVGExternalResourcesRequired.cpp
1754     svg/SVGFEBlendElement.cpp
1755     svg/SVGFEColorMatrixElement.cpp
1756     svg/SVGFEComponentTransferElement.cpp
1757     svg/SVGFECompositeElement.cpp
1758     svg/SVGFEConvolveMatrixElement.cpp
1759     svg/SVGFEDiffuseLightingElement.cpp
1760     svg/SVGFEDisplacementMapElement.cpp
1761     svg/SVGFEDistantLightElement.cpp
1762     svg/SVGFEDropShadowElement.cpp
1763     svg/SVGFEFloodElement.cpp
1764     svg/SVGFEFuncAElement.cpp
1765     svg/SVGFEFuncBElement.cpp
1766     svg/SVGFEFuncGElement.cpp
1767     svg/SVGFEFuncRElement.cpp
1768     svg/SVGFEGaussianBlurElement.cpp
1769     svg/SVGFEImageElement.cpp
1770     svg/SVGFELightElement.cpp
1771     svg/SVGFEMergeElement.cpp
1772     svg/SVGFEMergeNodeElement.cpp
1773     svg/SVGFEMorphologyElement.cpp
1774     svg/SVGFEOffsetElement.cpp
1775     svg/SVGFEPointLightElement.cpp
1776     svg/SVGFESpecularLightingElement.cpp
1777     svg/SVGFESpotLightElement.cpp
1778     svg/SVGFETileElement.cpp
1779     svg/SVGFETurbulenceElement.cpp
1780     svg/SVGFilterElement.cpp
1781     svg/SVGFilterPrimitiveStandardAttributes.cpp
1782     svg/SVGFitToViewBox.cpp
1783     svg/SVGFontElement.cpp
1784     svg/SVGFontFaceElement.cpp
1785     svg/SVGFontFaceFormatElement.cpp
1786     svg/SVGFontFaceNameElement.cpp
1787     svg/SVGFontFaceSrcElement.cpp
1788     svg/SVGFontFaceUriElement.cpp
1789     svg/SVGForeignObjectElement.cpp
1790     svg/SVGGElement.cpp
1791     svg/SVGGlyphElement.cpp
1792     svg/SVGGlyphRefElement.cpp
1793     svg/SVGGradientElement.cpp
1794     svg/SVGGraphicsElement.cpp
1795     svg/SVGHKernElement.cpp
1796     svg/SVGImageElement.cpp
1797     svg/SVGImageLoader.cpp
1798     svg/SVGLangSpace.cpp
1799     svg/SVGLengthContext.cpp
1800     svg/SVGLengthListValues.cpp
1801     svg/SVGLengthValue.cpp
1802     svg/SVGLineElement.cpp
1803     svg/SVGLinearGradientElement.cpp
1804     svg/SVGLocatable.cpp
1805     svg/SVGMPathElement.cpp
1806     svg/SVGMarkerElement.cpp
1807     svg/SVGMaskElement.cpp
1808     svg/SVGMetadataElement.cpp
1809     svg/SVGMissingGlyphElement.cpp
1810     svg/SVGNumberListValues.cpp
1811     svg/SVGParserUtilities.cpp
1812     svg/SVGPathBlender.cpp
1813     svg/SVGPathBuilder.cpp
1814     svg/SVGPathByteStreamBuilder.cpp
1815     svg/SVGPathByteStreamSource.cpp
1816     svg/SVGPathElement.cpp
1817     svg/SVGPathParser.cpp
1818     svg/SVGPathSegList.cpp
1819     svg/SVGPathSegListBuilder.cpp
1820     svg/SVGPathSegListSource.cpp
1821     svg/SVGPathSegListValues.cpp
1822     svg/SVGPathStringBuilder.cpp
1823     svg/SVGPathStringSource.cpp
1824     svg/SVGPathTraversalStateBuilder.cpp
1825     svg/SVGPathUtilities.cpp
1826     svg/SVGPatternElement.cpp
1827     svg/SVGPointListValues.cpp
1828     svg/SVGPolyElement.cpp
1829     svg/SVGPolygonElement.cpp
1830     svg/SVGPolylineElement.cpp
1831     svg/SVGPreserveAspectRatioValue.cpp
1832     svg/SVGRadialGradientElement.cpp
1833     svg/SVGRectElement.cpp
1834     svg/SVGSVGElement.cpp
1835     svg/SVGScriptElement.cpp
1836     svg/SVGSetElement.cpp
1837     svg/SVGStopElement.cpp
1838     svg/SVGStringListValues.cpp
1839     svg/SVGStyleElement.cpp
1840     svg/SVGSwitchElement.cpp
1841     svg/SVGSymbolElement.cpp
1842     svg/SVGTRefElement.cpp
1843     svg/SVGTSpanElement.cpp
1844     svg/SVGTests.cpp
1845     svg/SVGTextContentElement.cpp
1846     svg/SVGTextElement.cpp
1847     svg/SVGTextPathElement.cpp
1848     svg/SVGTextPositioningElement.cpp
1849     svg/SVGTitleElement.cpp
1850     svg/SVGToOTFFontConversion.cpp
1851     svg/SVGTransform.cpp
1852     svg/SVGTransformDistance.cpp
1853     svg/SVGTransformListValues.cpp
1854     svg/SVGTransformValue.cpp
1855     svg/SVGTransformable.cpp
1856     svg/SVGURIReference.cpp
1857     svg/SVGUseElement.cpp
1858     svg/SVGVKernElement.cpp
1859     svg/SVGViewElement.cpp
1860     svg/SVGViewSpec.cpp
1861     svg/SVGZoomAndPan.cpp
1862     svg/SVGZoomEvent.cpp
1863
1864     svg/animation/SMILTime.cpp
1865     svg/animation/SMILTimeContainer.cpp
1866     svg/animation/SVGSMILElement.cpp
1867
1868     svg/graphics/SVGImage.cpp
1869     svg/graphics/SVGImageCache.cpp
1870     svg/graphics/SVGImageForContainer.cpp
1871
1872     svg/graphics/filters/SVGFEImage.cpp
1873     svg/graphics/filters/SVGFilter.cpp
1874     svg/graphics/filters/SVGFilterBuilder.cpp
1875
1876     svg/properties/SVGAnimatedProperty.cpp
1877     svg/properties/SVGAttributeToPropertyMap.cpp
1878     svg/properties/SVGPropertyInfo.cpp
1879
1880     workers/AbstractWorker.cpp
1881     workers/DedicatedWorkerGlobalScope.cpp
1882     workers/DedicatedWorkerThread.cpp
1883     workers/Worker.cpp
1884     workers/WorkerConsoleClient.cpp
1885     workers/WorkerEventQueue.cpp
1886     workers/WorkerGlobalScope.cpp
1887     workers/WorkerInspectorProxy.cpp
1888     workers/WorkerLocation.cpp
1889     workers/WorkerMessagingProxy.cpp
1890     workers/WorkerRunLoop.cpp
1891     workers/WorkerScriptLoader.cpp
1892     workers/WorkerThread.cpp
1893
1894     workers/service/ExtendableEvent.cpp
1895     workers/service/FetchEvent.cpp
1896     workers/service/ServiceWorker.cpp
1897     workers/service/ServiceWorkerClient.cpp
1898     workers/service/ServiceWorkerClients.cpp
1899     workers/service/ServiceWorkerContainer.cpp
1900     workers/service/ServiceWorkerGlobalScope.cpp
1901     workers/service/ServiceWorkerJob.cpp
1902     workers/service/ServiceWorkerJobData.cpp
1903     workers/service/ServiceWorkerProvider.cpp
1904     workers/service/ServiceWorkerRegistration.cpp
1905     workers/service/ServiceWorkerRegistrationData.cpp
1906     workers/service/ServiceWorkerRegistrationKey.cpp
1907     workers/service/ServiceWorkerRegistrationOptions.cpp
1908     workers/service/ServiceWorkerWindowClient.cpp
1909
1910     workers/service/server/SWClientConnection.cpp
1911     workers/service/server/SWServer.cpp
1912     workers/service/server/SWServerRegistration.cpp
1913     workers/service/server/SWServerWorker.cpp
1914
1915     xml/DOMParser.cpp
1916     xml/NativeXPathNSResolver.cpp
1917     xml/XMLErrors.cpp
1918     xml/XMLHttpRequest.cpp
1919     xml/XMLHttpRequestProgressEventThrottle.cpp
1920     xml/XMLHttpRequestUpload.cpp
1921     xml/XMLSerializer.cpp
1922     xml/XMLTreeViewer.cpp
1923     xml/XPathEvaluator.cpp
1924     xml/XPathExpression.cpp
1925     xml/XPathExpressionNode.cpp
1926     xml/XPathFunctions.cpp
1927     xml/XPathGrammar.cpp
1928     xml/XPathNSResolver.cpp
1929     xml/XPathNodeSet.cpp
1930     xml/XPathParser.cpp
1931     xml/XPathPath.cpp
1932     xml/XPathPredicate.cpp
1933     xml/XPathResult.cpp
1934     xml/XPathStep.cpp
1935     xml/XPathUtil.cpp
1936     xml/XPathValue.cpp
1937     xml/XPathVariableReference.cpp
1938     xml/XSLImportRule.cpp
1939     xml/XSLStyleSheetLibxslt.cpp
1940     xml/XSLTExtensions.cpp
1941     xml/XSLTProcessor.cpp
1942     xml/XSLTProcessorLibxslt.cpp
1943     xml/XSLTUnicodeSort.cpp
1944
1945     xml/parser/XMLDocumentParser.cpp
1946     xml/parser/XMLDocumentParserLibxml2.cpp
1947     xml/parser/XMLDocumentParserScope.cpp
1948 )
1949
1950 if (ENABLE_GAMEPAD)
1951     list(APPEND WebCore_INCLUDE_DIRECTORIES
1952         "${WEBCORE_DIR}/Modules/gamepad"
1953     )
1954
1955     list(APPEND WebCore_IDL_INCLUDES
1956         Modules/gamepad
1957     )
1958
1959     list(APPEND WebCore_NON_SVG_IDL_FILES
1960         Modules/gamepad/Gamepad.idl
1961         Modules/gamepad/GamepadButton.idl
1962         Modules/gamepad/GamepadEvent.idl
1963         Modules/gamepad/NavigatorGamepad.idl
1964     )
1965
1966     list(APPEND WebCore_SOURCES
1967         Modules/gamepad/Gamepad.cpp
1968         Modules/gamepad/GamepadButton.cpp
1969         Modules/gamepad/GamepadEvent.cpp
1970         Modules/gamepad/GamepadManager.cpp
1971         Modules/gamepad/NavigatorGamepad.cpp
1972
1973         platform/gamepad/EmptyGamepadProvider.cpp
1974         platform/gamepad/GamepadProvider.cpp
1975     )
1976 endif ()
1977
1978 set(WebCore_IDL_FILES
1979     ${WebCore_NON_SVG_IDL_FILES}
1980     ${WebCore_SVG_IDL_FILES}
1981 )
1982
1983 if (ENABLE_ALLINONE_BUILD)
1984     message(STATUS "All-in-One build is enabled.")
1985     set(allInOnes
1986         mathml/MathMLAllInOne.cpp
1987
1988         platform/text/TextAllInOne.cpp
1989
1990         rendering/RenderingAllInOne.cpp
1991
1992         rendering/style/StyleAllInOne.cpp
1993
1994         rendering/svg/RenderSVGAllInOne.cpp
1995
1996         svg/SVGAllInOne.cpp
1997     )
1998     foreach (allInOne ${allInOnes})
1999         PROCESS_ALLINONE_FILE("${WebCore_SOURCES}" ${allInOne} newSources FALSE)
2000         set(WebCore_SOURCES
2001             ${allInOne}
2002             ${newSources}
2003         )
2004     endforeach ()
2005 endif ()
2006
2007 set(WebCore_CSS_PROPERTY_NAMES
2008     ${WEBCORE_DIR}/css/CSSProperties.json
2009 )
2010
2011 set(WebCore_CSS_VALUE_KEYWORDS
2012     ${WEBCORE_DIR}/css/CSSValueKeywords.in
2013 )
2014
2015 set(WebCore_USER_AGENT_STYLE_SHEETS
2016     ${WEBCORE_DIR}/css/fullscreen.css
2017     ${WEBCORE_DIR}/css/html.css
2018     ${WEBCORE_DIR}/css/mathml.css
2019     ${WEBCORE_DIR}/css/mediaControls.css
2020     ${WEBCORE_DIR}/css/plugIns.css
2021     ${WEBCORE_DIR}/css/quirks.css
2022     ${WEBCORE_DIR}/css/svg.css
2023     ${WEBCORE_DIR}/html/shadow/meterElementShadow.css
2024 )
2025
2026 set(WebCore_PLUG_INS_RESOURCES
2027     ${WEBCORE_DIR}/Resources/plugIns.js
2028 )
2029
2030 set(WebCore_LIBRARIES
2031     ${ICU_LIBRARIES}
2032     ${LIBXML2_LIBRARIES}
2033     ${LIBXSLT_LIBRARIES}
2034     ${SQLITE_LIBRARIES}
2035     ${ZLIB_LIBRARIES}
2036     JavaScriptCore${DEBUG_SUFFIX}
2037     PAL${DEBUG_SUFFIX}
2038 )
2039
2040 if (ENABLE_LEGACY_ENCRYPTED_MEDIA)
2041     list(APPEND WebCore_SOURCES
2042         Modules/encryptedmedia/legacy/LegacyCDM.cpp
2043         Modules/encryptedmedia/legacy/LegacyCDMPrivateClearKey.cpp
2044         Modules/encryptedmedia/legacy/LegacyCDMPrivateMediaPlayer.cpp
2045         Modules/encryptedmedia/legacy/LegacyCDMSessionClearKey.cpp
2046
2047         Modules/encryptedmedia/legacy/WebKitMediaKeyMessageEvent.cpp
2048         Modules/encryptedmedia/legacy/WebKitMediaKeyNeededEvent.cpp
2049         Modules/encryptedmedia/legacy/WebKitMediaKeySession.cpp
2050         Modules/encryptedmedia/legacy/WebKitMediaKeys.cpp
2051     )
2052     list(APPEND WebCoreTestSupport_SOURCES
2053         testing/LegacyMockCDM.cpp
2054     )
2055     list(APPEND WebCore_IDL_FILES
2056         Modules/encryptedmedia/legacy/WebKitMediaKeyMessageEvent.idl
2057         Modules/encryptedmedia/legacy/WebKitMediaKeyNeededEvent.idl
2058         Modules/encryptedmedia/legacy/WebKitMediaKeySession.idl
2059         Modules/encryptedmedia/legacy/WebKitMediaKeys.idl
2060
2061         html/WebKitMediaKeyError.idl
2062     )
2063 endif ()
2064
2065 if (ENABLE_ENCRYPTED_MEDIA)
2066     list(APPEND WebCore_SOURCES
2067         Modules/encryptedmedia/CDM.cpp
2068         Modules/encryptedmedia/InitDataRegistry.cpp
2069         Modules/encryptedmedia/MediaKeyMessageEvent.cpp
2070         Modules/encryptedmedia/MediaKeySession.cpp
2071         Modules/encryptedmedia/MediaKeyStatusMap.cpp
2072         Modules/encryptedmedia/MediaKeySystemAccess.cpp
2073         Modules/encryptedmedia/MediaKeys.cpp
2074         Modules/encryptedmedia/NavigatorEME.cpp
2075
2076         html/MediaEncryptedEvent.cpp
2077     )
2078     list(APPEND WebCore_IDL_FILES
2079     )
2080     list(APPEND WebCore_IDL_FILES
2081         Modules/encryptedmedia/MediaKeyMessageEvent.idl
2082         Modules/encryptedmedia/MediaKeySession.idl
2083         Modules/encryptedmedia/MediaKeySessionType.idl
2084         Modules/encryptedmedia/MediaKeyStatusMap.idl
2085         Modules/encryptedmedia/MediaKeySystemAccess.idl
2086         Modules/encryptedmedia/MediaKeySystemConfiguration.idl
2087         Modules/encryptedmedia/MediaKeySystemMediaCapability.idl
2088         Modules/encryptedmedia/MediaKeys.idl
2089         Modules/encryptedmedia/MediaKeysRequirement.idl
2090         Modules/encryptedmedia/NavigatorEME.idl
2091
2092         html/MediaEncryptedEvent.idl
2093     )
2094 endif ()
2095
2096 list(APPEND WebCore_CSS_VALUE_KEYWORDS
2097     ${WEBCORE_DIR}/css/SVGCSSValueKeywords.in
2098 )
2099
2100 if (ENABLE_WEBGL)
2101     list(APPEND WebCore_SOURCES
2102         html/canvas/ANGLEInstancedArrays.cpp
2103         html/canvas/EXTBlendMinMax.cpp
2104         html/canvas/EXTFragDepth.cpp
2105         html/canvas/EXTShaderTextureLOD.cpp
2106         html/canvas/EXTTextureFilterAnisotropic.cpp
2107         html/canvas/EXTsRGB.cpp
2108         html/canvas/OESElementIndexUint.cpp
2109         html/canvas/OESStandardDerivatives.cpp
2110         html/canvas/OESTextureFloat.cpp
2111         html/canvas/OESTextureFloatLinear.cpp
2112         html/canvas/OESTextureHalfFloat.cpp
2113         html/canvas/OESTextureHalfFloatLinear.cpp
2114         html/canvas/OESVertexArrayObject.cpp
2115         html/canvas/WebGL2RenderingContext.cpp
2116         html/canvas/WebGLBuffer.cpp
2117         html/canvas/WebGLCompressedTextureATC.cpp
2118         html/canvas/WebGLCompressedTexturePVRTC.cpp
2119         html/canvas/WebGLCompressedTextureS3TC.cpp
2120         html/canvas/WebGLContextEvent.cpp
2121         html/canvas/WebGLContextGroup.cpp
2122         html/canvas/WebGLContextObject.cpp
2123         html/canvas/WebGLDebugRendererInfo.cpp
2124         html/canvas/WebGLDebugShaders.cpp
2125         html/canvas/WebGLDepthTexture.cpp
2126         html/canvas/WebGLDrawBuffers.cpp
2127         html/canvas/WebGLExtension.cpp
2128         html/canvas/WebGLFramebuffer.cpp
2129         html/canvas/WebGLLoseContext.cpp
2130         html/canvas/WebGLObject.cpp
2131         html/canvas/WebGLProgram.cpp
2132         html/canvas/WebGLQuery.cpp
2133         html/canvas/WebGLRenderbuffer.cpp
2134         html/canvas/WebGLRenderingContext.cpp
2135         html/canvas/WebGLRenderingContextBase.cpp
2136         html/canvas/WebGLSampler.cpp
2137         html/canvas/WebGLShader.cpp
2138         html/canvas/WebGLShaderPrecisionFormat.cpp
2139         html/canvas/WebGLSharedObject.cpp
2140         html/canvas/WebGLSync.cpp
2141         html/canvas/WebGLTexture.cpp
2142         html/canvas/WebGLTransformFeedback.cpp
2143         html/canvas/WebGLUniformLocation.cpp
2144         html/canvas/WebGLVertexArrayObject.cpp
2145         html/canvas/WebGLVertexArrayObjectBase.cpp
2146         html/canvas/WebGLVertexArrayObjectOES.cpp
2147
2148         inspector/InspectorShaderProgram.cpp
2149     )
2150     list(APPEND WebCore_IDL_FILES
2151         html/canvas/ANGLEInstancedArrays.idl
2152         html/canvas/EXTBlendMinMax.idl
2153         html/canvas/EXTFragDepth.idl
2154         html/canvas/EXTShaderTextureLOD.idl
2155         html/canvas/EXTTextureFilterAnisotropic.idl
2156         html/canvas/EXTsRGB.idl
2157         html/canvas/OESElementIndexUint.idl
2158         html/canvas/OESStandardDerivatives.idl
2159         html/canvas/OESTextureFloat.idl
2160         html/canvas/OESTextureFloatLinear.idl
2161         html/canvas/OESTextureHalfFloat.idl
2162         html/canvas/OESTextureHalfFloatLinear.idl
2163         html/canvas/OESVertexArrayObject.idl
2164         html/canvas/WebGL2RenderingContext.idl
2165         html/canvas/WebGLActiveInfo.idl
2166         html/canvas/WebGLBuffer.idl
2167         html/canvas/WebGLCompressedTextureATC.idl
2168         html/canvas/WebGLCompressedTexturePVRTC.idl
2169         html/canvas/WebGLCompressedTextureS3TC.idl
2170         html/canvas/WebGLContextAttributes.idl
2171         html/canvas/WebGLContextEvent.idl
2172         html/canvas/WebGLDebugRendererInfo.idl
2173         html/canvas/WebGLDebugShaders.idl
2174         html/canvas/WebGLDepthTexture.idl
2175         html/canvas/WebGLDrawBuffers.idl
2176         html/canvas/WebGLFramebuffer.idl
2177         html/canvas/WebGLLoseContext.idl
2178         html/canvas/WebGLProgram.idl
2179         html/canvas/WebGLQuery.idl
2180         html/canvas/WebGLRenderbuffer.idl
2181         html/canvas/WebGLRenderingContext.idl
2182         html/canvas/WebGLRenderingContextBase.idl
2183         html/canvas/WebGLSampler.idl
2184         html/canvas/WebGLShader.idl
2185         html/canvas/WebGLShaderPrecisionFormat.idl
2186         html/canvas/WebGLSync.idl
2187         html/canvas/WebGLTexture.idl
2188         html/canvas/WebGLTransformFeedback.idl
2189         html/canvas/WebGLUniformLocation.idl
2190         html/canvas/WebGLVertexArrayObject.idl
2191         html/canvas/WebGLVertexArrayObjectOES.idl
2192     )
2193 endif ()
2194
2195 if (ENABLE_VIDEO_TRACK)
2196     list(APPEND WebCore_IDL_FILES
2197         html/track/AudioTrack.idl
2198         html/track/AudioTrackList.idl
2199         html/track/DataCue.idl
2200         html/track/TextTrack.idl
2201         html/track/TextTrackCue.idl
2202         html/track/TextTrackCueList.idl
2203         html/track/TextTrackList.idl
2204         html/track/TrackEvent.idl
2205         html/track/VTTCue.idl
2206         html/track/VTTRegion.idl
2207         html/track/VTTRegionList.idl
2208         html/track/VideoTrack.idl
2209         html/track/VideoTrackList.idl
2210     )
2211
2212     list(APPEND WebCore_SOURCES
2213         html/track/AudioTrack.cpp
2214         html/track/AudioTrackList.cpp
2215         html/track/BufferedLineReader.cpp
2216         html/track/DataCue.cpp
2217         html/track/InbandDataTextTrack.cpp
2218         html/track/InbandGenericTextTrack.cpp
2219         html/track/InbandTextTrack.cpp
2220         html/track/InbandWebVTTTextTrack.cpp
2221         html/track/LoadableTextTrack.cpp
2222         html/track/TextTrack.cpp
2223         html/track/TextTrackCue.cpp
2224         html/track/TextTrackCueGeneric.cpp
2225         html/track/TextTrackCueList.cpp
2226         html/track/TextTrackList.cpp
2227         html/track/TrackBase.cpp
2228         html/track/TrackEvent.cpp
2229         html/track/TrackListBase.cpp
2230         html/track/VTTCue.cpp
2231         html/track/VTTRegion.cpp
2232         html/track/VTTRegionList.cpp
2233         html/track/VTTScanner.cpp
2234         html/track/VideoTrack.cpp
2235         html/track/VideoTrackList.cpp
2236         html/track/WebVTTElement.cpp
2237         html/track/WebVTTParser.cpp
2238         html/track/WebVTTTokenizer.cpp
2239
2240         loader/cache/CachedTextTrack.cpp
2241
2242         platform/graphics/TextTrackRepresentation.cpp
2243         platform/graphics/TrackPrivateBase.cpp
2244     )
2245 endif ()
2246
2247 if (ENABLE_QUOTA)
2248     list(APPEND WebCore_SOURCES
2249         Modules/quota/DOMWindowQuota.cpp
2250         Modules/quota/NavigatorStorageQuota.cpp
2251         Modules/quota/StorageErrorCallback.cpp
2252         Modules/quota/StorageInfo.cpp
2253         Modules/quota/StorageQuota.cpp
2254         Modules/quota/WorkerNavigatorStorageQuota.cpp
2255     )
2256
2257     list(APPEND WebCore_IDL_FILES
2258         Modules/quota/DOMWindowQuota.idl
2259         Modules/quota/NavigatorStorageQuota.idl
2260         Modules/quota/StorageErrorCallback.idl
2261         Modules/quota/StorageInfo.idl
2262         Modules/quota/StorageQuota.idl
2263         Modules/quota/StorageQuotaCallback.idl
2264         Modules/quota/StorageUsageCallback.idl
2265         Modules/quota/WorkerNavigatorStorageQuota.idl
2266     )
2267 endif ()
2268
2269 if (ENABLE_GRAPHICS_CONTEXT_3D)
2270     # For platforms that want to use system-provided OpenGL (ES) / EGL headers,
2271     # these include directories, libraries or definitions need to be
2272     # added before the ANGLE directories.
2273     if (USE_LIBEPOXY)
2274         list(APPEND WebCore_SYSTEM_INCLUDE_DIRECTORIES
2275             ${LIBEPOXY_INCLUDE_DIRS}
2276         )
2277         list(APPEND WebCore_LIBRARIES
2278             ${LIBEPOXY_LIBRARIES}
2279         )
2280         add_definitions(${LIBEPOXY_DEFINITIONS})
2281     else ()
2282         if (USE_OPENGL)
2283             list(APPEND WebCore_SYSTEM_INCLUDE_DIRECTORIES
2284                 ${OPENGL_INCLUDE_DIRS}
2285             )
2286             list(APPEND WebCore_LIBRARIES
2287                 ${OPENGL_LIBRARIES}
2288             )
2289             add_definitions(${OPENGL_DEFINITIONS})
2290         elseif (USE_OPENGL_ES_2)
2291             list(APPEND WebCore_SYSTEM_INCLUDE_DIRECTORIES
2292                 ${OPENGLES2_INCLUDE_DIRS}
2293             )
2294             list(APPEND WebCore_LIBRARIES
2295                 ${OPENGLES2_LIBRARIES}
2296             )
2297             add_definitions(${OPENGLES2_DEFINITIONS})
2298         endif ()
2299
2300         if (USE_EGL)
2301             list(APPEND WebCore_SYSTEM_INCLUDE_DIRECTORIES
2302                 ${EGL_INCLUDE_DIRS}
2303             )
2304             list(APPEND WebCore_LIBRARIES
2305                 ${EGL_LIBRARIES}
2306             )
2307             add_definitions(${EGL_DEFINITIONS})
2308         endif ()
2309     endif ()
2310
2311     list(APPEND WebCore_INCLUDE_DIRECTORIES
2312         "${ANGLE_FORWARDING_HEADERS_DIR}"
2313         "${WEBCORE_DIR}/platform/graphics/gpu"
2314     )
2315
2316     list(APPEND ANGLESupport_SOURCES
2317         ${THIRDPARTY_DIR}/ANGLE/src/common/Float16ToFloat32.cpp
2318         ${THIRDPARTY_DIR}/ANGLE/src/common/angleutils.cpp
2319         ${THIRDPARTY_DIR}/ANGLE/src/common/debug.cpp
2320         ${THIRDPARTY_DIR}/ANGLE/src/common/event_tracer.cpp
2321         ${THIRDPARTY_DIR}/ANGLE/src/common/mathutil.cpp
2322         ${THIRDPARTY_DIR}/ANGLE/src/common/MemoryBuffer.cpp
2323         ${THIRDPARTY_DIR}/ANGLE/src/common/utilities.cpp
2324         ${THIRDPARTY_DIR}/ANGLE/src/common/tls.cpp
2325
2326         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/AddAndTrueToLoopCondition.cpp
2327         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/AddDefaultReturnStatements.cpp
2328         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/ArrayReturnValueToOutParameter.cpp
2329         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/ASTMetadataHLSL.cpp
2330         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/blocklayout.cpp
2331         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/blocklayoutHLSL.cpp
2332         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/BreakVariableAliasingInInnerLoops.cpp
2333         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/BuiltInFunctionEmulator.cpp
2334         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/BuiltInFunctionEmulatorGLSL.cpp
2335         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/BuiltInFunctionEmulatorHLSL.cpp
2336         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/Cache.cpp
2337         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/CallDAG.cpp
2338         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/CodeGen.cpp
2339         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/Compiler.cpp
2340         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/ConstantUnion.cpp
2341         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/DeferGlobalInitializers.cpp
2342         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/Diagnostics.cpp
2343         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/DirectiveHandler.cpp
2344         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/EmulateGLFragColorBroadcast.cpp
2345         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/EmulatePrecision.cpp
2346         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/ExpandIntegerPowExpressions.cpp
2347         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/ExtensionGLSL.cpp
2348         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/FindSymbolNode.cpp
2349         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/FlagStd140Structs.cpp
2350         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/glslang_lex.cpp
2351         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/glslang_tab.cpp
2352         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/InfoSink.cpp
2353         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/Initialize.cpp
2354         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/InitializeDll.cpp
2355         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/InitializeVariables.cpp
2356         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/Intermediate.cpp
2357         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/IntermNode.cpp
2358         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/IntermNodePatternMatcher.cpp
2359         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/IntermTraverse.cpp
2360         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/intermOut.cpp
2361         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/Operator.cpp
2362         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/OutputESSL.cpp
2363         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/OutputGLSL.cpp
2364         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/OutputGLSLBase.cpp
2365         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/OutputHLSL.cpp
2366         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/OutputVulkanGLSL.cpp
2367         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/ParseContext.cpp
2368         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/PoolAlloc.cpp
2369         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/PruneEmptyDeclarations.cpp
2370         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/PrunePureLiteralStatements.cpp
2371         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/QualifierTypes.cpp
2372         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/RecordConstantPrecision.cpp
2373         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/RegenerateStructNames.cpp
2374         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/RemoveDynamicIndexing.cpp
2375         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/RemoveInvariantDeclaration.cpp
2376         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/RemovePow.cpp
2377         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/RemoveSwitchFallThrough.cpp
2378         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/RewriteDoWhile.cpp
2379         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/RewriteElseBlocks.cpp
2380         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/RewriteUnaryMinusOperatorFloat.cpp
2381         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/RewriteTexelFetchOffset.cpp
2382         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/RewriteUnaryMinusOperatorInt.cpp
2383         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/ScalarizeVecAndMatConstructorArgs.cpp
2384         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/SearchSymbol.cpp
2385         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/SeparateArrayInitialization.cpp
2386         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/SeparateExpressionsReturningArrays.cpp
2387         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/SeparateDeclarations.cpp
2388         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/ShaderLang.cpp
2389         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/ShaderVars.cpp
2390         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/SimplifyLoopConditions.cpp
2391         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/SplitSequenceOperator.cpp
2392         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/StructureHLSL.cpp
2393         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/SymbolTable.cpp
2394         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/TextureFunctionHLSL.cpp
2395         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/TranslatorESSL.cpp
2396         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/TranslatorGLSL.cpp
2397         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/TranslatorHLSL.cpp
2398         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/TranslatorVulkan.cpp
2399         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/Types.cpp
2400         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/UnfoldShortCircuitAST.cpp
2401         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/UnfoldShortCircuitToIf.cpp
2402         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/UniformHLSL.cpp
2403         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/UseInterfaceBlockFields.cpp
2404         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/util.cpp
2405         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/UtilsHLSL.cpp
2406         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/ValidateGlobalInitializer.cpp
2407         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/ValidateLimitations.cpp
2408         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/ValidateMaxParameters.cpp
2409         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/ValidateMultiviewWebGL.cpp
2410         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/ValidateOutputs.cpp
2411         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/ValidateSwitch.cpp
2412         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/VariableInfo.cpp
2413         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/VariablePacker.cpp
2414         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/VersionGLSL.cpp
2415
2416         ${THIRDPARTY_DIR}/ANGLE/src/compiler/preprocessor/DiagnosticsBase.cpp
2417         ${THIRDPARTY_DIR}/ANGLE/src/compiler/preprocessor/DirectiveHandlerBase.cpp
2418         ${THIRDPARTY_DIR}/ANGLE/src/compiler/preprocessor/DirectiveParser.cpp
2419         ${THIRDPARTY_DIR}/ANGLE/src/compiler/preprocessor/ExpressionParser.cpp
2420         ${THIRDPARTY_DIR}/ANGLE/src/compiler/preprocessor/Input.cpp
2421         ${THIRDPARTY_DIR}/ANGLE/src/compiler/preprocessor/Lexer.cpp
2422         ${THIRDPARTY_DIR}/ANGLE/src/compiler/preprocessor/Macro.cpp
2423         ${THIRDPARTY_DIR}/ANGLE/src/compiler/preprocessor/MacroExpander.cpp
2424         ${THIRDPARTY_DIR}/ANGLE/src/compiler/preprocessor/Preprocessor.cpp
2425         ${THIRDPARTY_DIR}/ANGLE/src/compiler/preprocessor/Token.cpp
2426         ${THIRDPARTY_DIR}/ANGLE/src/compiler/preprocessor/Tokenizer.cpp
2427
2428         ${THIRDPARTY_DIR}/ANGLE/src/libANGLE/Platform.cpp
2429
2430         ${THIRDPARTY_DIR}/ANGLE/src/third_party/compiler/ArrayBoundsClamper.cpp
2431     )
2432
2433     list(APPEND WebCore_SOURCES
2434         platform/graphics/ANGLEWebKitBridge.cpp
2435         platform/graphics/FormatConverter.cpp
2436         platform/graphics/GraphicsContext3D.cpp
2437     )
2438 endif ()
2439
2440 if (ENABLE_USER_MESSAGE_HANDLERS)
2441     list(APPEND WebCore_IDL_FILES
2442         page/UserMessageHandler.idl
2443         page/UserMessageHandlersNamespace.idl
2444         page/WebKitNamespace.idl
2445     )
2446     list(APPEND WebCore_SOURCES
2447         page/UserMessageHandler.cpp
2448         page/UserMessageHandlerDescriptor.cpp
2449         page/UserMessageHandlersNamespace.cpp
2450         page/WebKitNamespace.cpp
2451     )
2452 endif ()
2453
2454 if (USE_WOFF2)
2455   list(APPEND WebCore_INCLUDE_DIRECTORIES "${WOFF2DEC_INCLUDE_DIRS}")
2456   list(APPEND WebCore_LIBRARIES "${BROTLIDEC_LIBRARIES}" "${WOFF2DEC_LIBRARIES}")
2457 endif ()
2458
2459 if (USE_XDGMIME)
2460     list(APPEND WebCore_INCLUDE_DIRECTORIES "${THIRDPARTY_DIR}/xdgmime/src")
2461     list(APPEND WebCore_LIBRARIES xdgmime)
2462 endif ()
2463
2464 set(WebCoreTestSupport_INCLUDE_DIRECTORIES
2465     "${WEBCORE_DIR}/platform/mock"
2466     "${WEBCORE_DIR}/testing"
2467     "${WEBCORE_DIR}/testing/js"
2468     "${DERIVED_SOURCES_WEBCORE_DIR}"
2469 )
2470
2471 set(WebCoreTestSupport_IDL_INCLUDES
2472     testing
2473 )
2474
2475 set(WebCoreTestSupport_IDL_FILES
2476     testing/GCObservation.idl
2477     testing/InternalSettings.idl
2478     testing/Internals.idl
2479     testing/MallocStatistics.idl
2480     testing/MemoryInfo.idl
2481     testing/MockCDMFactory.idl
2482     testing/MockContentFilterSettings.idl
2483     testing/MockPageOverlay.idl
2484     testing/TypeConversions.idl
2485 )
2486
2487 list(APPEND WebCoreTestSupport_SOURCES
2488     platform/mock/PlatformSpeechSynthesizerMock.cpp
2489
2490     platform/mock/mediasource/MockBox.cpp
2491     platform/mock/mediasource/MockMediaPlayerMediaSource.cpp
2492     platform/mock/mediasource/MockMediaSourcePrivate.cpp
2493     platform/mock/mediasource/MockSourceBufferPrivate.cpp
2494
2495     testing/GCObservation.cpp
2496     testing/InternalSettings.cpp
2497     testing/Internals.cpp
2498     testing/MockCDMFactory.cpp
2499     testing/MockGamepad.cpp
2500     testing/MockGamepadProvider.cpp
2501     testing/MockPageOverlay.cpp
2502     testing/MockPageOverlayClient.cpp
2503
2504     testing/js/WebCoreTestSupport.cpp
2505 )
2506
2507 set(WebCoreTestSupport_LIBRARIES
2508     PRIVATE JavaScriptCore${DEBUG_SUFFIX}
2509 )
2510
2511 # Modules that the bindings generator scripts may use
2512 set(SCRIPTS_RESOLVE_SUPPLEMENTAL
2513     ${WEBCORE_DIR}/bindings/scripts/IDLParser.pm
2514 )
2515 set(SCRIPTS_BINDINGS
2516     ${WEBCORE_DIR}/bindings/scripts/CodeGenerator.pm
2517     ${WEBCORE_DIR}/bindings/scripts/CodeGeneratorJS.pm
2518     ${WEBCORE_DIR}/bindings/scripts/IDLParser.pm
2519     ${WEBCORE_DIR}/bindings/scripts/InFilesParser.pm
2520     ${WEBCORE_DIR}/bindings/scripts/preprocessor.pm
2521 )
2522
2523 set(MAKE_NAMES_DEPENDENCIES
2524     ${WEBCORE_DIR}/bindings/scripts/Hasher.pm
2525     ${WEBCORE_DIR}/bindings/scripts/StaticString.pm
2526 )
2527 set(SUPPLEMENTAL_DEPENDENCY_FILE ${DERIVED_SOURCES_WEBCORE_DIR}/supplemental_dependency.tmp)
2528 set(WINDOW_CONSTRUCTORS_FILE ${DERIVED_SOURCES_WEBCORE_DIR}/DOMWindowConstructors.idl)
2529 set(WORKERGLOBALSCOPE_CONSTRUCTORS_FILE ${DERIVED_SOURCES_WEBCORE_DIR}/WorkerGlobalScopeConstructors.idl)
2530 set(DEDICATEDWORKERGLOBALSCOPE_CONSTRUCTORS_FILE ${DERIVED_SOURCES_WEBCORE_DIR}/DedicatedWorkerGlobalScopeConstructors.idl)
2531 set(SERVICEWORKERGLOBALSCOPE_CONSTRUCTORS_FILE ${DERIVED_SOURCES_WEBCORE_DIR}/ServiceWorkerGlobalScopeConstructors.idl)
2532
2533 WEBKIT_FRAMEWORK_DECLARE(WebCore)
2534 WEBKIT_INCLUDE_CONFIG_FILES_IF_EXISTS()
2535
2536 # Generate InspectorOverlayPage.h
2537 add_custom_command(
2538     OUTPUT ${DERIVED_SOURCES_WEBCORE_DIR}/InspectorOverlayPage.h ${DERIVED_SOURCES_WEBCORE_DIR}/InspectorOverlayPage.combined.html
2539     MAIN_DEPENDENCY inspector/InspectorOverlayPage.html
2540     DEPENDS ${JavaScriptCore_SCRIPTS_DIR}/xxd.pl ${JavaScriptCore_SCRIPTS_DIR}/inline-and-minify-stylesheets-and-scripts.py
2541     DEPENDS inspector/InspectorOverlayPage.css inspector/InspectorOverlayPage.js
2542     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
2543     COMMAND ${PERL_EXECUTABLE} ${JavaScriptCore_SCRIPTS_DIR}/xxd.pl InspectorOverlayPage_html ${DERIVED_SOURCES_WEBCORE_DIR}/InspectorOverlayPage.combined.html ${DERIVED_SOURCES_WEBCORE_DIR}/InspectorOverlayPage.h
2544     VERBATIM)
2545 list(APPEND WebCore_DERIVED_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/InspectorOverlayPage.h)
2546
2547
2548 # Generate CommandLineAPIModuleSource.h
2549 add_custom_command(
2550     OUTPUT ${DERIVED_SOURCES_WEBCORE_DIR}/CommandLineAPIModuleSource.h ${DERIVED_SOURCES_WEBCORE_DIR}/CommandLineAPIModuleSource.min.js
2551     MAIN_DEPENDENCY inspector/CommandLineAPIModuleSource.js
2552     DEPENDS ${JavaScriptCore_SCRIPTS_DIR}/xxd.pl ${JavaScriptCore_SCRIPTS_DIR}/jsmin.py
2553     COMMAND ${CMAKE_COMMAND} -E echo "//# sourceURL=__InjectedScript_CommandLineAPIModuleSource.js" > ${DERIVED_SOURCES_WEBCORE_DIR}/CommandLineAPIModuleSource.min.js
2554     COMMAND ${PYTHON_EXECUTABLE} ${JavaScriptCore_SCRIPTS_DIR}/jsmin.py < ${WEBCORE_DIR}/inspector/CommandLineAPIModuleSource.js >> ${DERIVED_SOURCES_WEBCORE_DIR}/CommandLineAPIModuleSource.min.js
2555     COMMAND ${PERL_EXECUTABLE} ${JavaScriptCore_SCRIPTS_DIR}/xxd.pl CommandLineAPIModuleSource_js ${DERIVED_SOURCES_WEBCORE_DIR}/CommandLineAPIModuleSource.min.js ${DERIVED_SOURCES_WEBCORE_DIR}/CommandLineAPIModuleSource.h
2556     VERBATIM)
2557 list(APPEND WebCore_DERIVED_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/CommandLineAPIModuleSource.h)
2558
2559
2560 MAKE_HASH_TOOLS(${WEBCORE_DIR}/platform/ColorData)
2561 list(APPEND WebCore_DERIVED_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/ColorData.cpp)
2562
2563
2564 # Generate DOMJITAbstractHeapRepository.h
2565 add_custom_command(
2566     OUTPUT ${DERIVED_SOURCES_WEBCORE_DIR}/DOMJITAbstractHeapRepository.h
2567     MAIN_DEPENDENCY domjit/DOMJITAbstractHeapRepository.yaml
2568     DEPENDS ${WEBCORE_DIR}/domjit/generate-abstract-heap.rb
2569     COMMAND ${RUBY_EXECUTABLE} ${WEBCORE_DIR}/domjit/generate-abstract-heap.rb ${WEBCORE_DIR}/domjit/DOMJITAbstractHeapRepository.yaml ${DERIVED_SOURCES_WEBCORE_DIR}/DOMJITAbstractHeapRepository.h
2570     VERBATIM)
2571 list(APPEND WebCore_DERIVED_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/DOMJITAbstractHeapRepository.h)
2572
2573 # Generate XMLViewerCSS.h
2574 add_custom_command(
2575     OUTPUT ${DERIVED_SOURCES_WEBCORE_DIR}/XMLViewerCSS.h ${DERIVED_SOURCES_WEBCORE_DIR}/XMLViewer.min.css
2576     MAIN_DEPENDENCY xml/XMLViewer.css
2577     DEPENDS ${JavaScriptCore_SCRIPTS_DIR}/xxd.pl ${JavaScriptCore_SCRIPTS_DIR}/cssmin.py
2578     COMMAND ${PYTHON_EXECUTABLE} ${JavaScriptCore_SCRIPTS_DIR}/cssmin.py < ${WEBCORE_DIR}/xml/XMLViewer.css > ${DERIVED_SOURCES_WEBCORE_DIR}/XMLViewer.min.css
2579     COMMAND ${PERL_EXECUTABLE} ${JavaScriptCore_SCRIPTS_DIR}/xxd.pl XMLViewer_css ${DERIVED_SOURCES_WEBCORE_DIR}/XMLViewer.min.css ${DERIVED_SOURCES_WEBCORE_DIR}/XMLViewerCSS.h
2580     VERBATIM)
2581 list(APPEND WebCore_DERIVED_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/XMLViewerCSS.h)
2582
2583 # Generate XMLViewerJS.h
2584 add_custom_command(
2585     OUTPUT ${DERIVED_SOURCES_WEBCORE_DIR}/XMLViewerJS.h ${DERIVED_SOURCES_WEBCORE_DIR}/XMLViewer.min.js
2586     MAIN_DEPENDENCY xml/XMLViewer.js
2587     DEPENDS ${JavaScriptCore_SCRIPTS_DIR}/xxd.pl ${JavaScriptCore_SCRIPTS_DIR}/jsmin.py
2588     COMMAND ${PYTHON_EXECUTABLE} ${JavaScriptCore_SCRIPTS_DIR}/jsmin.py < ${WEBCORE_DIR}/xml/XMLViewer.js > ${DERIVED_SOURCES_WEBCORE_DIR}/XMLViewer.min.js
2589     COMMAND ${PERL_EXECUTABLE} ${JavaScriptCore_SCRIPTS_DIR}/xxd.pl XMLViewer_js ${DERIVED_SOURCES_WEBCORE_DIR}/XMLViewer.min.js ${DERIVED_SOURCES_WEBCORE_DIR}/XMLViewerJS.h
2590     VERBATIM)
2591 list(APPEND WebCore_DERIVED_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/XMLViewerJS.h)
2592
2593 # Generate HTML entity table
2594 add_custom_command(
2595     OUTPUT ${DERIVED_SOURCES_WEBCORE_DIR}/HTMLEntityTable.cpp
2596     MAIN_DEPENDENCY ${WEBCORE_DIR}/html/parser/HTMLEntityNames.in
2597     DEPENDS ${WEBCORE_DIR}/html/parser/create-html-entity-table
2598     COMMAND ${PYTHON_EXECUTABLE} ${WEBCORE_DIR}/html/parser/create-html-entity-table -o ${DERIVED_SOURCES_WEBCORE_DIR}/HTMLEntityTable.cpp ${WEBCORE_DIR}/html/parser/HTMLEntityNames.in
2599     VERBATIM)
2600 list(APPEND WebCore_DERIVED_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/HTMLEntityTable.cpp)
2601
2602 # Generate HTTP header names
2603 add_custom_command(
2604     OUTPUT ${DERIVED_SOURCES_WEBCORE_DIR}/HTTPHeaderNames.cpp ${DERIVED_SOURCES_WEBCORE_DIR}/HTTPHeaderNames.gperf ${DERIVED_SOURCES_WEBCORE_DIR}/HTTPHeaderNames.h
2605     MAIN_DEPENDENCY ${WEBCORE_DIR}/platform/network/HTTPHeaderNames.in
2606     DEPENDS ${WEBCORE_DIR}/platform/network/create-http-header-name-table
2607     WORKING_DIRECTORY ${DERIVED_SOURCES_WEBCORE_DIR}
2608     COMMAND ${PYTHON_EXECUTABLE} ${WEBCORE_DIR}/platform/network/create-http-header-name-table ${WEBCORE_DIR}/platform/network/HTTPHeaderNames.in "${GPERF_EXECUTABLE}"
2609     VERBATIM)
2610 list(APPEND WebCore_DERIVED_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/HTTPHeaderNames.cpp)
2611
2612 # Generate CSS property names
2613 add_custom_command(
2614     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
2615     MAIN_DEPENDENCY ${WEBCORE_DIR}/css/makeprop.pl
2616     DEPENDS ${WebCore_CSS_PROPERTY_NAMES}
2617     WORKING_DIRECTORY ${DERIVED_SOURCES_WEBCORE_DIR}
2618     COMMAND ${PERL_EXECUTABLE} -ne "print" ${WebCore_CSS_PROPERTY_NAMES} > ${DERIVED_SOURCES_WEBCORE_DIR}/CSSProperties.json
2619     COMMAND ${PERL_EXECUTABLE} ${WEBCORE_DIR}/css/makeprop.pl --defines "${FEATURE_DEFINES_WITH_SPACE_SEPARATOR}" --gperf-executable "${GPERF_EXECUTABLE}"
2620     VERBATIM)
2621 list(APPEND WebCore_DERIVED_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/CSSPropertyNames.cpp)
2622 list(APPEND WebCore_DERIVED_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/StyleBuilder.cpp)
2623 list(APPEND WebCore_DERIVED_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/StylePropertyShorthandFunctions.cpp)
2624 ADD_SOURCE_WEBCORE_DERIVED_DEPENDENCIES(${WEBCORE_DIR}/css/CSSParser.cpp CSSValueKeywords.h)
2625
2626 # Generate CSS value keywords
2627 add_custom_command(
2628     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
2629     MAIN_DEPENDENCY ${WEBCORE_DIR}/css/makevalues.pl
2630     DEPENDS ${WebCore_CSS_VALUE_KEYWORDS}
2631     WORKING_DIRECTORY ${DERIVED_SOURCES_WEBCORE_DIR}
2632     COMMAND ${PERL_EXECUTABLE} -ne "print" ${WebCore_CSS_VALUE_KEYWORDS} > ${DERIVED_SOURCES_WEBCORE_DIR}/CSSValueKeywords.in
2633     COMMAND ${PERL_EXECUTABLE} ${WEBCORE_DIR}/css/makevalues.pl --defines "${FEATURE_DEFINES_WITH_SPACE_SEPARATOR}" --preprocessor "${CODE_GENERATOR_PREPROCESSOR}"
2634     VERBATIM)
2635 list(APPEND WebCore_DERIVED_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/CSSValueKeywords.cpp)
2636 ADD_SOURCE_WEBCORE_DERIVED_DEPENDENCIES(${WEBCORE_DIR}/css/CSSParser.cpp CSSValueKeywords.h)
2637 ADD_SOURCE_WEBCORE_DERIVED_DEPENDENCIES(${WEBCORE_DIR}/css/CSSPrimitiveValueMappings.h CSSValueKeywords.h)
2638
2639 # Generate CSS Selector pseudo type name to value maps.
2640 add_custom_command(
2641     OUTPUT ${DERIVED_SOURCES_WEBCORE_DIR}/SelectorPseudoClassAndCompatibilityElementMap.gperf ${DERIVED_SOURCES_WEBCORE_DIR}/SelectorPseudoClassAndCompatibilityElementMap.cpp
2642     MAIN_DEPENDENCY ${WEBCORE_DIR}/css/makeSelectorPseudoClassAndCompatibilityElementMap.py
2643     WORKING_DIRECTORY ${DERIVED_SOURCES_WEBCORE_DIR}
2644     COMMAND ${PYTHON_EXECUTABLE} ${WEBCORE_DIR}/css/makeSelectorPseudoClassAndCompatibilityElementMap.py ${WEBCORE_DIR}/css/SelectorPseudoClassAndCompatibilityElementMap.in "${GPERF_EXECUTABLE}" "${FEATURE_DEFINES_WITH_SPACE_SEPARATOR}"
2645     VERBATIM)
2646 list(APPEND WebCore_DERIVED_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/SelectorPseudoClassAndCompatibilityElementMap.cpp)
2647 add_custom_command(
2648     OUTPUT ${DERIVED_SOURCES_WEBCORE_DIR}/SelectorPseudoElementTypeMap.gperf ${DERIVED_SOURCES_WEBCORE_DIR}/SelectorPseudoElementTypeMap.cpp
2649     MAIN_DEPENDENCY ${WEBCORE_DIR}/css/makeSelectorPseudoElementsMap.py
2650     WORKING_DIRECTORY ${DERIVED_SOURCES_WEBCORE_DIR}
2651     COMMAND ${PYTHON_EXECUTABLE} ${WEBCORE_DIR}/css/makeSelectorPseudoElementsMap.py ${WEBCORE_DIR}/css/SelectorPseudoElementTypeMap.in "${GPERF_EXECUTABLE}" "${FEATURE_DEFINES_WITH_SPACE_SEPARATOR}"
2652     VERBATIM)
2653 list(APPEND WebCore_DERIVED_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/SelectorPseudoElementTypeMap.cpp)
2654
2655 # Generate user agent styles
2656 add_custom_command(
2657     OUTPUT ${DERIVED_SOURCES_WEBCORE_DIR}/UserAgentStyleSheetsData.cpp ${DERIVED_SOURCES_WEBCORE_DIR}/UserAgentStyleSheets.h
2658     MAIN_DEPENDENCY ${WEBCORE_DIR}/css/make-css-file-arrays.pl
2659     DEPENDS ${WebCore_USER_AGENT_STYLE_SHEETS} ${WEBCORE_DIR}/bindings/scripts/preprocessor.pm
2660     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}
2661     VERBATIM)
2662 list(APPEND WebCore_DERIVED_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/UserAgentStyleSheetsData.cpp)
2663 ADD_SOURCE_WEBCORE_DERIVED_DEPENDENCIES(${WEBCORE_DIR}/css/StyleResolver.cpp UserAgentStyleSheetsData.cpp UserAgentStyleSheets.h)
2664
2665 if (WebCore_USER_AGENT_SCRIPTS)
2666     # Necessary variables:
2667     # WebCore_USER_AGENT_SCRIPTS containing the JavaScript sources list
2668     # WebCore_USER_AGENT_SCRIPTS_DEPENDENCIES containing the source file that will load the scripts to add the proper
2669     #   dependency and having them built at the right moment
2670
2671     MAKE_JS_FILE_ARRAYS(
2672         ${DERIVED_SOURCES_WEBCORE_DIR}/UserAgentScriptsData.cpp
2673         ${DERIVED_SOURCES_WEBCORE_DIR}/UserAgentScripts.h
2674         WebCore
2675         WebCore_USER_AGENT_SCRIPTS
2676         WebCore_USER_AGENT_SCRIPTS_DEPENDENCIES
2677     )
2678     list(APPEND WebCore_DERIVED_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/UserAgentScriptsData.cpp)
2679 endif ()
2680
2681 # Generate plug-in resources
2682 add_custom_command(
2683     OUTPUT ${DERIVED_SOURCES_WEBCORE_DIR}/PlugInsResourcesData.cpp ${DERIVED_SOURCES_WEBCORE_DIR}/PlugInsResources.h
2684     MAIN_DEPENDENCY ${WEBCORE_DIR}/css/make-css-file-arrays.pl
2685     DEPENDS ${WebCore_PLUG_INS_RESOURCES} ${WEBCORE_DIR}/bindings/scripts/preprocessor.pm
2686     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}
2687     VERBATIM)
2688 list(APPEND WebCore_DERIVED_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/PlugInsResourcesData.cpp)
2689 ADD_SOURCE_WEBCORE_DERIVED_DEPENDENCIES(${WEBCORE_DIR}/css/StyleResolver.cpp PlugInsResourcesData.cpp PlugInsResources.h)
2690
2691 set(FEATURE_DEFINES_JAVASCRIPT "LANGUAGE_JAVASCRIPT ${FEATURE_DEFINES_WITH_SPACE_SEPARATOR}")
2692 list(APPEND WebCoreTestSupport_IDL_FILES ${DERIVED_SOURCES_WEBCORE_DIR}/InternalSettingsGenerated.idl)
2693
2694 GENERATE_BINDINGS(WebCoreBindings
2695     OUTPUT_SOURCE WebCore_DERIVED_SOURCES
2696     INPUT_FILES ${WebCore_IDL_FILES}
2697     BASE_DIR ${WEBCORE_DIR}
2698     IDL_INCLUDES ${WebCore_IDL_INCLUDES} ${DERIVED_SOURCES_WEBCORE_DIR}
2699     FEATURES ${FEATURE_DEFINES_JAVASCRIPT}
2700     DESTINATION ${DERIVED_SOURCES_WEBCORE_DIR}
2701     GENERATOR JS
2702     SUPPLEMENTAL_DEPFILE ${SUPPLEMENTAL_DEPENDENCY_FILE}
2703     PP_EXTRA_OUTPUT
2704         ${WINDOW_CONSTRUCTORS_FILE} ${WORKERGLOBALSCOPE_CONSTRUCTORS_FILE} ${DEDICATEDWORKERGLOBALSCOPE_CONSTRUCTORS_FILE}
2705     PP_EXTRA_ARGS
2706         --windowConstructorsFile ${WINDOW_CONSTRUCTORS_FILE}
2707         --workerGlobalScopeConstructorsFile ${WORKERGLOBALSCOPE_CONSTRUCTORS_FILE}
2708         --dedicatedWorkerGlobalScopeConstructorsFile ${DEDICATEDWORKERGLOBALSCOPE_CONSTRUCTORS_FILE}
2709         --serviceWorkerGlobalScopeConstructorsFile ${SERVICEWORKERGLOBALSCOPE_CONSTRUCTORS_FILE})
2710
2711 GENERATE_BINDINGS(WebCoreTestSupportBindings
2712     OUTPUT_SOURCE WebCoreTestSupport_SOURCES
2713     INPUT_FILES ${WebCoreTestSupport_IDL_FILES}
2714     BASE_DIR ${WEBCORE_DIR}
2715     IDL_INCLUDES ${WebCore_IDL_INCLUDES} ${DERIVED_SOURCES_WEBCORE_DIR} ${WebCoreTestSupport_IDL_INCLUDES}
2716     FEATURES ${FEATURE_DEFINES_JAVASCRIPT}
2717     DESTINATION ${DERIVED_SOURCES_WEBCORE_DIR}
2718     GENERATOR JS)
2719
2720 # WebCoreTestSupportBindings needs InternalSettingsGenerated.idl
2721 add_dependencies(WebCoreTestSupportBindings WebCoreDerivedSources)
2722
2723 # WebCore JS Builtins
2724
2725 set(WebCore_BUILTINS_SOURCES
2726     ${WEBCORE_DIR}/Modules/mediastream/NavigatorUserMedia.js
2727     ${WEBCORE_DIR}/Modules/mediastream/RTCPeerConnection.js
2728     ${WEBCORE_DIR}/Modules/mediastream/RTCPeerConnectionInternals.js
2729     ${WEBCORE_DIR}/Modules/streams/ByteLengthQueuingStrategy.js
2730     ${WEBCORE_DIR}/Modules/streams/CountQueuingStrategy.js
2731     ${WEBCORE_DIR}/Modules/streams/ReadableByteStreamController.js
2732     ${WEBCORE_DIR}/Modules/streams/ReadableByteStreamInternals.js
2733     ${WEBCORE_DIR}/Modules/streams/ReadableStream.js
2734     ${WEBCORE_DIR}/Modules/streams/ReadableStreamBYOBReader.js
2735     ${WEBCORE_DIR}/Modules/streams/ReadableStreamBYOBRequest.js
2736     ${WEBCORE_DIR}/Modules/streams/ReadableStreamDefaultController.js
2737     ${WEBCORE_DIR}/Modules/streams/ReadableStreamInternals.js
2738     ${WEBCORE_DIR}/Modules/streams/ReadableStreamDefaultReader.js
2739     ${WEBCORE_DIR}/Modules/streams/StreamInternals.js
2740     ${WEBCORE_DIR}/Modules/streams/WritableStream.js
2741     ${WEBCORE_DIR}/Modules/streams/WritableStreamInternals.js
2742     ${WEBCORE_DIR}/bindings/js/JSDOMBindingInternals.js
2743 )
2744
2745 set(BUILTINS_GENERATOR_SCRIPTS
2746     ${JavaScriptCore_SCRIPTS_DIR}/builtins.py
2747     ${JavaScriptCore_SCRIPTS_DIR}/builtins_generator.py
2748     ${JavaScriptCore_SCRIPTS_DIR}/builtins_model.py
2749     ${JavaScriptCore_SCRIPTS_DIR}/builtins_templates.py
2750     ${JavaScriptCore_SCRIPTS_DIR}/builtins_generate_combined_header.py
2751     ${JavaScriptCore_SCRIPTS_DIR}/builtins_generate_combined_implementation.py
2752     ${JavaScriptCore_SCRIPTS_DIR}/builtins_generate_separate_header.py
2753     ${JavaScriptCore_SCRIPTS_DIR}/builtins_generate_separate_implementation.py
2754     ${JavaScriptCore_SCRIPTS_DIR}/builtins_generate_wrapper_header.py
2755     ${JavaScriptCore_SCRIPTS_DIR}/builtins_generate_wrapper_implementation.py
2756     ${JavaScriptCore_SCRIPTS_DIR}/builtins_generate_internals_wrapper_header.py
2757     ${JavaScriptCore_SCRIPTS_DIR}/builtins_generate_internals_wrapper_implementation.py
2758     ${JavaScriptCore_SCRIPTS_DIR}/generate-js-builtins.py
2759     ${JavaScriptCore_SCRIPTS_DIR}/lazywriter.py
2760 )
2761
2762 foreach (_builtinSource ${WebCore_BUILTINS_SOURCES})
2763     get_filename_component(_objectName ${_builtinSource} NAME_WE)
2764     add_custom_command(
2765         OUTPUT ${DERIVED_SOURCES_WEBCORE_DIR}/${_objectName}Builtins.cpp
2766                ${DERIVED_SOURCES_WEBCORE_DIR}/${_objectName}Builtins.h
2767         MAIN_DEPENDENCY ${_builtinSource}
2768         DEPENDS ${BUILTINS_GENERATOR_SCRIPTS}
2769         COMMAND ${PYTHON_EXECUTABLE} ${JavaScriptCore_SCRIPTS_DIR}/generate-js-builtins.py --framework WebCore --output-directory ${DERIVED_SOURCES_WEBCORE_DIR} ${_builtinSource}
2770         VERBATIM)
2771     list(APPEND WebCore_DERIVED_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/${_objectName}Builtins.cpp)
2772     list(APPEND WebCore_DERIVED_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/${_objectName}Builtins.h)
2773     list(APPEND WebCore_DERIVED_BUILTIN_HEADERS ${DERIVED_SOURCES_WEBCORE_DIR}/${_objectName}Builtins.h)
2774 endforeach ()
2775
2776 add_custom_command(
2777     OUTPUT ${DERIVED_SOURCES_WEBCORE_DIR}/WebCoreJSBuiltins.cpp
2778            ${DERIVED_SOURCES_WEBCORE_DIR}/WebCoreJSBuiltinInternals.cpp
2779            ${DERIVED_SOURCES_WEBCORE_DIR}/WebCoreJSBuiltins.h
2780            ${DERIVED_SOURCES_WEBCORE_DIR}/WebCoreJSBuiltinInternals.h
2781     MAIN_DEPENDENCY ${WebCore_BUILTINS_SOURCES}
2782     DEPENDS ${BUILTINS_GENERATOR_SCRIPTS} ${WebCore_DERIVED_BUILTIN_HEADERS}
2783     COMMAND ${PYTHON_EXECUTABLE} ${JavaScriptCore_SCRIPTS_DIR}/generate-js-builtins.py --wrappers-only --framework WebCore --output-directory ${DERIVED_SOURCES_WEBCORE_DIR} ${WebCore_BUILTINS_SOURCES}
2784     VERBATIM)
2785 list(APPEND WebCore_DERIVED_SOURCES
2786     ${DERIVED_SOURCES_WEBCORE_DIR}/WebCoreJSBuiltins.cpp
2787     ${DERIVED_SOURCES_WEBCORE_DIR}/WebCoreJSBuiltinInternals.cpp
2788     ${DERIVED_SOURCES_WEBCORE_DIR}/WebCoreJSBuiltins.h
2789     ${DERIVED_SOURCES_WEBCORE_DIR}/WebCoreJSBuiltinInternals.h)
2790
2791 ADD_SOURCE_WEBCORE_DERIVED_DEPENDENCIES(${WEBCORE_DIR}/html/HTMLTreeBuilder.cpp MathMLNames.cpp)
2792
2793
2794 GENERATE_DOM_NAMES(HTML ${WEBCORE_DIR}/html/HTMLAttributeNames.in ${WEBCORE_DIR}/html/HTMLTagNames.in "")
2795 list(APPEND WebCore_DERIVED_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/HTMLNames.cpp ${DERIVED_SOURCES_WEBCORE_DIR}/HTMLElementFactory.cpp ${DERIVED_SOURCES_WEBCORE_DIR}/JSHTMLElementWrapperFactory.cpp)
2796
2797
2798 GENERATE_EVENT_FACTORY(${WEBCORE_DIR}/dom/EventNames.in EventInterfaces.h)
2799 list(APPEND WebCore_DERIVED_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/EventInterfaces.h)
2800
2801
2802 GENERATE_EVENT_FACTORY(${WEBCORE_DIR}/dom/EventTargetFactory.in EventTargetInterfaces.h)
2803 list(APPEND WebCore_DERIVED_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/EventTargetInterfaces.h)
2804
2805
2806 GENERATE_SETTINGS_MACROS(${WEBCORE_DIR}/page/Settings.yaml Settings.h)
2807 list(APPEND WebCore_DERIVED_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/Settings.h)
2808 list(APPEND WebCore_DERIVED_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/Settings.cpp)
2809 list(APPEND WebCoreTestSupport_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/InternalSettingsGenerated.cpp)
2810
2811
2812 GENERATE_FONT_NAMES(${WEBCORE_DIR}/css/WebKitFontFamilyNames.in)
2813 list(APPEND WebCore_DERIVED_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/WebKitFontFamilyNames.cpp)
2814
2815
2816 GENERATE_DOM_NAMES(MathML ${WEBCORE_DIR}/mathml/mathattrs.in ${WEBCORE_DIR}/mathml/mathtags.in "")
2817 list(APPEND WebCore_DERIVED_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/MathMLNames.cpp)
2818 if (ENABLE_MATHML)
2819     list(APPEND WebCore_DERIVED_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/MathMLElementFactory.cpp)
2820 endif ()
2821
2822 # SVG extra defines need to map to a numerical value for correct preprocessing of svgtags.in.
2823 set(SVG_EXTRA_DEFINES "")
2824 if (ENABLE_SVG_FONTS)
2825     list(APPEND SVG_EXTRA_DEFINES "ENABLE_SVG_FONTS=1")
2826 endif ()
2827
2828 GENERATE_DOM_NAMES(SVG ${WEBCORE_DIR}/svg/svgattrs.in ${WEBCORE_DIR}/svg/svgtags.in "${SVG_EXTRA_DEFINES}")
2829 list(APPEND WebCore_DERIVED_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/SVGNames.cpp)
2830
2831 list(APPEND WebCore_DERIVED_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/SVGElementFactory.cpp ${DERIVED_SOURCES_WEBCORE_DIR}/JSSVGElementWrapperFactory.cpp)
2832
2833 GENERATE_DOM_NAMES(XLink ${WEBCORE_DIR}/svg/xlinkattrs.in)
2834 list(APPEND WebCore_DERIVED_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/XLinkNames.cpp)
2835
2836
2837 GENERATE_DOM_NAMES(XMLNS ${WEBCORE_DIR}/xml/xmlnsattrs.in)
2838 list(APPEND WebCore_DERIVED_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/XMLNSNames.cpp)
2839
2840
2841 GENERATE_DOM_NAMES(XML ${WEBCORE_DIR}/xml/xmlattrs.in)
2842 list(APPEND WebCore_DERIVED_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/XMLNames.cpp)
2843
2844 if (ENABLE_ALLINONE_BUILD AND WIN32)
2845     message(STATUS "All-in-One DerivedSources build is enabled.")
2846     PROCESS_ALLINONE_FILE("${WebCore_DERIVED_SOURCES}" DerivedSources.cpp newSources TRUE)
2847     set(WebCore_DERIVED_SOURCES DerivedSources.cpp ${newSources})
2848 endif ()
2849
2850 WEBKIT_WRAP_SOURCELIST(${WebCore_IDL_FILES} ${WebCore_DERIVED_SOURCES})
2851 WEBKIT_COMPUTE_SOURCES(WebCore)
2852 WEBKIT_WRAP_SOURCELIST(${WebCore_SOURCES})
2853 WEBKIT_WRAP_SOURCELIST(${WebCoreTestSupport_IDL_FILES} ${WebCoreTestSupport_SOURCES})
2854
2855 if (MSVC)
2856     WEBKIT_ADD_PRECOMPILED_HEADER("WebCorePrefix.h" "WebCorePrefix.cpp" WebCore_SOURCES)
2857     WEBKIT_ADD_PRECOMPILED_HEADER("WebCorePrefix.h" "WebCoreDerivedSourcesPrefix.cpp" WebCore_DERIVED_SOURCES)
2858 endif ()
2859
2860 # This is split into a separate library as a workaround for command line length
2861 # limits. This should no longer be needed when CMake supports Ninja response
2862 # files on OS X.
2863 add_library(WebCoreDerivedSources STATIC ${WebCore_DERIVED_SOURCES})
2864 set_target_properties(WebCoreDerivedSources PROPERTIES OUTPUT_NAME WebCoreDerivedSources${DEBUG_SUFFIX})
2865 target_link_libraries(WebCoreDerivedSources ${WebCore_LIBRARIES})
2866 target_include_directories(WebCoreDerivedSources PUBLIC ${WebCore_INCLUDE_DIRECTORIES})
2867 add_dependencies(WebCoreDerivedSources WebCoreBindings)
2868 if (NOT WIN32)
2869     list(APPEND WebCore_LIBRARIES WebCoreDerivedSources)
2870 endif ()
2871
2872 WEBKIT_FRAMEWORK(WebCore)
2873
2874 if (APPLE)
2875     set_target_properties(WebCore PROPERTIES LINK_FLAGS "-sub_library libobjc -umbrella WebKit -allowable_client WebCoreTestSupport -allowable_client WebKit2 -allowable_client WebKitLegacy")
2876 endif ()
2877
2878 if (WIN32)
2879     add_custom_target(WebCoreDerivedSources_PreBuild COMMAND ${WebCore_DERIVED_SOURCES_PRE_BUILD_COMMAND} VERBATIM)
2880     add_dependencies(WebCoreDerivedSources WebCoreDerivedSources_PreBuild)
2881     add_dependencies(WebCore WebCoreDerivedSources)
2882 endif ()
2883
2884 # The -ftree-sra optimization (implicit with -O2) causes crashes when
2885 # allocating large chunks of memory using bmalloc on Intel 32bit.
2886 # See https://bugs.webkit.org/show_bug.cgi?id=146440
2887 string(TOLOWER ${CMAKE_HOST_SYSTEM_PROCESSOR} LOWERCASE_CMAKE_HOST_SYSTEM_PROCESSOR)
2888 if (CMAKE_COMPILER_IS_GNUCXX AND "${LOWERCASE_CMAKE_HOST_SYSTEM_PROCESSOR}" MATCHES "(i[3-6]86|x86)$")
2889     WEBKIT_ADD_TARGET_CXX_FLAGS(WebCore -fno-tree-sra)
2890 endif ()
2891
2892 if (MSVC)
2893     WEBKIT_ADD_PRECOMPILED_HEADER("WebCoreTestSupportPrefix.h" "testing/js/WebCoreTestSupportPrefix.cpp" WebCoreTestSupport_SOURCES)
2894 endif ()
2895
2896 add_library(WebCoreTestSupport ${WebCoreTestSupport_LIBRARY_TYPE} ${WebCoreTestSupport_SOURCES})
2897 add_dependencies(WebCoreTestSupport WebCore WebCoreTestSupportBindings)
2898 target_include_directories(WebCoreTestSupport PUBLIC ${WebCoreTestSupport_INCLUDE_DIRECTORIES} ${WebCore_INCLUDE_DIRECTORIES})
2899 target_link_libraries(WebCoreTestSupport ${WebCoreTestSupport_LIBRARIES})
2900
2901 if (WebCoreTestSupport_OUTPUT_NAME)
2902     set_target_properties(WebCoreTestSupport PROPERTIES OUTPUT_NAME ${WebCoreTestSupport_OUTPUT_NAME})
2903     if (MSVC)
2904         add_compile_options(/GF- /WX-)
2905     endif ()
2906 endif ()
2907
2908 if (ENABLE_GRAPHICS_CONTEXT_3D AND NOT WIN32)
2909     add_library(ANGLESupport STATIC ${ANGLESupport_SOURCES})
2910
2911     # Enable the ESSL and GLSL translators.
2912     set_property(TARGET ANGLESupport
2913         PROPERTY COMPILE_DEFINITIONS
2914         ANGLE_ENABLE_ESSL
2915         ANGLE_ENABLE_GLSL
2916         ${ANGLE_PLATFORM_DEFINITIONS})
2917
2918     target_include_directories(ANGLESupport PRIVATE
2919         "${THIRDPARTY_DIR}/ANGLE"
2920         "${THIRDPARTY_DIR}/ANGLE/include"
2921         "${THIRDPARTY_DIR}/ANGLE/include/KHR"
2922         "${THIRDPARTY_DIR}/ANGLE/src"
2923         "${THIRDPARTY_DIR}/ANGLE/src/common/third_party/numerics"
2924     )
2925     list(APPEND WebCore_LIBRARIES ANGLESupport)
2926
2927     if (COMPILER_IS_GCC_OR_CLANG)
2928         WEBKIT_ADD_TARGET_CXX_FLAGS(ANGLESupport -Wno-implicit-fallthrough
2929                                                  -Wno-inconsistent-missing-override
2930                                                  -Wno-null-conversion
2931                                                  -Wno-suggest-attribute=format
2932                                                  -Wno-unused-function
2933                                                  -Wno-unused-parameter)
2934     endif ()
2935 endif ()
2936
2937 target_link_libraries(WebCore ${WebCore_LIBRARIES})
2938
2939 if (SHARED_CORE)
2940     set_target_properties(WebCore PROPERTIES VERSION ${PROJECT_VERSION} SOVERSION ${PROJECT_VERSION_MAJOR})
2941     install(TARGETS WebCore DESTINATION "${LIB_INSTALL_DIR}")
2942 endif ()
2943
2944 if (MSVC)
2945     set_target_properties(WebCore PROPERTIES
2946         COMPILE_PDB_NAME ${WebCore_OUTPUT_NAME}
2947     )
2948 endif ()