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