Add initial implementation for serviceWorker.postMessage()
[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     inspector/CommandLineAPIHost.cpp
1206     inspector/CommandLineAPIModule.cpp
1207     inspector/DOMEditor.cpp
1208     inspector/DOMPatchSupport.cpp
1209     inspector/InspectorApplicationCacheAgent.cpp
1210     inspector/InspectorCSSAgent.cpp
1211     inspector/InspectorCanvas.cpp
1212     inspector/InspectorCanvasAgent.cpp
1213     inspector/InspectorClient.cpp
1214     inspector/InspectorController.cpp
1215     inspector/InspectorDOMAgent.cpp
1216     inspector/InspectorDOMDebuggerAgent.cpp
1217     inspector/InspectorDOMStorageAgent.cpp
1218     inspector/InspectorDatabaseAgent.cpp
1219     inspector/InspectorDatabaseResource.cpp
1220     inspector/InspectorFrontendClientLocal.cpp
1221     inspector/InspectorFrontendHost.cpp
1222     inspector/InspectorHistory.cpp
1223     inspector/InspectorIndexedDBAgent.cpp
1224     inspector/InspectorInstrumentation.cpp
1225     inspector/InspectorInstrumentationCookie.cpp
1226     inspector/InspectorLayerTreeAgent.cpp
1227     inspector/InspectorMemoryAgent.cpp
1228     inspector/InspectorNetworkAgent.cpp
1229     inspector/InspectorNodeFinder.cpp
1230     inspector/InspectorOverlay.cpp
1231     inspector/InspectorPageAgent.cpp
1232     inspector/InspectorStyleSheet.cpp
1233     inspector/InspectorTimelineAgent.cpp
1234     inspector/InspectorWorkerAgent.cpp
1235     inspector/InstrumentingAgents.cpp
1236     inspector/NetworkResourcesData.cpp
1237     inspector/PageConsoleAgent.cpp
1238     inspector/PageDebuggerAgent.cpp
1239     inspector/PageHeapAgent.cpp
1240     inspector/PageRuntimeAgent.cpp
1241     inspector/PageScriptDebugServer.cpp
1242     inspector/TimelineRecordFactory.cpp
1243     inspector/WebConsoleAgent.cpp
1244     inspector/WebDebuggerAgent.cpp
1245     inspector/WebHeapAgent.cpp
1246     inspector/WebInjectedScriptHost.cpp
1247     inspector/WebInjectedScriptManager.cpp
1248     inspector/WorkerConsoleAgent.cpp
1249     inspector/WorkerDebuggerAgent.cpp
1250     inspector/WorkerInspectorController.cpp
1251     inspector/WorkerRuntimeAgent.cpp
1252     inspector/WorkerScriptDebugServer.cpp
1253
1254     loader/ContentFilter.cpp
1255     loader/CookieJar.cpp
1256     loader/CrossOriginAccessControl.cpp
1257     loader/CrossOriginPreflightChecker.cpp
1258     loader/CrossOriginPreflightResultCache.cpp
1259     loader/DocumentLoader.cpp
1260     loader/DocumentThreadableLoader.cpp
1261     loader/DocumentWriter.cpp
1262     loader/EmptyClients.cpp
1263     loader/FTPDirectoryParser.cpp
1264     loader/FormState.cpp
1265     loader/FormSubmission.cpp
1266     loader/FrameLoadRequest.cpp
1267     loader/FrameLoader.cpp
1268     loader/FrameLoaderStateMachine.cpp
1269     loader/HTTPHeaderField.cpp
1270     loader/HistoryController.cpp
1271     loader/ImageLoader.cpp
1272     loader/LinkHeader.cpp
1273     loader/LinkLoader.cpp
1274     loader/LinkPreloadResourceClients.cpp
1275     loader/LoadTiming.cpp
1276     loader/LoaderStrategy.cpp
1277     loader/MediaResourceLoader.cpp
1278     loader/MixedContentChecker.cpp
1279     loader/NavigationAction.cpp
1280     loader/NavigationScheduler.cpp
1281     loader/NetscapePlugInStreamLoader.cpp
1282     loader/PingLoader.cpp
1283     loader/PolicyChecker.cpp
1284     loader/ProgressTracker.cpp
1285     loader/ResourceCryptographicDigest.cpp
1286     loader/ResourceLoadNotifier.cpp
1287     loader/ResourceLoadObserver.cpp
1288     loader/ResourceLoadStatistics.cpp
1289     loader/ResourceLoader.cpp
1290     loader/ResourceTiming.cpp
1291     loader/ResourceTimingInformation.cpp
1292     loader/SinkDocument.cpp
1293     loader/SubframeLoader.cpp
1294     loader/SubresourceIntegrity.cpp
1295     loader/SubresourceLoader.cpp
1296     loader/TextResourceDecoder.cpp
1297     loader/TextTrackLoader.cpp
1298     loader/ThreadableLoader.cpp
1299     loader/WorkerThreadableLoader.cpp
1300
1301     loader/appcache/ApplicationCache.cpp
1302     loader/appcache/ApplicationCacheGroup.cpp
1303     loader/appcache/ApplicationCacheHost.cpp
1304     loader/appcache/ApplicationCacheResource.cpp
1305     loader/appcache/ApplicationCacheStorage.cpp
1306     loader/appcache/DOMApplicationCache.cpp
1307     loader/appcache/ManifestParser.cpp
1308
1309     loader/archive/Archive.cpp
1310     loader/archive/ArchiveFactory.cpp
1311     loader/archive/ArchiveResource.cpp
1312     loader/archive/ArchiveResourceCollection.cpp
1313
1314     loader/archive/mhtml/MHTMLArchive.cpp
1315     loader/archive/mhtml/MHTMLParser.cpp
1316
1317     loader/cache/CachedCSSStyleSheet.cpp
1318     loader/cache/CachedFont.cpp
1319     loader/cache/CachedImage.cpp
1320     loader/cache/CachedRawResource.cpp
1321     loader/cache/CachedResource.cpp
1322     loader/cache/CachedResourceHandle.cpp
1323     loader/cache/CachedResourceLoader.cpp
1324     loader/cache/CachedResourceRequest.cpp
1325     loader/cache/CachedResourceRequestInitiators.cpp
1326     loader/cache/CachedSVGDocument.cpp
1327     loader/cache/CachedSVGDocumentReference.cpp
1328     loader/cache/CachedSVGFont.cpp
1329     loader/cache/CachedScript.cpp
1330     loader/cache/CachedXSLStyleSheet.cpp
1331     loader/cache/KeepaliveRequestTracker.cpp
1332     loader/cache/MemoryCache.cpp
1333
1334     loader/icon/IconLoader.cpp
1335
1336     mathml/MathMLAnnotationElement.cpp
1337     mathml/MathMLElement.cpp
1338     mathml/MathMLFractionElement.cpp
1339     mathml/MathMLMathElement.cpp
1340     mathml/MathMLMencloseElement.cpp
1341     mathml/MathMLOperatorDictionary.cpp
1342     mathml/MathMLOperatorElement.cpp
1343     mathml/MathMLPaddedElement.cpp
1344     mathml/MathMLPresentationElement.cpp
1345     mathml/MathMLRowElement.cpp
1346     mathml/MathMLScriptsElement.cpp
1347     mathml/MathMLSelectElement.cpp
1348     mathml/MathMLSpaceElement.cpp
1349     mathml/MathMLTokenElement.cpp
1350     mathml/MathMLUnderOverElement.cpp
1351
1352     page/AutoscrollController.cpp
1353     page/BarProp.cpp
1354     page/Base64Utilities.cpp
1355     page/CaptionUserPreferences.cpp
1356     page/Chrome.cpp
1357     page/ContextMenuContext.cpp
1358     page/ContextMenuController.cpp
1359     page/Crypto.cpp
1360     page/DOMSelection.cpp
1361     page/DOMTimer.cpp
1362     page/DOMWindow.cpp
1363     page/DOMWindowExtension.cpp
1364     page/DOMWindowProperty.cpp
1365     page/DatabaseProvider.cpp
1366     page/DebugPageOverlays.cpp
1367     page/DeprecatedGlobalSettings.cpp
1368     page/DeviceController.cpp
1369     page/DiagnosticLoggingKeys.cpp
1370     page/DragController.cpp
1371     page/EventHandler.cpp
1372     page/EventSource.cpp
1373     page/FocusController.cpp
1374     page/Frame.cpp
1375     page/FrameDestructionObserver.cpp
1376     page/FrameSnapshotting.cpp
1377     page/FrameTree.cpp
1378     page/FrameView.cpp
1379     page/History.cpp
1380     page/IntersectionObserver.cpp
1381     page/IntersectionObserverEntry.cpp
1382     page/Location.cpp
1383     page/MainFrame.cpp
1384     page/MemoryRelease.cpp
1385     page/MouseEventWithHitTestResults.cpp
1386     page/Navigator.cpp
1387     page/NavigatorBase.cpp
1388     page/OriginAccessEntry.cpp
1389     page/Page.cpp
1390     page/PageConfiguration.cpp
1391     page/PageConsoleClient.cpp
1392     page/PageDebuggable.cpp
1393     page/PageGroup.cpp
1394     page/PageGroupLoadDeferrer.cpp
1395     page/PageOverlay.cpp
1396     page/PageOverlayController.cpp
1397     page/PageSerializer.cpp
1398     page/Performance.cpp
1399     page/PerformanceEntry.cpp
1400     page/PerformanceLogging.cpp
1401     page/PerformanceLoggingClient.cpp
1402     page/PerformanceMonitor.cpp
1403     page/PerformanceNavigation.cpp
1404     page/PerformanceObserver.cpp
1405     page/PerformanceObserverEntryList.cpp
1406     page/PerformanceResourceTiming.cpp
1407     page/PerformanceTiming.cpp
1408     page/PerformanceUserTiming.cpp
1409     page/PointerLockController.cpp
1410     page/PrintContext.cpp
1411     page/ResourceUsageData.cpp
1412     page/ResourceUsageOverlay.cpp
1413     page/ResourceUsageThread.cpp
1414     page/RuntimeEnabledFeatures.cpp
1415     page/Screen.cpp
1416     page/SecurityOrigin.cpp
1417     page/SecurityOriginData.cpp
1418     page/SecurityPolicy.cpp
1419     page/SettingsBase.cpp
1420     page/SocketProvider.cpp
1421     page/SpatialNavigation.cpp
1422     page/SuspendableTimer.cpp
1423     page/TextIndicator.cpp
1424     page/UserContentProvider.cpp
1425     page/UserContentController.cpp
1426     page/UserContentURLPattern.cpp
1427     page/VisitedLinkStore.cpp
1428     page/WheelEventDeltaFilter.cpp
1429     page/WheelEventTestTrigger.cpp
1430     page/WindowFeatures.cpp
1431     page/WindowFocusAllowedIndicator.cpp
1432     page/WorkerNavigator.cpp
1433
1434     page/animation/AnimationBase.cpp
1435     page/animation/CSSAnimationController.cpp
1436     page/animation/CSSPropertyAnimation.cpp
1437     page/animation/CompositeAnimation.cpp
1438     page/animation/ImplicitAnimation.cpp
1439     page/animation/KeyframeAnimation.cpp
1440
1441     page/csp/ContentSecurityPolicy.cpp
1442     page/csp/ContentSecurityPolicyDirective.cpp
1443     page/csp/ContentSecurityPolicyDirectiveList.cpp
1444     page/csp/ContentSecurityPolicyDirectiveNames.cpp
1445     page/csp/ContentSecurityPolicyMediaListDirective.cpp
1446     page/csp/ContentSecurityPolicyResponseHeaders.cpp
1447     page/csp/ContentSecurityPolicySource.cpp
1448     page/csp/ContentSecurityPolicySourceList.cpp
1449     page/csp/ContentSecurityPolicySourceListDirective.cpp
1450
1451     page/scrolling/AxisScrollSnapOffsets.cpp
1452     page/scrolling/ScrollLatchingState.cpp
1453     page/scrolling/ScrollingConstraints.cpp
1454     page/scrolling/ScrollingCoordinator.cpp
1455     page/scrolling/ScrollingStateFixedNode.cpp
1456     page/scrolling/ScrollingStateFrameScrollingNode.cpp
1457     page/scrolling/ScrollingStateNode.cpp
1458     page/scrolling/ScrollingStateOverflowScrollingNode.cpp
1459     page/scrolling/ScrollingStateScrollingNode.cpp
1460     page/scrolling/ScrollingStateStickyNode.cpp
1461     page/scrolling/ScrollingStateTree.cpp
1462     page/scrolling/ScrollingThread.cpp
1463     page/scrolling/ScrollingTree.cpp
1464     page/scrolling/ScrollingTreeFrameScrollingNode.cpp
1465     page/scrolling/ScrollingTreeNode.cpp
1466     page/scrolling/ScrollingTreeOverflowScrollingNode.cpp
1467     page/scrolling/ScrollingTreeScrollingNode.cpp
1468     page/scrolling/ThreadedScrollingTree.cpp
1469
1470     platform/CalculationValue.cpp
1471     platform/ContentType.cpp
1472     platform/ContextMenu.cpp
1473     platform/ContextMenuItem.cpp
1474     platform/Cursor.cpp
1475     platform/DateComponents.cpp
1476     platform/Decimal.cpp
1477     platform/DragData.cpp
1478     platform/DragImage.cpp
1479     platform/EventTrackingRegions.cpp
1480     platform/FileChooser.cpp
1481     platform/FileHandle.cpp
1482     platform/FileMonitor.cpp
1483     platform/FileStream.cpp
1484     platform/FileSystem.cpp
1485     platform/GenericTaskQueue.cpp
1486     platform/LayoutUnit.cpp
1487     platform/Length.cpp
1488     platform/LengthBox.cpp
1489     platform/LengthPoint.cpp
1490     platform/LengthSize.cpp
1491     platform/LocalizedStrings.cpp
1492     platform/Logging.cpp
1493     platform/LowPowerModeNotifier.cpp
1494     platform/MIMETypeRegistry.cpp
1495     platform/MainThreadSharedTimer.cpp
1496     platform/NotImplemented.cpp
1497     platform/Pasteboard.cpp
1498     platform/PasteboardWriterData.cpp
1499     platform/PlatformSpeechSynthesisUtterance.cpp
1500     platform/PlatformSpeechSynthesisVoice.cpp
1501     platform/PlatformSpeechSynthesizer.cpp
1502     platform/PlatformStrategies.cpp
1503     platform/RemoteCommandListener.cpp
1504     platform/RuntimeApplicationChecks.cpp
1505     platform/SchemeRegistry.cpp
1506     platform/ScrollAnimator.cpp
1507     platform/ScrollView.cpp
1508     platform/ScrollableArea.cpp
1509     platform/Scrollbar.cpp
1510     platform/ScrollbarTheme.cpp
1511     platform/ScrollbarThemeComposite.cpp
1512     platform/SharedBuffer.cpp
1513     platform/SharedBufferChunkReader.cpp
1514     platform/SharedStringHash.cpp
1515     platform/StaticPasteboard.cpp
1516     platform/Theme.cpp
1517     platform/ThreadGlobalData.cpp
1518     platform/ThreadTimers.cpp
1519     platform/Timer.cpp
1520     platform/URL.cpp
1521     platform/URLParser.cpp
1522     platform/UserActivity.cpp
1523     platform/WebCoreCrossThreadCopier.cpp
1524     platform/WebGLStateTracker.cpp
1525     platform/Widget.cpp
1526
1527     platform/animation/Animation.cpp
1528     platform/animation/AnimationList.cpp
1529     platform/animation/TimingFunction.cpp
1530
1531     platform/audio/AudioBus.cpp
1532     platform/audio/AudioChannel.cpp
1533     platform/audio/AudioDSPKernelProcessor.cpp
1534     platform/audio/AudioFIFO.cpp
1535     platform/audio/AudioHardwareListener.cpp
1536     platform/audio/AudioPullFIFO.cpp
1537     platform/audio/AudioResampler.cpp
1538     platform/audio/AudioResamplerKernel.cpp
1539     platform/audio/AudioUtilities.cpp
1540     platform/audio/Biquad.cpp
1541     platform/audio/Cone.cpp
1542     platform/audio/DirectConvolver.cpp
1543     platform/audio/Distance.cpp
1544     platform/audio/DownSampler.cpp
1545     platform/audio/DynamicsCompressor.cpp
1546     platform/audio/DynamicsCompressorKernel.cpp
1547     platform/audio/EqualPowerPanner.cpp
1548     platform/audio/FFTConvolver.cpp
1549     platform/audio/FFTFrame.cpp
1550     platform/audio/HRTFDatabase.cpp
1551     platform/audio/HRTFDatabaseLoader.cpp
1552     platform/audio/HRTFElevation.cpp
1553     platform/audio/HRTFKernel.cpp
1554     platform/audio/HRTFPanner.cpp
1555     platform/audio/MultiChannelResampler.cpp
1556     platform/audio/Panner.cpp
1557     platform/audio/PlatformMediaSession.cpp
1558     platform/audio/PlatformMediaSessionManager.cpp
1559     platform/audio/Reverb.cpp
1560     platform/audio/ReverbAccumulationBuffer.cpp
1561     platform/audio/ReverbConvolver.cpp
1562     platform/audio/ReverbConvolverStage.cpp
1563     platform/audio/ReverbInputBuffer.cpp
1564     platform/audio/SincResampler.cpp
1565     platform/audio/UpSampler.cpp
1566     platform/audio/VectorMath.cpp
1567     platform/audio/ZeroPole.cpp
1568
1569     platform/encryptedmedia/CDMFactory.cpp
1570
1571     platform/graphics/BitmapImage.cpp
1572     platform/graphics/Color.cpp
1573     platform/graphics/ComplexTextController.cpp
1574     platform/graphics/CrossfadeGeneratedImage.cpp
1575     platform/graphics/DisplayRefreshMonitor.cpp
1576     platform/graphics/DisplayRefreshMonitorClient.cpp
1577     platform/graphics/DisplayRefreshMonitorManager.cpp
1578     platform/graphics/ExtendedColor.cpp
1579     platform/graphics/FloatPoint.cpp
1580     platform/graphics/FloatPoint3D.cpp
1581     platform/graphics/FloatPolygon.cpp
1582     platform/graphics/FloatQuad.cpp
1583     platform/graphics/FloatRect.cpp
1584     platform/graphics/FloatRoundedRect.cpp
1585     platform/graphics/FloatSize.cpp
1586     platform/graphics/Font.cpp
1587     platform/graphics/FontCache.cpp
1588     platform/graphics/FontCascade.cpp
1589     platform/graphics/FontCascadeFonts.cpp
1590     platform/graphics/FontDescription.cpp
1591     platform/graphics/FontFamilySpecificationNull.cpp
1592     platform/graphics/FontSelectionAlgorithm.cpp
1593     platform/graphics/FontTaggedSettings.cpp
1594     platform/graphics/FontGenericFamilies.cpp
1595     platform/graphics/FontPlatformData.cpp
1596     platform/graphics/FontRanges.cpp
1597     platform/graphics/GeneratedImage.cpp
1598     platform/graphics/GeometryUtilities.cpp
1599     platform/graphics/Gradient.cpp
1600     platform/graphics/GradientImage.cpp
1601     platform/graphics/GraphicsContext.cpp
1602     platform/graphics/GraphicsLayer.cpp
1603     platform/graphics/GraphicsLayerTransform.cpp
1604     platform/graphics/GraphicsLayerUpdater.cpp
1605     platform/graphics/GraphicsTypes.cpp
1606     platform/graphics/ISOVTTCue.cpp
1607     platform/graphics/Image.cpp
1608     platform/graphics/ImageBuffer.cpp
1609     platform/graphics/ImageDecoder.cpp
1610     platform/graphics/ImageFrame.cpp
1611     platform/graphics/ImageFrameCache.cpp
1612     platform/graphics/ImageOrientation.cpp
1613     platform/graphics/ImageSource.cpp
1614     platform/graphics/IntPoint.cpp
1615     platform/graphics/IntRect.cpp
1616     platform/graphics/IntSize.cpp
1617     platform/graphics/LayoutPoint.cpp
1618     platform/graphics/LayoutRect.cpp
1619     platform/graphics/LayoutSize.cpp
1620     platform/graphics/MediaPlayer.cpp
1621     platform/graphics/NamedImageGeneratedImage.cpp
1622     platform/graphics/Path.cpp
1623     platform/graphics/PathTraversalState.cpp
1624     platform/graphics/PathUtilities.cpp
1625     platform/graphics/Pattern.cpp
1626     platform/graphics/PlatformTimeRanges.cpp
1627     platform/graphics/Region.cpp
1628     platform/graphics/RoundedRect.cpp
1629     platform/graphics/ShadowBlur.cpp
1630     platform/graphics/StringTruncator.cpp
1631     platform/graphics/SurrogatePairAwareTextIterator.cpp
1632     platform/graphics/TextRun.cpp
1633     platform/graphics/WOFFFileFormat.cpp
1634     platform/graphics/WidthIterator.cpp
1635
1636     platform/graphics/cpu/arm/filters/FELightingNEON.cpp
1637
1638     platform/graphics/displaylists/DisplayList.cpp
1639     platform/graphics/displaylists/DisplayListItems.cpp
1640     platform/graphics/displaylists/DisplayListRecorder.cpp
1641     platform/graphics/displaylists/DisplayListReplayer.cpp
1642
1643     platform/graphics/filters/DistantLightSource.cpp
1644     platform/graphics/filters/FEBlend.cpp
1645     platform/graphics/filters/FEColorMatrix.cpp
1646     platform/graphics/filters/FEComponentTransfer.cpp
1647     platform/graphics/filters/FEComposite.cpp
1648     platform/graphics/filters/FEConvolveMatrix.cpp
1649     platform/graphics/filters/FEDiffuseLighting.cpp
1650     platform/graphics/filters/FEDisplacementMap.cpp
1651     platform/graphics/filters/FEDropShadow.cpp
1652     platform/graphics/filters/FEFlood.cpp
1653     platform/graphics/filters/FEGaussianBlur.cpp
1654     platform/graphics/filters/FELighting.cpp
1655     platform/graphics/filters/FEMerge.cpp
1656     platform/graphics/filters/FEMorphology.cpp
1657     platform/graphics/filters/FEOffset.cpp
1658     platform/graphics/filters/FESpecularLighting.cpp
1659     platform/graphics/filters/FETile.cpp
1660     platform/graphics/filters/FETurbulence.cpp
1661     platform/graphics/filters/FilterEffect.cpp
1662     platform/graphics/filters/FilterOperation.cpp
1663     platform/graphics/filters/FilterOperations.cpp
1664     platform/graphics/filters/PointLightSource.cpp
1665     platform/graphics/filters/SourceAlpha.cpp
1666     platform/graphics/filters/SourceGraphic.cpp
1667     platform/graphics/filters/SpotLightSource.cpp
1668
1669     platform/graphics/gpu/GPUBuffer.cpp
1670     platform/graphics/gpu/GPUCommandBuffer.cpp
1671     platform/graphics/gpu/GPUCommandQueue.cpp
1672     platform/graphics/gpu/GPUComputeCommandEncoder.cpp
1673     platform/graphics/gpu/GPUComputePipelineState.cpp
1674     platform/graphics/gpu/GPUDepthStencilDescriptor.cpp
1675     platform/graphics/gpu/GPUDepthStencilState.cpp
1676     platform/graphics/gpu/GPUDevice.cpp
1677     platform/graphics/gpu/GPUDrawable.cpp
1678     platform/graphics/gpu/GPUFunction.cpp
1679     platform/graphics/gpu/GPULibrary.cpp
1680     platform/graphics/gpu/GPURenderCommandEncoder.cpp
1681     platform/graphics/gpu/GPURenderPassAttachmentDescriptor.cpp
1682     platform/graphics/gpu/GPURenderPassColorAttachmentDescriptor.cpp
1683     platform/graphics/gpu/GPURenderPassDepthAttachmentDescriptor.cpp
1684     platform/graphics/gpu/GPURenderPassDescriptor.cpp
1685     platform/graphics/gpu/GPURenderPipelineColorAttachmentDescriptor.cpp
1686     platform/graphics/gpu/GPURenderPipelineDescriptor.cpp
1687     platform/graphics/gpu/GPURenderPipelineState.cpp
1688     platform/graphics/gpu/GPUTexture.cpp
1689     platform/graphics/gpu/GPUTextureDescriptor.cpp
1690
1691     platform/graphics/opentype/OpenTypeMathData.cpp
1692
1693     platform/graphics/transforms/AffineTransform.cpp
1694     platform/graphics/transforms/Matrix3DTransformOperation.cpp
1695     platform/graphics/transforms/MatrixTransformOperation.cpp
1696     platform/graphics/transforms/PerspectiveTransformOperation.cpp
1697     platform/graphics/transforms/RotateTransformOperation.cpp
1698     platform/graphics/transforms/ScaleTransformOperation.cpp
1699     platform/graphics/transforms/SkewTransformOperation.cpp
1700     platform/graphics/transforms/TransformOperation.cpp
1701     platform/graphics/transforms/TransformOperations.cpp
1702     platform/graphics/transforms/TransformState.cpp
1703     platform/graphics/transforms/TransformationMatrix.cpp
1704     platform/graphics/transforms/TranslateTransformOperation.cpp
1705
1706     platform/mediastream/CaptureDeviceManager.cpp
1707     platform/mediastream/MediaConstraints.cpp
1708     platform/mediastream/MediaEndpointConfiguration.cpp
1709     platform/mediastream/MediaStreamPrivate.cpp
1710     platform/mediastream/MediaStreamTrackPrivate.cpp
1711     platform/mediastream/RealtimeMediaSourceSupportedConstraints.cpp
1712     platform/mediastream/RTCIceCandidateDescriptor.cpp
1713     platform/mediastream/RTCSessionDescriptionDescriptor.cpp
1714     platform/mediastream/RealtimeIncomingAudioSource.cpp
1715     platform/mediastream/RealtimeIncomingVideoSource.cpp
1716     platform/mediastream/RealtimeMediaSource.cpp
1717     platform/mediastream/RealtimeMediaSourceCenter.cpp
1718     platform/mediastream/RealtimeMediaSourceSettings.cpp
1719     platform/mediastream/RealtimeOutgoingAudioSource.cpp
1720     platform/mediastream/RealtimeOutgoingVideoSource.cpp
1721
1722     platform/mediastream/libwebrtc/LibWebRTCProvider.cpp
1723
1724     platform/mock/DeviceOrientationClientMock.cpp
1725     platform/mock/GeolocationClientMock.cpp
1726     platform/mock/MockRealtimeAudioSource.cpp
1727     platform/mock/MockRealtimeMediaSource.cpp
1728     platform/mock/MockRealtimeMediaSourceCenter.cpp
1729     platform/mock/MockRealtimeVideoSource.cpp
1730     platform/mock/RTCDataChannelHandlerMock.cpp
1731     platform/mock/RTCNotifiersMock.cpp
1732     platform/mock/ScrollAnimatorMock.cpp
1733     platform/mock/ScrollbarThemeMock.cpp
1734
1735     platform/network/AuthenticationChallengeBase.cpp
1736     platform/network/BlobData.cpp
1737     platform/network/BlobDataFileReference.cpp
1738     platform/network/BlobRegistry.cpp
1739     platform/network/BlobRegistryImpl.cpp
1740     platform/network/BlobResourceHandle.cpp
1741     platform/network/CacheValidation.cpp
1742     platform/network/Cookie.cpp
1743     platform/network/CredentialBase.cpp
1744     platform/network/CredentialStorage.cpp
1745     platform/network/DNSResolveQueue.cpp
1746     platform/network/DataURLDecoder.cpp
1747     platform/network/FormData.cpp
1748     platform/network/FormDataBuilder.cpp
1749     platform/network/HTTPHeaderMap.cpp
1750     platform/network/HTTPHeaderValues.cpp
1751     platform/network/HTTPParsers.cpp
1752     platform/network/MIMEHeader.cpp
1753     platform/network/NetworkStateNotifier.cpp
1754     platform/network/NetworkStorageSession.cpp
1755     platform/network/ParsedContentRange.cpp
1756     platform/network/ParsedContentType.cpp
1757     platform/network/ProtectionSpaceBase.cpp
1758     platform/network/ProxyServer.cpp
1759     platform/network/ResourceErrorBase.cpp
1760     platform/network/ResourceHandle.cpp
1761     platform/network/ResourceHandleClient.cpp
1762     platform/network/ResourceRequestBase.cpp
1763     platform/network/ResourceResponseBase.cpp
1764     platform/network/SocketStreamHandle.cpp
1765     platform/network/SocketStreamHandleImpl.cpp
1766     platform/network/SynchronousLoaderClient.cpp
1767
1768     platform/sql/SQLiteAuthorizer.cpp
1769     platform/sql/SQLiteDatabase.cpp
1770     platform/sql/SQLiteDatabaseTracker.cpp
1771     platform/sql/SQLiteFileSystem.cpp
1772     platform/sql/SQLiteStatement.cpp
1773     platform/sql/SQLiteTransaction.cpp
1774
1775     platform/text/BidiContext.cpp
1776     platform/text/DateTimeFormat.cpp
1777     platform/text/LocaleToScriptMappingDefault.cpp
1778     platform/text/PlatformLocale.cpp
1779     platform/text/QuotedPrintable.cpp
1780     platform/text/SegmentedString.cpp
1781     platform/text/TextBoundaries.cpp
1782     platform/text/TextCodec.cpp
1783     platform/text/TextCodecICU.cpp
1784     platform/text/TextCodecLatin1.cpp
1785     platform/text/TextCodecReplacement.cpp
1786     platform/text/TextCodecUTF16.cpp
1787     platform/text/TextCodecUTF8.cpp
1788     platform/text/TextCodecUserDefined.cpp
1789     platform/text/TextEncoding.cpp
1790     platform/text/TextEncodingDetectorICU.cpp
1791     platform/text/TextEncodingRegistry.cpp
1792
1793     plugins/DOMMimeType.cpp
1794     plugins/DOMMimeTypeArray.cpp
1795     plugins/DOMPlugin.cpp
1796     plugins/DOMPluginArray.cpp
1797     plugins/PluginData.cpp
1798     plugins/PluginInfoProvider.cpp
1799
1800     rendering/AutoTableLayout.cpp
1801     rendering/BidiRun.cpp
1802     rendering/BorderEdge.cpp
1803     rendering/BreakLines.cpp
1804     rendering/ClipRect.cpp
1805     rendering/CounterNode.cpp
1806     rendering/EllipsisBox.cpp
1807     rendering/FilterEffectRenderer.cpp
1808     rendering/FlexibleBoxAlgorithm.cpp
1809     rendering/FixedTableLayout.cpp
1810     rendering/FloatingObjects.cpp
1811     rendering/Grid.cpp
1812     rendering/GridTrackSizingAlgorithm.cpp
1813     rendering/HitTestLocation.cpp
1814     rendering/HitTestResult.cpp
1815     rendering/HitTestingTransformState.cpp
1816     rendering/ImageQualityController.cpp
1817     rendering/InlineBox.cpp
1818     rendering/InlineElementBox.cpp
1819     rendering/InlineFlowBox.cpp
1820     rendering/InlineIterator.cpp
1821     rendering/InlineTextBox.cpp
1822     rendering/LayoutDisallowedScope.cpp
1823     rendering/LayoutRepainter.cpp
1824     rendering/LayoutState.cpp
1825     rendering/MarkerSubrange.cpp
1826     rendering/OrderIterator.cpp
1827     rendering/PointerEventsHitRules.cpp
1828     rendering/RenderAttachment.cpp
1829     rendering/RenderBlock.cpp
1830     rendering/RenderBlockFlow.cpp
1831     rendering/RenderBlockLineLayout.cpp
1832     rendering/RenderBox.cpp
1833     rendering/RenderBoxModelObject.cpp
1834     rendering/RenderButton.cpp
1835     rendering/RenderCombineText.cpp
1836     rendering/RenderCounter.cpp
1837     rendering/RenderDeprecatedFlexibleBox.cpp
1838     rendering/RenderDetailsMarker.cpp
1839     rendering/RenderElement.cpp
1840     rendering/RenderEmbeddedObject.cpp
1841     rendering/RenderFileUploadControl.cpp
1842     rendering/RenderFlexibleBox.cpp
1843     rendering/RenderFragmentedFlow.cpp
1844     rendering/RenderFragmentContainer.cpp
1845     rendering/RenderFragmentContainerSet.cpp
1846     rendering/RenderFrame.cpp
1847     rendering/RenderFrameBase.cpp
1848     rendering/RenderFrameSet.cpp
1849     rendering/RenderFullScreen.cpp
1850     rendering/RenderGeometryMap.cpp
1851     rendering/RenderGrid.cpp
1852     rendering/RenderHTMLCanvas.cpp
1853     rendering/RenderIFrame.cpp
1854     rendering/RenderImage.cpp
1855     rendering/RenderImageResource.cpp
1856     rendering/RenderImageResourceStyleImage.cpp
1857     rendering/RenderInline.cpp
1858     rendering/RenderLayer.cpp
1859     rendering/RenderLayerBacking.cpp
1860     rendering/RenderLayerCompositor.cpp
1861     rendering/RenderLayerFilterInfo.cpp
1862     rendering/RenderLayerModelObject.cpp
1863     rendering/RenderLineBoxList.cpp
1864     rendering/RenderLineBreak.cpp
1865     rendering/RenderListBox.cpp
1866     rendering/RenderListItem.cpp
1867     rendering/RenderListMarker.cpp
1868     rendering/RenderMarquee.cpp
1869     rendering/RenderMedia.cpp
1870     rendering/RenderMediaControlElements.cpp
1871     rendering/RenderMediaControls.cpp
1872     rendering/RenderMenuList.cpp
1873     rendering/RenderMeter.cpp
1874     rendering/RenderMultiColumnFlow.cpp
1875     rendering/RenderMultiColumnSet.cpp
1876     rendering/RenderMultiColumnSpannerPlaceholder.cpp
1877     rendering/RenderObject.cpp
1878     rendering/RenderProgress.cpp
1879     rendering/RenderQuote.cpp
1880     rendering/RenderReplaced.cpp
1881     rendering/RenderReplica.cpp
1882     rendering/RenderRuby.cpp
1883     rendering/RenderRubyBase.cpp
1884     rendering/RenderRubyRun.cpp
1885     rendering/RenderRubyText.cpp
1886     rendering/RenderScrollbar.cpp
1887     rendering/RenderScrollbarPart.cpp
1888     rendering/RenderScrollbarTheme.cpp
1889     rendering/RenderSearchField.cpp
1890     rendering/RenderSelectionInfo.cpp
1891     rendering/RenderSlider.cpp
1892     rendering/RenderSnapshottedPlugIn.cpp
1893     rendering/RenderTable.cpp
1894     rendering/RenderTableCaption.cpp
1895     rendering/RenderTableCell.cpp
1896     rendering/RenderTableCol.cpp
1897     rendering/RenderTableRow.cpp
1898     rendering/RenderTableSection.cpp
1899     rendering/RenderText.cpp
1900     rendering/RenderTextControl.cpp
1901     rendering/RenderTextControlMultiLine.cpp
1902     rendering/RenderTextControlSingleLine.cpp
1903     rendering/RenderTextFragment.cpp
1904     rendering/RenderTextLineBoxes.cpp
1905     rendering/RenderTheme.cpp
1906     rendering/RenderTreeAsText.cpp
1907     rendering/RenderVTTCue.cpp
1908     rendering/RenderVideo.cpp
1909     rendering/RenderView.cpp
1910     rendering/RenderWidget.cpp
1911     rendering/RootInlineBox.cpp
1912     rendering/ScrollAlignment.cpp
1913     rendering/SelectionRangeData.cpp
1914     rendering/SimpleLineLayout.cpp
1915     rendering/SimpleLineLayoutCoverage.cpp
1916     rendering/SimpleLineLayoutFlowContents.cpp
1917     rendering/SimpleLineLayoutFunctions.cpp
1918     rendering/SimpleLineLayoutPagination.cpp
1919     rendering/SimpleLineLayoutResolver.cpp
1920     rendering/SimpleLineLayoutTextFragmentIterator.cpp
1921     rendering/TextDecorationPainter.cpp
1922     rendering/TextPaintStyle.cpp
1923     rendering/TextPainter.cpp
1924
1925     rendering/line/LineBreaker.cpp
1926     rendering/line/LineInfo.cpp
1927     rendering/line/LineWidth.cpp
1928     rendering/line/TrailingObjects.cpp
1929
1930     rendering/mathml/MathMLStyle.cpp
1931     rendering/mathml/MathOperator.cpp
1932     rendering/mathml/RenderMathMLBlock.cpp
1933     rendering/mathml/RenderMathMLFenced.cpp
1934     rendering/mathml/RenderMathMLFencedOperator.cpp
1935     rendering/mathml/RenderMathMLFraction.cpp
1936     rendering/mathml/RenderMathMLMath.cpp
1937     rendering/mathml/RenderMathMLMenclose.cpp
1938     rendering/mathml/RenderMathMLOperator.cpp
1939     rendering/mathml/RenderMathMLPadded.cpp
1940     rendering/mathml/RenderMathMLRoot.cpp
1941     rendering/mathml/RenderMathMLRow.cpp
1942     rendering/mathml/RenderMathMLScripts.cpp
1943     rendering/mathml/RenderMathMLSpace.cpp
1944     rendering/mathml/RenderMathMLToken.cpp
1945     rendering/mathml/RenderMathMLUnderOver.cpp
1946
1947     rendering/shapes/BoxShape.cpp
1948     rendering/shapes/PolygonShape.cpp
1949     rendering/shapes/RasterShape.cpp
1950     rendering/shapes/RectangleShape.cpp
1951     rendering/shapes/Shape.cpp
1952     rendering/shapes/ShapeOutsideInfo.cpp
1953
1954     rendering/style/BasicShapes.cpp
1955     rendering/style/ContentData.cpp
1956     rendering/style/CounterDirectives.cpp
1957     rendering/style/FillLayer.cpp
1958     rendering/style/GridPosition.cpp
1959     rendering/style/GridPositionsResolver.cpp
1960     rendering/style/KeyframeList.cpp
1961     rendering/style/NinePieceImage.cpp
1962     rendering/style/QuotesData.cpp
1963     rendering/style/RenderStyle.cpp
1964     rendering/style/RenderStyleConstants.cpp
1965     rendering/style/SVGRenderStyle.cpp
1966     rendering/style/SVGRenderStyleDefs.cpp
1967     rendering/style/ShadowData.cpp
1968     rendering/style/ShapeValue.cpp
1969     rendering/style/StyleBackgroundData.cpp
1970     rendering/style/StyleBoxData.cpp
1971     rendering/style/StyleCachedImage.cpp
1972     rendering/style/StyleDeprecatedFlexibleBoxData.cpp
1973     rendering/style/StyleFilterData.cpp
1974     rendering/style/StyleFlexibleBoxData.cpp
1975     rendering/style/StyleGeneratedImage.cpp
1976     rendering/style/StyleGridData.cpp
1977     rendering/style/StyleGridItemData.cpp
1978     rendering/style/StyleInheritedData.cpp
1979     rendering/style/StyleMarqueeData.cpp
1980     rendering/style/StyleMultiColData.cpp
1981     rendering/style/StyleRareInheritedData.cpp
1982     rendering/style/StyleRareNonInheritedData.cpp
1983     rendering/style/StyleScrollSnapPoints.cpp
1984     rendering/style/StyleSurroundData.cpp
1985     rendering/style/StyleTransformData.cpp
1986     rendering/style/StyleVisualData.cpp
1987     rendering/style/WillChangeData.cpp
1988
1989     rendering/svg/RenderSVGBlock.cpp
1990     rendering/svg/RenderSVGContainer.cpp
1991     rendering/svg/RenderSVGEllipse.cpp
1992     rendering/svg/RenderSVGForeignObject.cpp
1993     rendering/svg/RenderSVGGradientStop.cpp
1994     rendering/svg/RenderSVGHiddenContainer.cpp
1995     rendering/svg/RenderSVGImage.cpp
1996     rendering/svg/RenderSVGInline.cpp
1997     rendering/svg/RenderSVGInlineText.cpp
1998     rendering/svg/RenderSVGModelObject.cpp
1999     rendering/svg/RenderSVGPath.cpp
2000     rendering/svg/RenderSVGRect.cpp
2001     rendering/svg/RenderSVGResource.cpp
2002     rendering/svg/RenderSVGResourceClipper.cpp
2003     rendering/svg/RenderSVGResourceContainer.cpp
2004     rendering/svg/RenderSVGResourceFilter.cpp
2005     rendering/svg/RenderSVGResourceFilterPrimitive.cpp
2006     rendering/svg/RenderSVGResourceGradient.cpp
2007     rendering/svg/RenderSVGResourceLinearGradient.cpp
2008     rendering/svg/RenderSVGResourceMarker.cpp
2009     rendering/svg/RenderSVGResourceMasker.cpp
2010     rendering/svg/RenderSVGResourcePattern.cpp
2011     rendering/svg/RenderSVGResourceRadialGradient.cpp
2012     rendering/svg/RenderSVGResourceSolidColor.cpp
2013     rendering/svg/RenderSVGRoot.cpp
2014     rendering/svg/RenderSVGShape.cpp
2015     rendering/svg/RenderSVGText.cpp
2016     rendering/svg/RenderSVGTextPath.cpp
2017     rendering/svg/RenderSVGTransformableContainer.cpp
2018     rendering/svg/RenderSVGViewportContainer.cpp
2019     rendering/svg/SVGInlineFlowBox.cpp
2020     rendering/svg/SVGInlineTextBox.cpp
2021     rendering/svg/SVGPathData.cpp
2022     rendering/svg/SVGRenderSupport.cpp
2023     rendering/svg/SVGRenderTreeAsText.cpp
2024     rendering/svg/SVGRenderingContext.cpp
2025     rendering/svg/SVGResources.cpp
2026     rendering/svg/SVGResourcesCache.cpp
2027     rendering/svg/SVGResourcesCycleSolver.cpp
2028     rendering/svg/SVGRootInlineBox.cpp
2029     rendering/svg/SVGTextChunk.cpp
2030     rendering/svg/SVGTextChunkBuilder.cpp
2031     rendering/svg/SVGTextLayoutAttributes.cpp
2032     rendering/svg/SVGTextLayoutAttributesBuilder.cpp
2033     rendering/svg/SVGTextLayoutEngine.cpp
2034     rendering/svg/SVGTextLayoutEngineBaseline.cpp
2035     rendering/svg/SVGTextLayoutEngineSpacing.cpp
2036     rendering/svg/SVGTextMetrics.cpp
2037     rendering/svg/SVGTextMetricsBuilder.cpp
2038     rendering/svg/SVGTextQuery.cpp
2039
2040     replay/UserInputBridge.cpp
2041
2042     storage/Storage.cpp
2043     storage/StorageEvent.cpp
2044     storage/StorageEventDispatcher.cpp
2045     storage/StorageMap.cpp
2046     storage/StorageNamespaceProvider.cpp
2047
2048     style/AttributeChangeInvalidation.cpp
2049     style/ClassChangeInvalidation.cpp
2050     style/IdChangeInvalidation.cpp
2051     style/InlineTextBoxStyle.cpp
2052     style/RenderTreePosition.cpp
2053     style/RenderTreeUpdater.cpp
2054     style/RenderTreeUpdaterFirstLetter.cpp
2055     style/RenderTreeUpdaterGeneratedContent.cpp
2056     style/RenderTreeUpdaterListItem.cpp
2057     style/RenderTreeUpdaterMultiColumn.cpp
2058     style/StyleChange.cpp
2059     style/StyleFontSizeFunctions.cpp
2060     style/StyleInvalidator.cpp
2061     style/StylePendingResources.cpp
2062     style/StyleRelations.cpp
2063     style/StyleResolveForDocument.cpp
2064     style/StyleScope.cpp
2065     style/StyleSharingResolver.cpp
2066     style/StyleTreeResolver.cpp
2067     style/StyleUpdate.cpp
2068
2069     svg/SVGAElement.cpp
2070     svg/SVGAltGlyphDefElement.cpp
2071     svg/SVGAltGlyphElement.cpp
2072     svg/SVGAltGlyphItemElement.cpp
2073     svg/SVGAngleValue.cpp
2074     svg/SVGAnimateColorElement.cpp
2075     svg/SVGAnimateElement.cpp
2076     svg/SVGAnimateElementBase.cpp
2077     svg/SVGAnimateMotionElement.cpp
2078     svg/SVGAnimateTransformElement.cpp
2079     svg/SVGAnimatedAngle.cpp
2080     svg/SVGAnimatedBoolean.cpp
2081     svg/SVGAnimatedColor.cpp
2082     svg/SVGAnimatedEnumeration.cpp
2083     svg/SVGAnimatedInteger.cpp
2084     svg/SVGAnimatedIntegerOptionalInteger.cpp
2085     svg/SVGAnimatedLength.cpp
2086     svg/SVGAnimatedLengthList.cpp
2087     svg/SVGAnimatedNumber.cpp
2088     svg/SVGAnimatedNumberList.cpp
2089     svg/SVGAnimatedNumberOptionalNumber.cpp
2090     svg/SVGAnimatedPath.cpp
2091     svg/SVGAnimatedPointList.cpp
2092     svg/SVGAnimatedPreserveAspectRatio.cpp
2093     svg/SVGAnimatedRect.cpp
2094     svg/SVGAnimatedString.cpp
2095     svg/SVGAnimatedTransformList.cpp
2096     svg/SVGAnimatedType.cpp
2097     svg/SVGAnimatedTypeAnimator.cpp
2098     svg/SVGAnimationElement.cpp
2099     svg/SVGCircleElement.cpp
2100     svg/SVGClipPathElement.cpp
2101     svg/SVGComponentTransferFunctionElement.cpp
2102     svg/SVGCursorElement.cpp
2103     svg/SVGDefsElement.cpp
2104     svg/SVGDescElement.cpp
2105     svg/SVGDocument.cpp
2106     svg/SVGDocumentExtensions.cpp
2107     svg/SVGElement.cpp
2108     svg/SVGEllipseElement.cpp
2109     svg/SVGExternalResourcesRequired.cpp
2110     svg/SVGFEBlendElement.cpp
2111     svg/SVGFEColorMatrixElement.cpp
2112     svg/SVGFEComponentTransferElement.cpp
2113     svg/SVGFECompositeElement.cpp
2114     svg/SVGFEConvolveMatrixElement.cpp
2115     svg/SVGFEDiffuseLightingElement.cpp
2116     svg/SVGFEDisplacementMapElement.cpp
2117     svg/SVGFEDistantLightElement.cpp
2118     svg/SVGFEDropShadowElement.cpp
2119     svg/SVGFEFloodElement.cpp
2120     svg/SVGFEFuncAElement.cpp
2121     svg/SVGFEFuncBElement.cpp
2122     svg/SVGFEFuncGElement.cpp
2123     svg/SVGFEFuncRElement.cpp
2124     svg/SVGFEGaussianBlurElement.cpp
2125     svg/SVGFEImageElement.cpp
2126     svg/SVGFELightElement.cpp
2127     svg/SVGFEMergeElement.cpp
2128     svg/SVGFEMergeNodeElement.cpp
2129     svg/SVGFEMorphologyElement.cpp
2130     svg/SVGFEOffsetElement.cpp
2131     svg/SVGFEPointLightElement.cpp
2132     svg/SVGFESpecularLightingElement.cpp
2133     svg/SVGFESpotLightElement.cpp
2134     svg/SVGFETileElement.cpp
2135     svg/SVGFETurbulenceElement.cpp
2136     svg/SVGFilterElement.cpp
2137     svg/SVGFilterPrimitiveStandardAttributes.cpp
2138     svg/SVGFitToViewBox.cpp
2139     svg/SVGFontElement.cpp
2140     svg/SVGFontFaceElement.cpp
2141     svg/SVGFontFaceFormatElement.cpp
2142     svg/SVGFontFaceNameElement.cpp
2143     svg/SVGFontFaceSrcElement.cpp
2144     svg/SVGFontFaceUriElement.cpp
2145     svg/SVGForeignObjectElement.cpp
2146     svg/SVGGElement.cpp
2147     svg/SVGGlyphElement.cpp
2148     svg/SVGGlyphRefElement.cpp
2149     svg/SVGGradientElement.cpp
2150     svg/SVGGraphicsElement.cpp
2151     svg/SVGHKernElement.cpp
2152     svg/SVGImageElement.cpp
2153     svg/SVGImageLoader.cpp
2154     svg/SVGLangSpace.cpp
2155     svg/SVGLengthContext.cpp
2156     svg/SVGLengthListValues.cpp
2157     svg/SVGLengthValue.cpp
2158     svg/SVGLineElement.cpp
2159     svg/SVGLinearGradientElement.cpp
2160     svg/SVGLocatable.cpp
2161     svg/SVGMPathElement.cpp
2162     svg/SVGMarkerElement.cpp
2163     svg/SVGMaskElement.cpp
2164     svg/SVGMetadataElement.cpp
2165     svg/SVGMissingGlyphElement.cpp
2166     svg/SVGNumberListValues.cpp
2167     svg/SVGParserUtilities.cpp
2168     svg/SVGPathBlender.cpp
2169     svg/SVGPathBuilder.cpp
2170     svg/SVGPathByteStreamBuilder.cpp
2171     svg/SVGPathByteStreamSource.cpp
2172     svg/SVGPathElement.cpp
2173     svg/SVGPathParser.cpp
2174     svg/SVGPathSegList.cpp
2175     svg/SVGPathSegListBuilder.cpp
2176     svg/SVGPathSegListSource.cpp
2177     svg/SVGPathSegListValues.cpp
2178     svg/SVGPathStringBuilder.cpp
2179     svg/SVGPathStringSource.cpp
2180     svg/SVGPathTraversalStateBuilder.cpp
2181     svg/SVGPathUtilities.cpp
2182     svg/SVGPatternElement.cpp
2183     svg/SVGPointListValues.cpp
2184     svg/SVGPolyElement.cpp
2185     svg/SVGPolygonElement.cpp
2186     svg/SVGPolylineElement.cpp
2187     svg/SVGPreserveAspectRatioValue.cpp
2188     svg/SVGRadialGradientElement.cpp
2189     svg/SVGRectElement.cpp
2190     svg/SVGSVGElement.cpp
2191     svg/SVGScriptElement.cpp
2192     svg/SVGSetElement.cpp
2193     svg/SVGStopElement.cpp
2194     svg/SVGStringListValues.cpp
2195     svg/SVGStyleElement.cpp
2196     svg/SVGSwitchElement.cpp
2197     svg/SVGSymbolElement.cpp
2198     svg/SVGTRefElement.cpp
2199     svg/SVGTSpanElement.cpp
2200     svg/SVGTests.cpp
2201     svg/SVGTextContentElement.cpp
2202     svg/SVGTextElement.cpp
2203     svg/SVGTextPathElement.cpp
2204     svg/SVGTextPositioningElement.cpp
2205     svg/SVGTitleElement.cpp
2206     svg/SVGToOTFFontConversion.cpp
2207     svg/SVGTransform.cpp
2208     svg/SVGTransformDistance.cpp
2209     svg/SVGTransformListValues.cpp
2210     svg/SVGTransformValue.cpp
2211     svg/SVGTransformable.cpp
2212     svg/SVGURIReference.cpp
2213     svg/SVGUseElement.cpp
2214     svg/SVGVKernElement.cpp
2215     svg/SVGViewElement.cpp
2216     svg/SVGViewSpec.cpp
2217     svg/SVGZoomAndPan.cpp
2218     svg/SVGZoomEvent.cpp
2219
2220     svg/animation/SMILTime.cpp
2221     svg/animation/SMILTimeContainer.cpp
2222     svg/animation/SVGSMILElement.cpp
2223
2224     svg/graphics/SVGImage.cpp
2225     svg/graphics/SVGImageCache.cpp
2226     svg/graphics/SVGImageForContainer.cpp
2227
2228     svg/graphics/filters/SVGFEImage.cpp
2229     svg/graphics/filters/SVGFilter.cpp
2230     svg/graphics/filters/SVGFilterBuilder.cpp
2231
2232     svg/properties/SVGAnimatedProperty.cpp
2233     svg/properties/SVGAttributeToPropertyMap.cpp
2234     svg/properties/SVGPropertyInfo.cpp
2235
2236     workers/AbstractWorker.cpp
2237     workers/DedicatedWorkerGlobalScope.cpp
2238     workers/DedicatedWorkerThread.cpp
2239     workers/Worker.cpp
2240     workers/WorkerConsoleClient.cpp
2241     workers/WorkerEventQueue.cpp
2242     workers/WorkerGlobalScope.cpp
2243     workers/WorkerInspectorProxy.cpp
2244     workers/WorkerLocation.cpp
2245     workers/WorkerMessagingProxy.cpp
2246     workers/WorkerRunLoop.cpp
2247     workers/WorkerScriptLoader.cpp
2248     workers/WorkerThread.cpp
2249
2250     workers/service/ExtendableEvent.cpp
2251     workers/service/ExtendableMessageEvent.cpp
2252     workers/service/FetchEvent.cpp
2253     workers/service/ServiceWorker.cpp
2254     workers/service/ServiceWorkerClient.cpp
2255     workers/service/ServiceWorkerClients.cpp
2256     workers/service/ServiceWorkerContainer.cpp
2257     workers/service/ServiceWorkerGlobalScope.cpp
2258     workers/service/ServiceWorkerJob.cpp
2259     workers/service/ServiceWorkerJobData.cpp
2260     workers/service/ServiceWorkerProvider.cpp
2261     workers/service/ServiceWorkerRegistration.cpp
2262     workers/service/ServiceWorkerRegistrationData.cpp
2263     workers/service/ServiceWorkerRegistrationKey.cpp
2264     workers/service/ServiceWorkerRegistrationOptions.cpp
2265     workers/service/ServiceWorkerWindowClient.cpp
2266
2267     workers/service/server/SWClientConnection.cpp
2268     workers/service/server/SWServer.cpp
2269     workers/service/server/SWServerRegistration.cpp
2270     workers/service/server/SWServerWorker.cpp
2271
2272     xml/DOMParser.cpp
2273     xml/NativeXPathNSResolver.cpp
2274     xml/XMLErrors.cpp
2275     xml/XMLHttpRequest.cpp
2276     xml/XMLHttpRequestProgressEventThrottle.cpp
2277     xml/XMLHttpRequestUpload.cpp
2278     xml/XMLSerializer.cpp
2279     xml/XMLTreeViewer.cpp
2280     xml/XPathEvaluator.cpp
2281     xml/XPathExpression.cpp
2282     xml/XPathExpressionNode.cpp
2283     xml/XPathFunctions.cpp
2284     xml/XPathGrammar.cpp
2285     xml/XPathNSResolver.cpp
2286     xml/XPathNodeSet.cpp
2287     xml/XPathParser.cpp
2288     xml/XPathPath.cpp
2289     xml/XPathPredicate.cpp
2290     xml/XPathResult.cpp
2291     xml/XPathStep.cpp
2292     xml/XPathUtil.cpp
2293     xml/XPathValue.cpp
2294     xml/XPathVariableReference.cpp
2295     xml/XSLImportRule.cpp
2296     xml/XSLStyleSheetLibxslt.cpp
2297     xml/XSLTExtensions.cpp
2298     xml/XSLTProcessor.cpp
2299     xml/XSLTProcessorLibxslt.cpp
2300     xml/XSLTUnicodeSort.cpp
2301
2302     xml/parser/XMLDocumentParser.cpp
2303     xml/parser/XMLDocumentParserLibxml2.cpp
2304     xml/parser/XMLDocumentParserScope.cpp
2305 )
2306
2307 if (ENABLE_GAMEPAD)
2308     list(APPEND WebCore_INCLUDE_DIRECTORIES
2309         "${WEBCORE_DIR}/Modules/gamepad"
2310     )
2311
2312     list(APPEND WebCore_IDL_INCLUDES
2313         Modules/gamepad
2314     )
2315
2316     list(APPEND WebCore_NON_SVG_IDL_FILES
2317         Modules/gamepad/Gamepad.idl
2318         Modules/gamepad/GamepadButton.idl
2319         Modules/gamepad/GamepadEvent.idl
2320         Modules/gamepad/NavigatorGamepad.idl
2321     )
2322
2323     list(APPEND WebCore_SOURCES
2324         Modules/gamepad/Gamepad.cpp
2325         Modules/gamepad/GamepadButton.cpp
2326         Modules/gamepad/GamepadEvent.cpp
2327         Modules/gamepad/GamepadManager.cpp
2328         Modules/gamepad/NavigatorGamepad.cpp
2329
2330         platform/gamepad/EmptyGamepadProvider.cpp
2331         platform/gamepad/GamepadProvider.cpp
2332     )
2333 endif ()
2334
2335 set(WebCore_IDL_FILES
2336     ${WebCore_NON_SVG_IDL_FILES}
2337     ${WebCore_SVG_IDL_FILES}
2338 )
2339
2340 if (ENABLE_ALLINONE_BUILD)
2341     message(STATUS "All-in-One build is enabled.")
2342     set(allInOnes
2343         html/HTMLElementsAllInOne.cpp
2344
2345         inspector/InspectorAllInOne.cpp
2346
2347         loader/appcache/ApplicationCacheAllInOne.cpp
2348
2349         mathml/MathMLAllInOne.cpp
2350
2351         platform/text/TextAllInOne.cpp
2352
2353         rendering/RenderingAllInOne.cpp
2354
2355         rendering/style/StyleAllInOne.cpp
2356
2357         rendering/svg/RenderSVGAllInOne.cpp
2358
2359         svg/SVGAllInOne.cpp
2360     )
2361     foreach (allInOne ${allInOnes})
2362         PROCESS_ALLINONE_FILE("${WebCore_SOURCES}" ${allInOne} newSources FALSE)
2363         set(WebCore_SOURCES
2364             ${allInOne}
2365             ${newSources}
2366         )
2367     endforeach ()
2368 endif ()
2369
2370 set(WebCore_CSS_PROPERTY_NAMES
2371     ${WEBCORE_DIR}/css/CSSProperties.json
2372 )
2373
2374 set(WebCore_CSS_VALUE_KEYWORDS
2375     ${WEBCORE_DIR}/css/CSSValueKeywords.in
2376 )
2377
2378 set(WebCore_USER_AGENT_STYLE_SHEETS
2379     ${WEBCORE_DIR}/css/fullscreen.css
2380     ${WEBCORE_DIR}/css/html.css
2381     ${WEBCORE_DIR}/css/mathml.css
2382     ${WEBCORE_DIR}/css/mediaControls.css
2383     ${WEBCORE_DIR}/css/plugIns.css
2384     ${WEBCORE_DIR}/css/quirks.css
2385     ${WEBCORE_DIR}/css/svg.css
2386     ${WEBCORE_DIR}/html/shadow/meterElementShadow.css
2387 )
2388
2389 set(WebCore_PLUG_INS_RESOURCES
2390     ${WEBCORE_DIR}/Resources/plugIns.js
2391 )
2392
2393 set(WebCore_LIBRARIES
2394     ${ICU_LIBRARIES}
2395     ${LIBXML2_LIBRARIES}
2396     ${LIBXSLT_LIBRARIES}
2397     ${SQLITE_LIBRARIES}
2398     ${ZLIB_LIBRARIES}
2399     JavaScriptCore${DEBUG_SUFFIX}
2400     PAL${DEBUG_SUFFIX}
2401 )
2402
2403 if (ENABLE_LEGACY_ENCRYPTED_MEDIA)
2404     list(APPEND WebCore_SOURCES
2405         Modules/encryptedmedia/legacy/LegacyCDM.cpp
2406         Modules/encryptedmedia/legacy/LegacyCDMPrivateClearKey.cpp
2407         Modules/encryptedmedia/legacy/LegacyCDMPrivateMediaPlayer.cpp
2408         Modules/encryptedmedia/legacy/LegacyCDMSessionClearKey.cpp
2409
2410         Modules/encryptedmedia/legacy/WebKitMediaKeyMessageEvent.cpp
2411         Modules/encryptedmedia/legacy/WebKitMediaKeyNeededEvent.cpp
2412         Modules/encryptedmedia/legacy/WebKitMediaKeySession.cpp
2413         Modules/encryptedmedia/legacy/WebKitMediaKeys.cpp
2414     )
2415     list(APPEND WebCoreTestSupport_SOURCES
2416         testing/LegacyMockCDM.cpp
2417     )
2418     list(APPEND WebCore_IDL_FILES
2419         Modules/encryptedmedia/legacy/WebKitMediaKeyMessageEvent.idl
2420         Modules/encryptedmedia/legacy/WebKitMediaKeyNeededEvent.idl
2421         Modules/encryptedmedia/legacy/WebKitMediaKeySession.idl
2422         Modules/encryptedmedia/legacy/WebKitMediaKeys.idl
2423
2424         html/WebKitMediaKeyError.idl
2425     )
2426 endif ()
2427
2428 if (ENABLE_ENCRYPTED_MEDIA)
2429     list(APPEND WebCore_SOURCES
2430         Modules/encryptedmedia/CDM.cpp
2431         Modules/encryptedmedia/InitDataRegistry.cpp
2432         Modules/encryptedmedia/MediaKeyMessageEvent.cpp
2433         Modules/encryptedmedia/MediaKeySession.cpp
2434         Modules/encryptedmedia/MediaKeyStatusMap.cpp
2435         Modules/encryptedmedia/MediaKeySystemAccess.cpp
2436         Modules/encryptedmedia/MediaKeys.cpp
2437         Modules/encryptedmedia/NavigatorEME.cpp
2438
2439         html/MediaEncryptedEvent.cpp
2440     )
2441     list(APPEND WebCore_IDL_FILES
2442     )
2443     list(APPEND WebCore_IDL_FILES
2444         Modules/encryptedmedia/MediaKeyMessageEvent.idl
2445         Modules/encryptedmedia/MediaKeySession.idl
2446         Modules/encryptedmedia/MediaKeySessionType.idl
2447         Modules/encryptedmedia/MediaKeyStatusMap.idl
2448         Modules/encryptedmedia/MediaKeySystemAccess.idl
2449         Modules/encryptedmedia/MediaKeySystemConfiguration.idl
2450         Modules/encryptedmedia/MediaKeySystemMediaCapability.idl
2451         Modules/encryptedmedia/MediaKeys.idl
2452         Modules/encryptedmedia/MediaKeysRequirement.idl
2453         Modules/encryptedmedia/NavigatorEME.idl
2454
2455         html/MediaEncryptedEvent.idl
2456     )
2457 endif ()
2458
2459 list(APPEND WebCore_CSS_VALUE_KEYWORDS
2460     ${WEBCORE_DIR}/css/SVGCSSValueKeywords.in
2461 )
2462
2463 if (ENABLE_WEBGL)
2464     list(APPEND WebCore_SOURCES
2465         html/canvas/ANGLEInstancedArrays.cpp
2466         html/canvas/EXTBlendMinMax.cpp
2467         html/canvas/EXTFragDepth.cpp
2468         html/canvas/EXTShaderTextureLOD.cpp
2469         html/canvas/EXTTextureFilterAnisotropic.cpp
2470         html/canvas/EXTsRGB.cpp
2471         html/canvas/OESElementIndexUint.cpp
2472         html/canvas/OESStandardDerivatives.cpp
2473         html/canvas/OESTextureFloat.cpp
2474         html/canvas/OESTextureFloatLinear.cpp
2475         html/canvas/OESTextureHalfFloat.cpp
2476         html/canvas/OESTextureHalfFloatLinear.cpp
2477         html/canvas/OESVertexArrayObject.cpp
2478         html/canvas/WebGL2RenderingContext.cpp
2479         html/canvas/WebGLBuffer.cpp
2480         html/canvas/WebGLCompressedTextureATC.cpp
2481         html/canvas/WebGLCompressedTexturePVRTC.cpp
2482         html/canvas/WebGLCompressedTextureS3TC.cpp
2483         html/canvas/WebGLContextEvent.cpp
2484         html/canvas/WebGLContextGroup.cpp
2485         html/canvas/WebGLContextObject.cpp
2486         html/canvas/WebGLDebugRendererInfo.cpp
2487         html/canvas/WebGLDebugShaders.cpp
2488         html/canvas/WebGLDepthTexture.cpp
2489         html/canvas/WebGLDrawBuffers.cpp
2490         html/canvas/WebGLExtension.cpp
2491         html/canvas/WebGLFramebuffer.cpp
2492         html/canvas/WebGLLoseContext.cpp
2493         html/canvas/WebGLObject.cpp
2494         html/canvas/WebGLProgram.cpp
2495         html/canvas/WebGLQuery.cpp
2496         html/canvas/WebGLRenderbuffer.cpp
2497         html/canvas/WebGLRenderingContext.cpp
2498         html/canvas/WebGLRenderingContextBase.cpp
2499         html/canvas/WebGLSampler.cpp
2500         html/canvas/WebGLShader.cpp
2501         html/canvas/WebGLShaderPrecisionFormat.cpp
2502         html/canvas/WebGLSharedObject.cpp
2503         html/canvas/WebGLSync.cpp
2504         html/canvas/WebGLTexture.cpp
2505         html/canvas/WebGLTransformFeedback.cpp
2506         html/canvas/WebGLUniformLocation.cpp
2507         html/canvas/WebGLVertexArrayObject.cpp
2508         html/canvas/WebGLVertexArrayObjectBase.cpp
2509         html/canvas/WebGLVertexArrayObjectOES.cpp
2510
2511         inspector/InspectorShaderProgram.cpp
2512     )
2513     list(APPEND WebCore_IDL_FILES
2514         html/canvas/ANGLEInstancedArrays.idl
2515         html/canvas/EXTBlendMinMax.idl
2516         html/canvas/EXTFragDepth.idl
2517         html/canvas/EXTShaderTextureLOD.idl
2518         html/canvas/EXTTextureFilterAnisotropic.idl
2519         html/canvas/EXTsRGB.idl
2520         html/canvas/OESElementIndexUint.idl
2521         html/canvas/OESStandardDerivatives.idl
2522         html/canvas/OESTextureFloat.idl
2523         html/canvas/OESTextureFloatLinear.idl
2524         html/canvas/OESTextureHalfFloat.idl
2525         html/canvas/OESTextureHalfFloatLinear.idl
2526         html/canvas/OESVertexArrayObject.idl
2527         html/canvas/WebGL2RenderingContext.idl
2528         html/canvas/WebGLActiveInfo.idl
2529         html/canvas/WebGLBuffer.idl
2530         html/canvas/WebGLCompressedTextureATC.idl
2531         html/canvas/WebGLCompressedTexturePVRTC.idl
2532         html/canvas/WebGLCompressedTextureS3TC.idl
2533         html/canvas/WebGLContextAttributes.idl
2534         html/canvas/WebGLContextEvent.idl
2535         html/canvas/WebGLDebugRendererInfo.idl
2536         html/canvas/WebGLDebugShaders.idl
2537         html/canvas/WebGLDepthTexture.idl
2538         html/canvas/WebGLDrawBuffers.idl
2539         html/canvas/WebGLFramebuffer.idl
2540         html/canvas/WebGLLoseContext.idl
2541         html/canvas/WebGLProgram.idl
2542         html/canvas/WebGLQuery.idl
2543         html/canvas/WebGLRenderbuffer.idl
2544         html/canvas/WebGLRenderingContext.idl
2545         html/canvas/WebGLRenderingContextBase.idl
2546         html/canvas/WebGLSampler.idl
2547         html/canvas/WebGLShader.idl
2548         html/canvas/WebGLShaderPrecisionFormat.idl
2549         html/canvas/WebGLSync.idl
2550         html/canvas/WebGLTexture.idl
2551         html/canvas/WebGLTransformFeedback.idl
2552         html/canvas/WebGLUniformLocation.idl
2553         html/canvas/WebGLVertexArrayObject.idl
2554         html/canvas/WebGLVertexArrayObjectOES.idl
2555     )
2556 endif ()
2557
2558 if (ENABLE_VIDEO_TRACK)
2559     list(APPEND WebCore_IDL_FILES
2560         html/track/AudioTrack.idl
2561         html/track/AudioTrackList.idl
2562         html/track/DataCue.idl
2563         html/track/TextTrack.idl
2564         html/track/TextTrackCue.idl
2565         html/track/TextTrackCueList.idl
2566         html/track/TextTrackList.idl
2567         html/track/TrackEvent.idl
2568         html/track/VTTCue.idl
2569         html/track/VTTRegion.idl
2570         html/track/VTTRegionList.idl
2571         html/track/VideoTrack.idl
2572         html/track/VideoTrackList.idl
2573     )
2574
2575     list(APPEND WebCore_SOURCES
2576         html/track/AudioTrack.cpp
2577         html/track/AudioTrackList.cpp
2578         html/track/BufferedLineReader.cpp
2579         html/track/DataCue.cpp
2580         html/track/InbandDataTextTrack.cpp
2581         html/track/InbandGenericTextTrack.cpp
2582         html/track/InbandTextTrack.cpp
2583         html/track/InbandWebVTTTextTrack.cpp
2584         html/track/LoadableTextTrack.cpp
2585         html/track/TextTrack.cpp
2586         html/track/TextTrackCue.cpp
2587         html/track/TextTrackCueGeneric.cpp
2588         html/track/TextTrackCueList.cpp
2589         html/track/TextTrackList.cpp
2590         html/track/TrackBase.cpp
2591         html/track/TrackEvent.cpp
2592         html/track/TrackListBase.cpp
2593         html/track/VTTCue.cpp
2594         html/track/VTTRegion.cpp
2595         html/track/VTTRegionList.cpp
2596         html/track/VTTScanner.cpp
2597         html/track/VideoTrack.cpp
2598         html/track/VideoTrackList.cpp
2599         html/track/WebVTTElement.cpp
2600         html/track/WebVTTParser.cpp
2601         html/track/WebVTTTokenizer.cpp
2602
2603         loader/cache/CachedTextTrack.cpp
2604
2605         platform/graphics/TextTrackRepresentation.cpp
2606         platform/graphics/TrackPrivateBase.cpp
2607     )
2608 endif ()
2609
2610 if (ENABLE_QUOTA)
2611     list(APPEND WebCore_SOURCES
2612         Modules/quota/DOMWindowQuota.cpp
2613         Modules/quota/NavigatorStorageQuota.cpp
2614         Modules/quota/StorageErrorCallback.cpp
2615         Modules/quota/StorageInfo.cpp
2616         Modules/quota/StorageQuota.cpp
2617         Modules/quota/WorkerNavigatorStorageQuota.cpp
2618     )
2619
2620     list(APPEND WebCore_IDL_FILES
2621         Modules/quota/DOMWindowQuota.idl
2622         Modules/quota/NavigatorStorageQuota.idl
2623         Modules/quota/StorageErrorCallback.idl
2624         Modules/quota/StorageInfo.idl
2625         Modules/quota/StorageQuota.idl
2626         Modules/quota/StorageQuotaCallback.idl
2627         Modules/quota/StorageUsageCallback.idl
2628         Modules/quota/WorkerNavigatorStorageQuota.idl
2629     )
2630 endif ()
2631
2632 if (ENABLE_GRAPHICS_CONTEXT_3D)
2633     # For platforms that want to use system-provided OpenGL (ES) / EGL headers,
2634     # these include directories, libraries or definitions need to be
2635     # added before the ANGLE directories.
2636     if (USE_LIBEPOXY)
2637         list(APPEND WebCore_SYSTEM_INCLUDE_DIRECTORIES
2638             ${LIBEPOXY_INCLUDE_DIRS}
2639         )
2640         list(APPEND WebCore_LIBRARIES
2641             ${LIBEPOXY_LIBRARIES}
2642         )
2643         add_definitions(${LIBEPOXY_DEFINITIONS})
2644     else ()
2645         if (USE_OPENGL)
2646             list(APPEND WebCore_SYSTEM_INCLUDE_DIRECTORIES
2647                 ${OPENGL_INCLUDE_DIRS}
2648             )
2649             list(APPEND WebCore_LIBRARIES
2650                 ${OPENGL_LIBRARIES}
2651             )
2652             add_definitions(${OPENGL_DEFINITIONS})
2653         elseif (USE_OPENGL_ES_2)
2654             list(APPEND WebCore_SYSTEM_INCLUDE_DIRECTORIES
2655                 ${OPENGLES2_INCLUDE_DIRS}
2656             )
2657             list(APPEND WebCore_LIBRARIES
2658                 ${OPENGLES2_LIBRARIES}
2659             )
2660             add_definitions(${OPENGLES2_DEFINITIONS})
2661         endif ()
2662
2663         if (USE_EGL)
2664             list(APPEND WebCore_SYSTEM_INCLUDE_DIRECTORIES
2665                 ${EGL_INCLUDE_DIRS}
2666             )
2667             list(APPEND WebCore_LIBRARIES
2668                 ${EGL_LIBRARIES}
2669             )
2670             add_definitions(${EGL_DEFINITIONS})
2671         endif ()
2672     endif ()
2673
2674     list(APPEND WebCore_INCLUDE_DIRECTORIES
2675         "${ANGLE_FORWARDING_HEADERS_DIR}"
2676         "${WEBCORE_DIR}/platform/graphics/gpu"
2677     )
2678
2679     list(APPEND ANGLESupport_SOURCES
2680         ${THIRDPARTY_DIR}/ANGLE/src/common/Float16ToFloat32.cpp
2681         ${THIRDPARTY_DIR}/ANGLE/src/common/angleutils.cpp
2682         ${THIRDPARTY_DIR}/ANGLE/src/common/debug.cpp
2683         ${THIRDPARTY_DIR}/ANGLE/src/common/event_tracer.cpp
2684         ${THIRDPARTY_DIR}/ANGLE/src/common/mathutil.cpp
2685         ${THIRDPARTY_DIR}/ANGLE/src/common/MemoryBuffer.cpp
2686         ${THIRDPARTY_DIR}/ANGLE/src/common/utilities.cpp
2687         ${THIRDPARTY_DIR}/ANGLE/src/common/tls.cpp
2688
2689         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/AddAndTrueToLoopCondition.cpp
2690         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/AddDefaultReturnStatements.cpp
2691         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/ArrayReturnValueToOutParameter.cpp
2692         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/ASTMetadataHLSL.cpp
2693         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/blocklayout.cpp
2694         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/blocklayoutHLSL.cpp
2695         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/BreakVariableAliasingInInnerLoops.cpp
2696         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/BuiltInFunctionEmulator.cpp
2697         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/BuiltInFunctionEmulatorGLSL.cpp
2698         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/BuiltInFunctionEmulatorHLSL.cpp
2699         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/Cache.cpp
2700         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/CallDAG.cpp
2701         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/CodeGen.cpp
2702         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/Compiler.cpp
2703         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/ConstantUnion.cpp
2704         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/DeferGlobalInitializers.cpp
2705         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/Diagnostics.cpp
2706         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/DirectiveHandler.cpp
2707         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/EmulateGLFragColorBroadcast.cpp
2708         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/EmulatePrecision.cpp
2709         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/ExpandIntegerPowExpressions.cpp
2710         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/ExtensionGLSL.cpp
2711         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/FindSymbolNode.cpp
2712         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/FlagStd140Structs.cpp
2713         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/glslang_lex.cpp
2714         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/glslang_tab.cpp
2715         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/InfoSink.cpp
2716         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/Initialize.cpp
2717         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/InitializeDll.cpp
2718         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/InitializeVariables.cpp
2719         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/Intermediate.cpp
2720         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/IntermNode.cpp
2721         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/IntermNodePatternMatcher.cpp
2722         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/IntermTraverse.cpp
2723         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/intermOut.cpp
2724         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/Operator.cpp
2725         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/OutputESSL.cpp
2726         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/OutputGLSL.cpp
2727         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/OutputGLSLBase.cpp
2728         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/OutputHLSL.cpp
2729         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/OutputVulkanGLSL.cpp
2730         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/ParseContext.cpp
2731         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/PoolAlloc.cpp
2732         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/PruneEmptyDeclarations.cpp
2733         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/PrunePureLiteralStatements.cpp
2734         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/QualifierTypes.cpp
2735         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/RecordConstantPrecision.cpp
2736         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/RegenerateStructNames.cpp
2737         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/RemoveDynamicIndexing.cpp
2738         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/RemoveInvariantDeclaration.cpp
2739         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/RemovePow.cpp
2740         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/RemoveSwitchFallThrough.cpp
2741         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/RewriteDoWhile.cpp
2742         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/RewriteElseBlocks.cpp
2743         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/RewriteUnaryMinusOperatorFloat.cpp
2744         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/RewriteTexelFetchOffset.cpp
2745         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/RewriteUnaryMinusOperatorInt.cpp
2746         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/ScalarizeVecAndMatConstructorArgs.cpp
2747         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/SearchSymbol.cpp
2748         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/SeparateArrayInitialization.cpp
2749         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/SeparateExpressionsReturningArrays.cpp
2750         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/SeparateDeclarations.cpp
2751         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/ShaderLang.cpp
2752         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/ShaderVars.cpp
2753         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/SimplifyLoopConditions.cpp
2754         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/SplitSequenceOperator.cpp
2755         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/StructureHLSL.cpp
2756         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/SymbolTable.cpp
2757         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/TextureFunctionHLSL.cpp
2758         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/TranslatorESSL.cpp
2759         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/TranslatorGLSL.cpp
2760         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/TranslatorHLSL.cpp
2761         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/TranslatorVulkan.cpp
2762         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/Types.cpp
2763         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/UnfoldShortCircuitAST.cpp
2764         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/UnfoldShortCircuitToIf.cpp
2765         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/UniformHLSL.cpp
2766         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/UseInterfaceBlockFields.cpp
2767         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/util.cpp
2768         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/UtilsHLSL.cpp
2769         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/ValidateGlobalInitializer.cpp
2770         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/ValidateLimitations.cpp
2771         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/ValidateMaxParameters.cpp
2772         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/ValidateMultiviewWebGL.cpp
2773         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/ValidateOutputs.cpp
2774         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/ValidateSwitch.cpp
2775         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/VariableInfo.cpp
2776         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/VariablePacker.cpp
2777         ${THIRDPARTY_DIR}/ANGLE/src/compiler/translator/VersionGLSL.cpp
2778
2779         ${THIRDPARTY_DIR}/ANGLE/src/compiler/preprocessor/DiagnosticsBase.cpp
2780         ${THIRDPARTY_DIR}/ANGLE/src/compiler/preprocessor/DirectiveHandlerBase.cpp
2781         ${THIRDPARTY_DIR}/ANGLE/src/compiler/preprocessor/DirectiveParser.cpp
2782         ${THIRDPARTY_DIR}/ANGLE/src/compiler/preprocessor/ExpressionParser.cpp
2783         ${THIRDPARTY_DIR}/ANGLE/src/compiler/preprocessor/Input.cpp
2784         ${THIRDPARTY_DIR}/ANGLE/src/compiler/preprocessor/Lexer.cpp
2785         ${THIRDPARTY_DIR}/ANGLE/src/compiler/preprocessor/Macro.cpp
2786         ${THIRDPARTY_DIR}/ANGLE/src/compiler/preprocessor/MacroExpander.cpp
2787         ${THIRDPARTY_DIR}/ANGLE/src/compiler/preprocessor/Preprocessor.cpp
2788         ${THIRDPARTY_DIR}/ANGLE/src/compiler/preprocessor/Token.cpp
2789         ${THIRDPARTY_DIR}/ANGLE/src/compiler/preprocessor/Tokenizer.cpp
2790
2791         ${THIRDPARTY_DIR}/ANGLE/src/libANGLE/Platform.cpp
2792
2793         ${THIRDPARTY_DIR}/ANGLE/src/third_party/compiler/ArrayBoundsClamper.cpp
2794     )
2795
2796     list(APPEND WebCore_SOURCES
2797         platform/graphics/ANGLEWebKitBridge.cpp
2798         platform/graphics/FormatConverter.cpp
2799         platform/graphics/GraphicsContext3D.cpp
2800     )
2801 endif ()
2802
2803 if (ENABLE_USER_MESSAGE_HANDLERS)
2804     list(APPEND WebCore_IDL_FILES
2805         page/UserMessageHandler.idl
2806         page/UserMessageHandlersNamespace.idl
2807         page/WebKitNamespace.idl
2808     )
2809     list(APPEND WebCore_SOURCES
2810         page/UserMessageHandler.cpp
2811         page/UserMessageHandlerDescriptor.cpp
2812         page/UserMessageHandlersNamespace.cpp
2813         page/WebKitNamespace.cpp
2814     )
2815 endif ()
2816
2817 if (USE_WOFF2)
2818   list(APPEND WebCore_INCLUDE_DIRECTORIES "${WOFF2DEC_INCLUDE_DIRS}")
2819   list(APPEND WebCore_LIBRARIES "${BROTLIDEC_LIBRARIES}" "${WOFF2DEC_LIBRARIES}")
2820 endif ()
2821
2822 if (USE_XDGMIME)
2823     list(APPEND WebCore_INCLUDE_DIRECTORIES "${THIRDPARTY_DIR}/xdgmime/src")
2824     list(APPEND WebCore_LIBRARIES xdgmime)
2825 endif ()
2826
2827 set(WebCoreTestSupport_INCLUDE_DIRECTORIES
2828     "${WEBCORE_DIR}/platform/mock"
2829     "${WEBCORE_DIR}/testing"
2830     "${WEBCORE_DIR}/testing/js"
2831     "${DERIVED_SOURCES_WEBCORE_DIR}"
2832 )
2833
2834 set(WebCoreTestSupport_IDL_INCLUDES
2835     testing
2836 )
2837
2838 set(WebCoreTestSupport_IDL_FILES
2839     testing/GCObservation.idl
2840     testing/InternalSettings.idl
2841     testing/Internals.idl
2842     testing/MallocStatistics.idl
2843     testing/MemoryInfo.idl
2844     testing/MockCDMFactory.idl
2845     testing/MockContentFilterSettings.idl
2846     testing/MockPageOverlay.idl
2847     testing/TypeConversions.idl
2848 )
2849
2850 list(APPEND WebCoreTestSupport_SOURCES
2851     platform/mock/PlatformSpeechSynthesizerMock.cpp
2852
2853     platform/mock/mediasource/MockBox.cpp
2854     platform/mock/mediasource/MockMediaPlayerMediaSource.cpp
2855     platform/mock/mediasource/MockMediaSourcePrivate.cpp
2856     platform/mock/mediasource/MockSourceBufferPrivate.cpp
2857
2858     testing/GCObservation.cpp
2859     testing/InternalSettings.cpp
2860     testing/Internals.cpp
2861     testing/MockCDMFactory.cpp
2862     testing/MockGamepad.cpp
2863     testing/MockGamepadProvider.cpp
2864     testing/MockPageOverlay.cpp
2865     testing/MockPageOverlayClient.cpp
2866
2867     testing/js/WebCoreTestSupport.cpp
2868 )
2869
2870 set(WebCoreTestSupport_LIBRARIES
2871     PRIVATE JavaScriptCore${DEBUG_SUFFIX}
2872 )
2873
2874 # Modules that the bindings generator scripts may use
2875 set(SCRIPTS_RESOLVE_SUPPLEMENTAL
2876     ${WEBCORE_DIR}/bindings/scripts/IDLParser.pm
2877 )
2878 set(SCRIPTS_BINDINGS
2879     ${WEBCORE_DIR}/bindings/scripts/CodeGenerator.pm
2880     ${WEBCORE_DIR}/bindings/scripts/CodeGeneratorJS.pm
2881     ${WEBCORE_DIR}/bindings/scripts/IDLParser.pm
2882     ${WEBCORE_DIR}/bindings/scripts/InFilesParser.pm
2883     ${WEBCORE_DIR}/bindings/scripts/preprocessor.pm
2884 )
2885
2886 set(MAKE_NAMES_DEPENDENCIES
2887     ${WEBCORE_DIR}/bindings/scripts/Hasher.pm
2888     ${WEBCORE_DIR}/bindings/scripts/StaticString.pm
2889 )
2890 set(SUPPLEMENTAL_DEPENDENCY_FILE ${DERIVED_SOURCES_WEBCORE_DIR}/supplemental_dependency.tmp)
2891 set(WINDOW_CONSTRUCTORS_FILE ${DERIVED_SOURCES_WEBCORE_DIR}/DOMWindowConstructors.idl)
2892 set(WORKERGLOBALSCOPE_CONSTRUCTORS_FILE ${DERIVED_SOURCES_WEBCORE_DIR}/WorkerGlobalScopeConstructors.idl)
2893 set(DEDICATEDWORKERGLOBALSCOPE_CONSTRUCTORS_FILE ${DERIVED_SOURCES_WEBCORE_DIR}/DedicatedWorkerGlobalScopeConstructors.idl)
2894 set(SERVICEWORKERGLOBALSCOPE_CONSTRUCTORS_FILE ${DERIVED_SOURCES_WEBCORE_DIR}/ServiceWorkerGlobalScopeConstructors.idl)
2895
2896 WEBKIT_FRAMEWORK_DECLARE(WebCore)
2897 WEBKIT_INCLUDE_CONFIG_FILES_IF_EXISTS()
2898
2899 # Generate InspectorOverlayPage.h
2900 add_custom_command(
2901     OUTPUT ${DERIVED_SOURCES_WEBCORE_DIR}/InspectorOverlayPage.h ${DERIVED_SOURCES_WEBCORE_DIR}/InspectorOverlayPage.combined.html
2902     MAIN_DEPENDENCY inspector/InspectorOverlayPage.html
2903     DEPENDS ${JavaScriptCore_SCRIPTS_DIR}/xxd.pl ${JavaScriptCore_SCRIPTS_DIR}/inline-and-minify-stylesheets-and-scripts.py
2904     DEPENDS inspector/InspectorOverlayPage.css inspector/InspectorOverlayPage.js
2905     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
2906     COMMAND ${PERL_EXECUTABLE} ${JavaScriptCore_SCRIPTS_DIR}/xxd.pl InspectorOverlayPage_html ${DERIVED_SOURCES_WEBCORE_DIR}/InspectorOverlayPage.combined.html ${DERIVED_SOURCES_WEBCORE_DIR}/InspectorOverlayPage.h
2907     VERBATIM)
2908 list(APPEND WebCore_DERIVED_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/InspectorOverlayPage.h)
2909
2910
2911 # Generate CommandLineAPIModuleSource.h
2912 add_custom_command(
2913     OUTPUT ${DERIVED_SOURCES_WEBCORE_DIR}/CommandLineAPIModuleSource.h ${DERIVED_SOURCES_WEBCORE_DIR}/CommandLineAPIModuleSource.min.js
2914     MAIN_DEPENDENCY inspector/CommandLineAPIModuleSource.js
2915     DEPENDS ${JavaScriptCore_SCRIPTS_DIR}/xxd.pl ${JavaScriptCore_SCRIPTS_DIR}/jsmin.py
2916     COMMAND ${CMAKE_COMMAND} -E echo "//# sourceURL=__InjectedScript_CommandLineAPIModuleSource.js" > ${DERIVED_SOURCES_WEBCORE_DIR}/CommandLineAPIModuleSource.min.js
2917     COMMAND ${PYTHON_EXECUTABLE} ${JavaScriptCore_SCRIPTS_DIR}/jsmin.py < ${WEBCORE_DIR}/inspector/CommandLineAPIModuleSource.js >> ${DERIVED_SOURCES_WEBCORE_DIR}/CommandLineAPIModuleSource.min.js
2918     COMMAND ${PERL_EXECUTABLE} ${JavaScriptCore_SCRIPTS_DIR}/xxd.pl CommandLineAPIModuleSource_js ${DERIVED_SOURCES_WEBCORE_DIR}/CommandLineAPIModuleSource.min.js ${DERIVED_SOURCES_WEBCORE_DIR}/CommandLineAPIModuleSource.h
2919     VERBATIM)
2920 list(APPEND WebCore_DERIVED_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/CommandLineAPIModuleSource.h)
2921
2922
2923 MAKE_HASH_TOOLS(${WEBCORE_DIR}/platform/ColorData)
2924 list(APPEND WebCore_DERIVED_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/ColorData.cpp)
2925
2926
2927 # Generate DOMJITAbstractHeapRepository.h
2928 add_custom_command(
2929     OUTPUT ${DERIVED_SOURCES_WEBCORE_DIR}/DOMJITAbstractHeapRepository.h
2930     MAIN_DEPENDENCY domjit/DOMJITAbstractHeapRepository.yaml
2931     DEPENDS ${WEBCORE_DIR}/domjit/generate-abstract-heap.rb
2932     COMMAND ${RUBY_EXECUTABLE} ${WEBCORE_DIR}/domjit/generate-abstract-heap.rb ${WEBCORE_DIR}/domjit/DOMJITAbstractHeapRepository.yaml ${DERIVED_SOURCES_WEBCORE_DIR}/DOMJITAbstractHeapRepository.h
2933     VERBATIM)
2934 list(APPEND WebCore_DERIVED_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/DOMJITAbstractHeapRepository.h)
2935
2936 # Generate XMLViewerCSS.h
2937 add_custom_command(
2938     OUTPUT ${DERIVED_SOURCES_WEBCORE_DIR}/XMLViewerCSS.h ${DERIVED_SOURCES_WEBCORE_DIR}/XMLViewer.min.css
2939     MAIN_DEPENDENCY xml/XMLViewer.css
2940     DEPENDS ${JavaScriptCore_SCRIPTS_DIR}/xxd.pl ${JavaScriptCore_SCRIPTS_DIR}/cssmin.py
2941     COMMAND ${PYTHON_EXECUTABLE} ${JavaScriptCore_SCRIPTS_DIR}/cssmin.py < ${WEBCORE_DIR}/xml/XMLViewer.css > ${DERIVED_SOURCES_WEBCORE_DIR}/XMLViewer.min.css
2942     COMMAND ${PERL_EXECUTABLE} ${JavaScriptCore_SCRIPTS_DIR}/xxd.pl XMLViewer_css ${DERIVED_SOURCES_WEBCORE_DIR}/XMLViewer.min.css ${DERIVED_SOURCES_WEBCORE_DIR}/XMLViewerCSS.h
2943     VERBATIM)
2944 list(APPEND WebCore_DERIVED_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/XMLViewerCSS.h)
2945
2946 # Generate XMLViewerJS.h
2947 add_custom_command(
2948     OUTPUT ${DERIVED_SOURCES_WEBCORE_DIR}/XMLViewerJS.h ${DERIVED_SOURCES_WEBCORE_DIR}/XMLViewer.min.js
2949     MAIN_DEPENDENCY xml/XMLViewer.js
2950     DEPENDS ${JavaScriptCore_SCRIPTS_DIR}/xxd.pl ${JavaScriptCore_SCRIPTS_DIR}/jsmin.py
2951     COMMAND ${PYTHON_EXECUTABLE} ${JavaScriptCore_SCRIPTS_DIR}/jsmin.py < ${WEBCORE_DIR}/xml/XMLViewer.js > ${DERIVED_SOURCES_WEBCORE_DIR}/XMLViewer.min.js
2952     COMMAND ${PERL_EXECUTABLE} ${JavaScriptCore_SCRIPTS_DIR}/xxd.pl XMLViewer_js ${DERIVED_SOURCES_WEBCORE_DIR}/XMLViewer.min.js ${DERIVED_SOURCES_WEBCORE_DIR}/XMLViewerJS.h
2953     VERBATIM)
2954 list(APPEND WebCore_DERIVED_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/XMLViewerJS.h)
2955
2956 # Generate HTML entity table
2957 add_custom_command(
2958     OUTPUT ${DERIVED_SOURCES_WEBCORE_DIR}/HTMLEntityTable.cpp
2959     MAIN_DEPENDENCY ${WEBCORE_DIR}/html/parser/HTMLEntityNames.in
2960     DEPENDS ${WEBCORE_DIR}/html/parser/create-html-entity-table
2961     COMMAND ${PYTHON_EXECUTABLE} ${WEBCORE_DIR}/html/parser/create-html-entity-table -o ${DERIVED_SOURCES_WEBCORE_DIR}/HTMLEntityTable.cpp ${WEBCORE_DIR}/html/parser/HTMLEntityNames.in
2962     VERBATIM)
2963 list(APPEND WebCore_DERIVED_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/HTMLEntityTable.cpp)
2964
2965 # Generate HTTP header names
2966 add_custom_command(
2967     OUTPUT ${DERIVED_SOURCES_WEBCORE_DIR}/HTTPHeaderNames.cpp ${DERIVED_SOURCES_WEBCORE_DIR}/HTTPHeaderNames.gperf ${DERIVED_SOURCES_WEBCORE_DIR}/HTTPHeaderNames.h
2968     MAIN_DEPENDENCY ${WEBCORE_DIR}/platform/network/HTTPHeaderNames.in
2969     DEPENDS ${WEBCORE_DIR}/platform/network/create-http-header-name-table
2970     WORKING_DIRECTORY ${DERIVED_SOURCES_WEBCORE_DIR}
2971     COMMAND ${PYTHON_EXECUTABLE} ${WEBCORE_DIR}/platform/network/create-http-header-name-table ${WEBCORE_DIR}/platform/network/HTTPHeaderNames.in "${GPERF_EXECUTABLE}"
2972     VERBATIM)
2973 list(APPEND WebCore_DERIVED_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/HTTPHeaderNames.cpp)
2974
2975 # Generate CSS property names
2976 add_custom_command(
2977     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
2978     MAIN_DEPENDENCY ${WEBCORE_DIR}/css/makeprop.pl
2979     DEPENDS ${WebCore_CSS_PROPERTY_NAMES}
2980     WORKING_DIRECTORY ${DERIVED_SOURCES_WEBCORE_DIR}
2981     COMMAND ${PERL_EXECUTABLE} -ne "print" ${WebCore_CSS_PROPERTY_NAMES} > ${DERIVED_SOURCES_WEBCORE_DIR}/CSSProperties.json
2982     COMMAND ${PERL_EXECUTABLE} ${WEBCORE_DIR}/css/makeprop.pl --defines "${FEATURE_DEFINES_WITH_SPACE_SEPARATOR}" --gperf-executable "${GPERF_EXECUTABLE}"
2983     VERBATIM)
2984 list(APPEND WebCore_DERIVED_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/CSSPropertyNames.cpp)
2985 list(APPEND WebCore_DERIVED_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/StyleBuilder.cpp)
2986 list(APPEND WebCore_DERIVED_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/StylePropertyShorthandFunctions.cpp)
2987 ADD_SOURCE_WEBCORE_DERIVED_DEPENDENCIES(${WEBCORE_DIR}/css/CSSParser.cpp CSSValueKeywords.h)
2988
2989 # Generate CSS value keywords
2990 add_custom_command(
2991     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
2992     MAIN_DEPENDENCY ${WEBCORE_DIR}/css/makevalues.pl
2993     DEPENDS ${WebCore_CSS_VALUE_KEYWORDS}
2994     WORKING_DIRECTORY ${DERIVED_SOURCES_WEBCORE_DIR}
2995     COMMAND ${PERL_EXECUTABLE} -ne "print" ${WebCore_CSS_VALUE_KEYWORDS} > ${DERIVED_SOURCES_WEBCORE_DIR}/CSSValueKeywords.in
2996     COMMAND ${PERL_EXECUTABLE} ${WEBCORE_DIR}/css/makevalues.pl --defines "${FEATURE_DEFINES_WITH_SPACE_SEPARATOR}" --preprocessor "${CODE_GENERATOR_PREPROCESSOR}"
2997     VERBATIM)
2998 list(APPEND WebCore_DERIVED_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/CSSValueKeywords.cpp)
2999 ADD_SOURCE_WEBCORE_DERIVED_DEPENDENCIES(${WEBCORE_DIR}/css/CSSParser.cpp CSSValueKeywords.h)
3000 ADD_SOURCE_WEBCORE_DERIVED_DEPENDENCIES(${WEBCORE_DIR}/css/CSSPrimitiveValueMappings.h CSSValueKeywords.h)
3001
3002 # Generate CSS Selector pseudo type name to value maps.
3003 add_custom_command(
3004     OUTPUT ${DERIVED_SOURCES_WEBCORE_DIR}/SelectorPseudoClassAndCompatibilityElementMap.gperf ${DERIVED_SOURCES_WEBCORE_DIR}/SelectorPseudoClassAndCompatibilityElementMap.cpp
3005     MAIN_DEPENDENCY ${WEBCORE_DIR}/css/makeSelectorPseudoClassAndCompatibilityElementMap.py
3006     WORKING_DIRECTORY ${DERIVED_SOURCES_WEBCORE_DIR}
3007     COMMAND ${PYTHON_EXECUTABLE} ${WEBCORE_DIR}/css/makeSelectorPseudoClassAndCompatibilityElementMap.py ${WEBCORE_DIR}/css/SelectorPseudoClassAndCompatibilityElementMap.in "${GPERF_EXECUTABLE}" "${FEATURE_DEFINES_WITH_SPACE_SEPARATOR}"
3008     VERBATIM)
3009 list(APPEND WebCore_DERIVED_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/SelectorPseudoClassAndCompatibilityElementMap.cpp)
3010 add_custom_command(
3011     OUTPUT ${DERIVED_SOURCES_WEBCORE_DIR}/SelectorPseudoElementTypeMap.gperf ${DERIVED_SOURCES_WEBCORE_DIR}/SelectorPseudoElementTypeMap.cpp
3012     MAIN_DEPENDENCY ${WEBCORE_DIR}/css/makeSelectorPseudoElementsMap.py
3013     WORKING_DIRECTORY ${DERIVED_SOURCES_WEBCORE_DIR}
3014     COMMAND ${PYTHON_EXECUTABLE} ${WEBCORE_DIR}/css/makeSelectorPseudoElementsMap.py ${WEBCORE_DIR}/css/SelectorPseudoElementTypeMap.in "${GPERF_EXECUTABLE}" "${FEATURE_DEFINES_WITH_SPACE_SEPARATOR}"
3015     VERBATIM)
3016 list(APPEND WebCore_DERIVED_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/SelectorPseudoElementTypeMap.cpp)
3017
3018 # Generate user agent styles
3019 add_custom_command(
3020     OUTPUT ${DERIVED_SOURCES_WEBCORE_DIR}/UserAgentStyleSheetsData.cpp ${DERIVED_SOURCES_WEBCORE_DIR}/UserAgentStyleSheets.h
3021     MAIN_DEPENDENCY ${WEBCORE_DIR}/css/make-css-file-arrays.pl
3022     DEPENDS ${WebCore_USER_AGENT_STYLE_SHEETS} ${WEBCORE_DIR}/bindings/scripts/preprocessor.pm
3023     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}
3024     VERBATIM)
3025 list(APPEND WebCore_DERIVED_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/UserAgentStyleSheetsData.cpp)
3026 ADD_SOURCE_WEBCORE_DERIVED_DEPENDENCIES(${WEBCORE_DIR}/css/StyleResolver.cpp UserAgentStyleSheetsData.cpp UserAgentStyleSheets.h)
3027
3028 if (WebCore_USER_AGENT_SCRIPTS)
3029     # Necessary variables:
3030     # WebCore_USER_AGENT_SCRIPTS containing the JavaScript sources list
3031     # WebCore_USER_AGENT_SCRIPTS_DEPENDENCIES containing the source file that will load the scripts to add the proper
3032     #   dependency and having them built at the right moment
3033
3034     MAKE_JS_FILE_ARRAYS(
3035         ${DERIVED_SOURCES_WEBCORE_DIR}/UserAgentScriptsData.cpp
3036         ${DERIVED_SOURCES_WEBCORE_DIR}/UserAgentScripts.h
3037         WebCore
3038         WebCore_USER_AGENT_SCRIPTS
3039         WebCore_USER_AGENT_SCRIPTS_DEPENDENCIES
3040     )
3041     list(APPEND WebCore_DERIVED_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/UserAgentScriptsData.cpp)
3042 endif ()
3043
3044 # Generate plug-in resources
3045 add_custom_command(
3046     OUTPUT ${DERIVED_SOURCES_WEBCORE_DIR}/PlugInsResourcesData.cpp ${DERIVED_SOURCES_WEBCORE_DIR}/PlugInsResources.h
3047     MAIN_DEPENDENCY ${WEBCORE_DIR}/css/make-css-file-arrays.pl
3048     DEPENDS ${WebCore_PLUG_INS_RESOURCES} ${WEBCORE_DIR}/bindings/scripts/preprocessor.pm
3049     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}
3050     VERBATIM)
3051 list(APPEND WebCore_DERIVED_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/PlugInsResourcesData.cpp)
3052 ADD_SOURCE_WEBCORE_DERIVED_DEPENDENCIES(${WEBCORE_DIR}/css/StyleResolver.cpp PlugInsResourcesData.cpp PlugInsResources.h)
3053
3054 set(FEATURE_DEFINES_JAVASCRIPT "LANGUAGE_JAVASCRIPT ${FEATURE_DEFINES_WITH_SPACE_SEPARATOR}")
3055 list(APPEND WebCoreTestSupport_IDL_FILES ${DERIVED_SOURCES_WEBCORE_DIR}/InternalSettingsGenerated.idl)
3056
3057 GENERATE_BINDINGS(WebCoreBindings
3058     OUTPUT_SOURCE WebCore_DERIVED_SOURCES
3059     INPUT_FILES ${WebCore_IDL_FILES}
3060     BASE_DIR ${WEBCORE_DIR}
3061     IDL_INCLUDES ${WebCore_IDL_INCLUDES} ${DERIVED_SOURCES_WEBCORE_DIR}
3062     FEATURES ${FEATURE_DEFINES_JAVASCRIPT}
3063     DESTINATION ${DERIVED_SOURCES_WEBCORE_DIR}
3064     GENERATOR JS
3065     SUPPLEMENTAL_DEPFILE ${SUPPLEMENTAL_DEPENDENCY_FILE}
3066     PP_EXTRA_OUTPUT
3067         ${WINDOW_CONSTRUCTORS_FILE} ${WORKERGLOBALSCOPE_CONSTRUCTORS_FILE} ${DEDICATEDWORKERGLOBALSCOPE_CONSTRUCTORS_FILE}
3068     PP_EXTRA_ARGS
3069         --windowConstructorsFile ${WINDOW_CONSTRUCTORS_FILE}
3070         --workerGlobalScopeConstructorsFile ${WORKERGLOBALSCOPE_CONSTRUCTORS_FILE}
3071         --dedicatedWorkerGlobalScopeConstructorsFile ${DEDICATEDWORKERGLOBALSCOPE_CONSTRUCTORS_FILE}
3072         --serviceWorkerGlobalScopeConstructorsFile ${SERVICEWORKERGLOBALSCOPE_CONSTRUCTORS_FILE})
3073
3074 GENERATE_BINDINGS(WebCoreTestSupportBindings
3075     OUTPUT_SOURCE WebCoreTestSupport_SOURCES
3076     INPUT_FILES ${WebCoreTestSupport_IDL_FILES}
3077     BASE_DIR ${WEBCORE_DIR}
3078     IDL_INCLUDES ${WebCore_IDL_INCLUDES} ${DERIVED_SOURCES_WEBCORE_DIR} ${WebCoreTestSupport_IDL_INCLUDES}
3079     FEATURES ${FEATURE_DEFINES_JAVASCRIPT}
3080     DESTINATION ${DERIVED_SOURCES_WEBCORE_DIR}
3081     GENERATOR JS)
3082
3083 # WebCoreTestSupportBindings needs InternalSettingsGenerated.idl
3084 add_dependencies(WebCoreTestSupportBindings WebCoreDerivedSources)
3085
3086 # WebCore JS Builtins
3087
3088 set(WebCore_BUILTINS_SOURCES
3089     ${WEBCORE_DIR}/Modules/mediastream/NavigatorUserMedia.js
3090     ${WEBCORE_DIR}/Modules/mediastream/RTCPeerConnection.js
3091     ${WEBCORE_DIR}/Modules/mediastream/RTCPeerConnectionInternals.js
3092     ${WEBCORE_DIR}/Modules/streams/ByteLengthQueuingStrategy.js
3093     ${WEBCORE_DIR}/Modules/streams/CountQueuingStrategy.js
3094     ${WEBCORE_DIR}/Modules/streams/ReadableByteStreamController.js
3095     ${WEBCORE_DIR}/Modules/streams/ReadableByteStreamInternals.js
3096     ${WEBCORE_DIR}/Modules/streams/ReadableStream.js
3097     ${WEBCORE_DIR}/Modules/streams/ReadableStreamBYOBReader.js
3098     ${WEBCORE_DIR}/Modules/streams/ReadableStreamBYOBRequest.js
3099     ${WEBCORE_DIR}/Modules/streams/ReadableStreamDefaultController.js
3100     ${WEBCORE_DIR}/Modules/streams/ReadableStreamInternals.js
3101     ${WEBCORE_DIR}/Modules/streams/ReadableStreamDefaultReader.js
3102     ${WEBCORE_DIR}/Modules/streams/StreamInternals.js
3103     ${WEBCORE_DIR}/Modules/streams/WritableStream.js
3104     ${WEBCORE_DIR}/Modules/streams/WritableStreamInternals.js
3105     ${WEBCORE_DIR}/bindings/js/JSDOMBindingInternals.js
3106 )
3107
3108 set(BUILTINS_GENERATOR_SCRIPTS
3109     ${JavaScriptCore_SCRIPTS_DIR}/builtins.py
3110     ${JavaScriptCore_SCRIPTS_DIR}/builtins_generator.py
3111     ${JavaScriptCore_SCRIPTS_DIR}/builtins_model.py
3112     ${JavaScriptCore_SCRIPTS_DIR}/builtins_templates.py
3113     ${JavaScriptCore_SCRIPTS_DIR}/builtins_generate_combined_header.py
3114     ${JavaScriptCore_SCRIPTS_DIR}/builtins_generate_combined_implementation.py
3115     ${JavaScriptCore_SCRIPTS_DIR}/builtins_generate_separate_header.py
3116     ${JavaScriptCore_SCRIPTS_DIR}/builtins_generate_separate_implementation.py
3117     ${JavaScriptCore_SCRIPTS_DIR}/builtins_generate_wrapper_header.py
3118     ${JavaScriptCore_SCRIPTS_DIR}/builtins_generate_wrapper_implementation.py
3119     ${JavaScriptCore_SCRIPTS_DIR}/builtins_generate_internals_wrapper_header.py
3120     ${JavaScriptCore_SCRIPTS_DIR}/builtins_generate_internals_wrapper_implementation.py
3121     ${JavaScriptCore_SCRIPTS_DIR}/generate-js-builtins.py
3122     ${JavaScriptCore_SCRIPTS_DIR}/lazywriter.py
3123 )
3124
3125 foreach (_builtinSource ${WebCore_BUILTINS_SOURCES})
3126     get_filename_component(_objectName ${_builtinSource} NAME_WE)
3127     add_custom_command(
3128         OUTPUT ${DERIVED_SOURCES_WEBCORE_DIR}/${_objectName}Builtins.cpp
3129                ${DERIVED_SOURCES_WEBCORE_DIR}/${_objectName}Builtins.h
3130         MAIN_DEPENDENCY ${_builtinSource}
3131         DEPENDS ${BUILTINS_GENERATOR_SCRIPTS}
3132         COMMAND ${PYTHON_EXECUTABLE} ${JavaScriptCore_SCRIPTS_DIR}/generate-js-builtins.py --framework WebCore --output-directory ${DERIVED_SOURCES_WEBCORE_DIR} ${_builtinSource}
3133         VERBATIM)
3134     list(APPEND WebCore_DERIVED_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/${_objectName}Builtins.cpp)
3135     list(APPEND WebCore_DERIVED_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/${_objectName}Builtins.h)
3136     list(APPEND WebCore_DERIVED_BUILTIN_HEADERS ${DERIVED_SOURCES_WEBCORE_DIR}/${_objectName}Builtins.h)
3137 endforeach ()
3138
3139 add_custom_command(
3140     OUTPUT ${DERIVED_SOURCES_WEBCORE_DIR}/WebCoreJSBuiltins.cpp
3141            ${DERIVED_SOURCES_WEBCORE_DIR}/WebCoreJSBuiltinInternals.cpp
3142            ${DERIVED_SOURCES_WEBCORE_DIR}/WebCoreJSBuiltins.h
3143            ${DERIVED_SOURCES_WEBCORE_DIR}/WebCoreJSBuiltinInternals.h
3144     MAIN_DEPENDENCY ${WebCore_BUILTINS_SOURCES}
3145     DEPENDS ${BUILTINS_GENERATOR_SCRIPTS} ${WebCore_DERIVED_BUILTIN_HEADERS}
3146     COMMAND ${PYTHON_EXECUTABLE} ${JavaScriptCore_SCRIPTS_DIR}/generate-js-builtins.py --wrappers-only --framework WebCore --output-directory ${DERIVED_SOURCES_WEBCORE_DIR} ${WebCore_BUILTINS_SOURCES}
3147     VERBATIM)
3148 list(APPEND WebCore_DERIVED_SOURCES
3149     ${DERIVED_SOURCES_WEBCORE_DIR}/WebCoreJSBuiltins.cpp
3150     ${DERIVED_SOURCES_WEBCORE_DIR}/WebCoreJSBuiltinInternals.cpp
3151     ${DERIVED_SOURCES_WEBCORE_DIR}/WebCoreJSBuiltins.h
3152     ${DERIVED_SOURCES_WEBCORE_DIR}/WebCoreJSBuiltinInternals.h)
3153
3154 ADD_SOURCE_WEBCORE_DERIVED_DEPENDENCIES(${WEBCORE_DIR}/html/HTMLTreeBuilder.cpp MathMLNames.cpp)
3155
3156
3157 GENERATE_DOM_NAMES(HTML ${WEBCORE_DIR}/html/HTMLAttributeNames.in ${WEBCORE_DIR}/html/HTMLTagNames.in "")
3158 list(APPEND WebCore_DERIVED_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/HTMLNames.cpp ${DERIVED_SOURCES_WEBCORE_DIR}/HTMLElementFactory.cpp ${DERIVED_SOURCES_WEBCORE_DIR}/JSHTMLElementWrapperFactory.cpp)
3159
3160
3161 GENERATE_EVENT_FACTORY(${WEBCORE_DIR}/dom/EventNames.in EventInterfaces.h)
3162 list(APPEND WebCore_DERIVED_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/EventInterfaces.h)
3163
3164
3165 GENERATE_EVENT_FACTORY(${WEBCORE_DIR}/dom/EventTargetFactory.in EventTargetInterfaces.h)
3166 list(APPEND WebCore_DERIVED_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/EventTargetInterfaces.h)
3167
3168
3169 GENERATE_SETTINGS_MACROS(${WEBCORE_DIR}/page/Settings.yaml Settings.h)
3170 list(APPEND WebCore_DERIVED_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/Settings.h)
3171 list(APPEND WebCore_DERIVED_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/Settings.cpp)
3172 list(APPEND WebCoreTestSupport_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/InternalSettingsGenerated.cpp)
3173
3174
3175 GENERATE_FONT_NAMES(${WEBCORE_DIR}/css/WebKitFontFamilyNames.in)
3176 list(APPEND WebCore_DERIVED_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/WebKitFontFamilyNames.cpp)
3177
3178
3179 GENERATE_DOM_NAMES(MathML ${WEBCORE_DIR}/mathml/mathattrs.in ${WEBCORE_DIR}/mathml/mathtags.in "")
3180 list(APPEND WebCore_DERIVED_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/MathMLNames.cpp)
3181 if (ENABLE_MATHML)
3182     list(APPEND WebCore_DERIVED_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/MathMLElementFactory.cpp)
3183 endif ()
3184
3185 # SVG extra defines need to map to a numerical value for correct preprocessing of svgtags.in.
3186 set(SVG_EXTRA_DEFINES "")
3187 if (ENABLE_SVG_FONTS)
3188     list(APPEND SVG_EXTRA_DEFINES "ENABLE_SVG_FONTS=1")
3189 endif ()
3190
3191 GENERATE_DOM_NAMES(SVG ${WEBCORE_DIR}/svg/svgattrs.in ${WEBCORE_DIR}/svg/svgtags.in "${SVG_EXTRA_DEFINES}")
3192 list(APPEND WebCore_DERIVED_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/SVGNames.cpp)
3193
3194 list(APPEND WebCore_DERIVED_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/SVGElementFactory.cpp ${DERIVED_SOURCES_WEBCORE_DIR}/JSSVGElementWrapperFactory.cpp)
3195
3196 GENERATE_DOM_NAMES(XLink ${WEBCORE_DIR}/svg/xlinkattrs.in)
3197 list(APPEND WebCore_DERIVED_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/XLinkNames.cpp)
3198
3199
3200 GENERATE_DOM_NAMES(XMLNS ${WEBCORE_DIR}/xml/xmlnsattrs.in)
3201 list(APPEND WebCore_DERIVED_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/XMLNSNames.cpp)
3202
3203
3204 GENERATE_DOM_NAMES(XML ${WEBCORE_DIR}/xml/xmlattrs.in)
3205 list(APPEND WebCore_DERIVED_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/XMLNames.cpp)
3206
3207 if (ENABLE_ALLINONE_BUILD AND WIN32)
3208     message(STATUS "All-in-One DerivedSources build is enabled.")
3209     PROCESS_ALLINONE_FILE("${WebCore_DERIVED_SOURCES}" DerivedSources.cpp newSources TRUE)
3210     set(WebCore_DERIVED_SOURCES DerivedSources.cpp ${newSources})
3211 endif ()
3212
3213 WEBKIT_WRAP_SOURCELIST(${WebCore_IDL_FILES} ${WebCore_DERIVED_SOURCES})
3214 WEBKIT_COMPUTE_SOURCES(WebCore)
3215 WEBKIT_WRAP_SOURCELIST(${WebCore_SOURCES})
3216 WEBKIT_WRAP_SOURCELIST(${WebCoreTestSupport_IDL_FILES} ${WebCoreTestSupport_SOURCES})
3217
3218 if (MSVC)
3219     WEBKIT_ADD_PRECOMPILED_HEADER("WebCorePrefix.h" "WebCorePrefix.cpp" WebCore_SOURCES)
3220     WEBKIT_ADD_PRECOMPILED_HEADER("WebCorePrefix.h" "WebCoreDerivedSourcesPrefix.cpp" WebCore_DERIVED_SOURCES)
3221 endif ()
3222
3223 # This is split into a separate library as a workaround for command line length
3224 # limits. This should no longer be needed when CMake supports Ninja response
3225 # files on OS X.
3226 add_library(WebCoreDerivedSources STATIC ${WebCore_DERIVED_SOURCES})
3227 set_target_properties(WebCoreDerivedSources PROPERTIES OUTPUT_NAME WebCoreDerivedSources${DEBUG_SUFFIX})
3228 target_link_libraries(WebCoreDerivedSources ${WebCore_LIBRARIES})
3229 target_include_directories(WebCoreDerivedSources PUBLIC ${WebCore_INCLUDE_DIRECTORIES})
3230 add_dependencies(WebCoreDerivedSources WebCoreBindings)
3231 if (NOT WIN32)
3232     list(APPEND WebCore_LIBRARIES WebCoreDerivedSources)
3233 endif ()
3234
3235 WEBKIT_FRAMEWORK(WebCore)
3236
3237 if (APPLE)
3238     set_target_properties(WebCore PROPERTIES LINK_FLAGS "-sub_library libobjc -umbrella WebKit -allowable_client WebCoreTestSupport -allowable_client WebKit2 -allowable_client WebKitLegacy")
3239 endif ()
3240
3241 if (WIN32)
3242     add_custom_target(WebCoreDerivedSources_PreBuild COMMAND ${WebCore_DERIVED_SOURCES_PRE_BUILD_COMMAND} VERBATIM)
3243     add_dependencies(WebCoreDerivedSources WebCoreDerivedSources_PreBuild)
3244     add_dependencies(WebCore WebCoreDerivedSources)
3245 endif ()
3246
3247 # The -ftree-sra optimization (implicit with -O2) causes crashes when
3248 # allocating large chunks of memory using bmalloc on Intel 32bit.
3249 # See https://bugs.webkit.org/show_bug.cgi?id=146440
3250 string(TOLOWER ${CMAKE_HOST_SYSTEM_PROCESSOR} LOWERCASE_CMAKE_HOST_SYSTEM_PROCESSOR)
3251 if (CMAKE_COMPILER_IS_GNUCXX AND "${LOWERCASE_CMAKE_HOST_SYSTEM_PROCESSOR}" MATCHES "(i[3-6]86|x86)$")
3252     WEBKIT_ADD_TARGET_CXX_FLAGS(WebCore -fno-tree-sra)
3253 endif ()
3254
3255 if (MSVC)
3256     WEBKIT_ADD_PRECOMPILED_HEADER("WebCoreTestSupportPrefix.h" "testing/js/WebCoreTestSupportPrefix.cpp" WebCoreTestSupport_SOURCES)
3257 endif ()
3258
3259 add_library(WebCoreTestSupport ${WebCoreTestSupport_LIBRARY_TYPE} ${WebCoreTestSupport_SOURCES})
3260 add_dependencies(WebCoreTestSupport WebCore WebCoreTestSupportBindings)
3261 target_include_directories(WebCoreTestSupport PUBLIC ${WebCoreTestSupport_INCLUDE_DIRECTORIES} ${WebCore_INCLUDE_DIRECTORIES})
3262 target_link_libraries(WebCoreTestSupport ${WebCoreTestSupport_LIBRARIES})
3263
3264 if (WebCoreTestSupport_OUTPUT_NAME)
3265     set_target_properties(WebCoreTestSupport PROPERTIES OUTPUT_NAME ${WebCoreTestSupport_OUTPUT_NAME})
3266     if (MSVC)
3267         add_compile_options(/GF- /WX-)
3268     endif ()
3269 endif ()
3270
3271 if (ENABLE_GRAPHICS_CONTEXT_3D AND NOT WIN32)
3272     add_library(ANGLESupport STATIC ${ANGLESupport_SOURCES})
3273
3274     # Enable the ESSL and GLSL translators.
3275     set_property(TARGET ANGLESupport
3276         PROPERTY COMPILE_DEFINITIONS
3277         ANGLE_ENABLE_ESSL
3278         ANGLE_ENABLE_GLSL
3279         ${ANGLE_PLATFORM_DEFINITIONS})
3280
3281     target_include_directories(ANGLESupport PRIVATE
3282         "${THIRDPARTY_DIR}/ANGLE"
3283         "${THIRDPARTY_DIR}/ANGLE/include"
3284         "${THIRDPARTY_DIR}/ANGLE/include/KHR"
3285         "${THIRDPARTY_DIR}/ANGLE/src"
3286         "${THIRDPARTY_DIR}/ANGLE/src/common/third_party/numerics"
3287     )
3288     list(APPEND WebCore_LIBRARIES ANGLESupport)
3289
3290     if (COMPILER_IS_GCC_OR_CLANG)
3291         WEBKIT_ADD_TARGET_CXX_FLAGS(ANGLESupport -Wno-implicit-fallthrough
3292                                                  -Wno-inconsistent-missing-override
3293                                                  -Wno-null-conversion
3294                                                  -Wno-suggest-attribute=format
3295                                                  -Wno-unused-function
3296                                                  -Wno-unused-parameter)
3297     endif ()
3298 endif ()
3299
3300 target_link_libraries(WebCore ${WebCore_LIBRARIES})
3301
3302 if (SHARED_CORE)
3303     set_target_properties(WebCore PROPERTIES VERSION ${PROJECT_VERSION} SOVERSION ${PROJECT_VERSION_MAJOR})
3304     install(TARGETS WebCore DESTINATION "${LIB_INSTALL_DIR}")
3305 endif ()
3306
3307 if (MSVC)
3308     set_target_properties(WebCore PROPERTIES
3309         COMPILE_PDB_NAME ${WebCore_OUTPUT_NAME}
3310     )
3311 endif ()