blob: b159e1d90c76ef3e1a9e5e47e7a15e405ff5e89a [file] [log] [blame]
# Copyright 2016 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//third_party/WebKit/Source/core/core.gni")
blink_core_sources("dom") {
split_count = 5
sources = [
"AXObjectCache.cpp",
"AXObjectCache.h",
"AccessibleNode.cpp",
"AccessibleNode.h",
"AncestorList.h",
"AnimationWorkletProxyClient.h",
"Attr.cpp",
"Attr.h",
"Attribute.h",
"AttributeCollection.h",
"CDATASection.cpp",
"CDATASection.h",
"CSSSelectorWatch.cpp",
"CSSSelectorWatch.h",
"CharacterData.cpp",
"CharacterData.h",
"ChildFrameDisconnector.cpp",
"ChildFrameDisconnector.h",
"ChildListMutationScope.cpp",
"ChildListMutationScope.h",
"ChildNode.h",
"ChildNodeList.cpp",
"ChildNodeList.h",
"ClassCollection.cpp",
"ClassCollection.h",
"ClassicPendingScript.cpp",
"ClassicPendingScript.h",
"ClassicScript.cpp",
"ClassicScript.h",
"ClientRect.cpp",
"ClientRect.h",
"ClientRectList.cpp",
"ClientRectList.h",
"CollectionIndexCache.h",
"Comment.cpp",
"Comment.h",
"CompositorProxiedPropertySet.cpp",
"CompositorProxiedPropertySet.h",
"CompositorProxy.cpp",
"CompositorProxy.h",
"CompositorProxyClient.h",
"CompositorWorkerProxyClient.cpp",
"CompositorWorkerProxyClient.h",
"ContainerNode.cpp",
"ContainerNode.h",
"ContextFeatures.cpp",
"ContextFeatures.h",
"ContextFeaturesClientImpl.cpp",
"ContextFeaturesClientImpl.h",
"ContextLifecycleNotifier.cpp",
"ContextLifecycleNotifier.h",
"ContextLifecycleObserver.cpp",
"ContextLifecycleObserver.h",
"DOMArrayBuffer.cpp",
"DOMArrayBuffer.h",
"DOMArrayBufferBase.h",
"DOMArrayBufferView.h",
"DOMArrayPiece.cpp",
"DOMArrayPiece.h",
"DOMDataView.cpp",
"DOMDataView.h",
"DOMException.cpp",
"DOMException.h",
"DOMHighResTimeStamp.h",
"DOMImplementation.cpp",
"DOMImplementation.h",
"DOMNodeIds.cpp",
"DOMNodeIds.h",
"DOMSharedArrayBuffer.cpp",
"DOMSharedArrayBuffer.h",
"DOMStringList.cpp",
"DOMStringList.h",
"DOMStringMap.cpp",
"DOMStringMap.h",
"DOMTimeStamp.h",
"DOMTokenList.cpp",
"DOMTokenList.h",
"DOMTypedArray.cpp",
"DOMTypedArray.h",
"DOMURL.cpp",
"DOMURL.h",
"DOMURLUtils.cpp",
"DOMURLUtils.h",
"DOMURLUtilsReadOnly.cpp",
"DOMURLUtilsReadOnly.h",
"DatasetDOMStringMap.cpp",
"DatasetDOMStringMap.h",
"DecodedDataDocumentParser.cpp",
"DecodedDataDocumentParser.h",
"Document.cpp",
"Document.h",
"DocumentEncodingData.cpp",
"DocumentEncodingData.h",
"DocumentFragment.cpp",
"DocumentFragment.h",
"DocumentFullscreen.cpp",
"DocumentFullscreen.h",
"DocumentInit.cpp",
"DocumentInit.h",
"DocumentLifecycle.cpp",
"DocumentLifecycle.h",
"DocumentOrShadowRoot.h",
"DocumentOrderedList.cpp",
"DocumentOrderedList.h",
"DocumentOrderedMap.cpp",
"DocumentOrderedMap.h",
"DocumentParser.cpp",
"DocumentParser.h",
"DocumentParserClient.h",
"DocumentParserTiming.cpp",
"DocumentParserTiming.h",
"DocumentStatisticsCollector.cpp",
"DocumentStatisticsCollector.h",
"DocumentStyleSheetCollection.cpp",
"DocumentStyleSheetCollection.h",
"DocumentStyleSheetCollector.cpp",
"DocumentStyleSheetCollector.h",
"DocumentTiming.cpp",
"DocumentTiming.h",
"DocumentType.cpp",
"DocumentType.h",
"DocumentUserGestureToken.h",
"Element.cpp",
"Element.h",
"ElementData.cpp",
"ElementData.h",
"ElementDataCache.cpp",
"ElementDataCache.h",
"ElementFullscreen.cpp",
"ElementFullscreen.h",
"ElementIntersectionObserverData.cpp",
"ElementIntersectionObserverData.h",
"ElementRareData.cpp",
"ElementRareData.h",
"ElementTraversal.h",
"ElementVisibilityObserver.cpp",
"ElementVisibilityObserver.h",
"EmptyNodeList.cpp",
"EmptyNodeList.h",
"ExceptionCode.h",
"ExecutionContext.cpp",
"ExecutionContext.h",
"ExecutionContextTask.h",
"FirstLetterPseudoElement.cpp",
"FirstLetterPseudoElement.h",
"FlexibleArrayBufferView.h",
"FrameRequestCallback.h",
"FrameRequestCallbackCollection.cpp",
"FrameRequestCallbackCollection.h",
"Fullscreen.cpp",
"Fullscreen.h",
"GlobalEventHandlers.h",
"IconURL.cpp",
"IconURL.h",
"IdTargetObserver.cpp",
"IdTargetObserver.h",
"IdTargetObserverRegistry.cpp",
"IdTargetObserverRegistry.h",
"IdleDeadline.cpp",
"IdleDeadline.h",
"IdleRequestCallback.h",
"IgnoreDestructiveWriteCountIncrementer.h",
"IncrementLoadEventDelayCount.cpp",
"IncrementLoadEventDelayCount.h",
"IntersectionObservation.cpp",
"IntersectionObservation.h",
"IntersectionObserver.cpp",
"IntersectionObserver.h",
"IntersectionObserverCallback.h",
"IntersectionObserverController.cpp",
"IntersectionObserverController.h",
"IntersectionObserverEntry.cpp",
"IntersectionObserverEntry.h",
"Iterator.h",
"LayoutTreeBuilder.cpp",
"LayoutTreeBuilder.h",
"LayoutTreeBuilderTraversal.cpp",
"LayoutTreeBuilderTraversal.h",
"LiveNodeList.cpp",
"LiveNodeList.h",
"LiveNodeListBase.cpp",
"LiveNodeListBase.h",
"MessageChannel.cpp",
"MessageChannel.h",
"MessagePort.cpp",
"MessagePort.h",
"Modulator.cpp",
"Modulator.h",
"ModulatorImpl.cpp",
"ModulatorImpl.h",
"ModuleMap.cpp",
"ModuleMap.h",
"ModulePendingScript.cpp",
"ModulePendingScript.h",
"ModuleScript.cpp",
"ModuleScript.h",
"MutationCallback.h",
"MutationObserver.cpp",
"MutationObserver.h",
"MutationObserverInterestGroup.cpp",
"MutationObserverInterestGroup.h",
"MutationObserverRegistration.cpp",
"MutationObserverRegistration.h",
"MutationRecord.cpp",
"MutationRecord.h",
"NameNodeList.cpp",
"NameNodeList.h",
"NamedNodeMap.cpp",
"NamedNodeMap.h",
"Node.cpp",
"Node.h",
"NodeChildRemovalTracker.cpp",
"NodeChildRemovalTracker.h",
"NodeComputedStyle.h",
"NodeFilter.cpp",
"NodeFilter.h",
"NodeFilterCondition.h",
"NodeIterator.cpp",
"NodeIterator.h",
"NodeIteratorBase.cpp",
"NodeIteratorBase.h",
"NodeList.h",
"NodeListsNodeData.cpp",
"NodeListsNodeData.h",
"NodeRareData.cpp",
"NodeRareData.h",
"NodeTraversal.cpp",
"NodeTraversal.h",
"NodeWithIndex.h",
"NonDocumentTypeChildNode.h",
"NonElementParentNode.h",
"NthIndexCache.cpp",
"NthIndexCache.h",
"ParentNode.h",
"ParserContentPolicy.h",
"PendingScript.cpp",
"PendingScript.h",
"PresentationAttributeStyle.cpp",
"PresentationAttributeStyle.h",
"ProcessingInstruction.cpp",
"ProcessingInstruction.h",
"PseudoElement.cpp",
"PseudoElement.h",
"PseudoElementData.h",
"QualifiedName.cpp",
"QualifiedName.h",
"Range.cpp",
"Range.h",
"RangeBoundaryPoint.h",
"RawDataDocumentParser.h",
"RemoteSecurityContext.cpp",
"RemoteSecurityContext.h",
"ResizeObservation.cpp",
"ResizeObservation.h",
"ResizeObserver.cpp",
"ResizeObserver.h",
"ResizeObserverCallback.h",
"ResizeObserverController.cpp",
"ResizeObserverController.h",
"ResizeObserverEntry.cpp",
"ResizeObserverEntry.h",
"SandboxFlags.cpp",
"SandboxFlags.h",
"ScopedWindowFocusAllowedIndicator.h",
"Script.h",
"ScriptElementBase.cpp",
"ScriptElementBase.h",
"ScriptLoader.cpp",
"ScriptLoader.h",
"ScriptModuleResolver.h",
"ScriptModuleResolverImpl.cpp",
"ScriptModuleResolverImpl.h",
"ScriptRunner.cpp",
"ScriptRunner.h",
"ScriptableDocumentParser.cpp",
"ScriptableDocumentParser.h",
"ScriptedAnimationController.cpp",
"ScriptedAnimationController.h",
"ScriptedIdleTaskController.cpp",
"ScriptedIdleTaskController.h",
"SecurityContext.cpp",
"SecurityContext.h",
"SelectorQuery.cpp",
"SelectorQuery.h",
"ShadowTreeStyleSheetCollection.cpp",
"ShadowTreeStyleSheetCollection.h",
"SimulatedClickOptions.h",
"SinkDocument.cpp",
"SinkDocument.h",
"SpaceSplitString.cpp",
"SpaceSplitString.h",
"StaticNodeList.h",
"StaticRange.cpp",
"StaticRange.h",
"StringCallback.h",
"StyleChangeReason.cpp",
"StyleChangeReason.h",
"StyleElement.cpp",
"StyleElement.h",
"StyleEngine.cpp",
"StyleEngine.h",
"StyleEngineContext.cpp",
"StyleEngineContext.h",
"StyleSheetCandidate.cpp",
"StyleSheetCandidate.h",
"StyleSheetCollection.cpp",
"StyleSheetCollection.h",
"SuspendableObject.cpp",
"SuspendableObject.h",
"SynchronousMutationNotifier.cpp",
"SynchronousMutationNotifier.h",
"SynchronousMutationObserver.cpp",
"SynchronousMutationObserver.h",
"TagCollection.cpp",
"TagCollection.h",
"TaskRunnerHelper.cpp",
"TaskRunnerHelper.h",
"TemplateContentDocumentFragment.h",
"Text.cpp",
"Text.h",
"TextLinkColors.cpp",
"TextLinkColors.h",
"ThrowOnDynamicMarkupInsertionCountIncrementer.h",
"Touch.cpp",
"Touch.h",
"TouchList.cpp",
"TouchList.h",
"TransformSource.h",
"TransformSourceLibxslt.cpp",
"TreeScope.cpp",
"TreeScope.h",
"TreeScopeAdopter.cpp",
"TreeScopeAdopter.h",
"TreeScopeStyleSheetCollection.cpp",
"TreeScopeStyleSheetCollection.h",
"TreeWalker.cpp",
"TreeWalker.h",
"TypedFlexibleArrayBufferView.h",
"URLSearchParams.cpp",
"URLSearchParams.h",
"UserActionElementSet.cpp",
"UserActionElementSet.h",
"ViewportDescription.cpp",
"ViewportDescription.h",
"VisitedLinkState.cpp",
"VisitedLinkState.h",
"WeakIdentifierMap.h",
"XMLDocument.cpp",
"XMLDocument.h",
"custom/CEReactionsScope.cpp",
"custom/CEReactionsScope.h",
"custom/CustomElement.cpp",
"custom/CustomElement.h",
"custom/CustomElementAdoptedCallbackReaction.cpp",
"custom/CustomElementAdoptedCallbackReaction.h",
"custom/CustomElementAttributeChangedCallbackReaction.cpp",
"custom/CustomElementAttributeChangedCallbackReaction.h",
"custom/CustomElementConnectedCallbackReaction.cpp",
"custom/CustomElementConnectedCallbackReaction.h",
"custom/CustomElementDefinition.cpp",
"custom/CustomElementDefinition.h",
"custom/CustomElementDefinitionBuilder.h",
"custom/CustomElementDescriptor.h",
"custom/CustomElementDescriptorHash.h",
"custom/CustomElementDisconnectedCallbackReaction.cpp",
"custom/CustomElementDisconnectedCallbackReaction.h",
"custom/CustomElementReaction.cpp",
"custom/CustomElementReaction.h",
"custom/CustomElementReactionQueue.cpp",
"custom/CustomElementReactionQueue.h",
"custom/CustomElementReactionStack.cpp",
"custom/CustomElementReactionStack.h",
"custom/CustomElementRegistry.cpp",
"custom/CustomElementRegistry.h",
"custom/CustomElementUpgradeReaction.cpp",
"custom/CustomElementUpgradeReaction.h",
"custom/CustomElementUpgradeSorter.cpp",
"custom/CustomElementUpgradeSorter.h",
"custom/V0CustomElement.cpp",
"custom/V0CustomElement.h",
"custom/V0CustomElementAsyncImportMicrotaskQueue.cpp",
"custom/V0CustomElementAsyncImportMicrotaskQueue.h",
"custom/V0CustomElementCallbackInvocation.cpp",
"custom/V0CustomElementCallbackInvocation.h",
"custom/V0CustomElementCallbackQueue.cpp",
"custom/V0CustomElementCallbackQueue.h",
"custom/V0CustomElementDefinition.cpp",
"custom/V0CustomElementDefinition.h",
"custom/V0CustomElementDescriptor.h",
"custom/V0CustomElementDescriptorHash.h",
"custom/V0CustomElementException.cpp",
"custom/V0CustomElementException.h",
"custom/V0CustomElementLifecycleCallbacks.h",
"custom/V0CustomElementMicrotaskDispatcher.cpp",
"custom/V0CustomElementMicrotaskDispatcher.h",
"custom/V0CustomElementMicrotaskImportStep.cpp",
"custom/V0CustomElementMicrotaskImportStep.h",
"custom/V0CustomElementMicrotaskQueueBase.cpp",
"custom/V0CustomElementMicrotaskQueueBase.h",
"custom/V0CustomElementMicrotaskResolutionStep.cpp",
"custom/V0CustomElementMicrotaskResolutionStep.h",
"custom/V0CustomElementMicrotaskRunQueue.cpp",
"custom/V0CustomElementMicrotaskRunQueue.h",
"custom/V0CustomElementMicrotaskStep.h",
"custom/V0CustomElementObserver.cpp",
"custom/V0CustomElementObserver.h",
"custom/V0CustomElementProcessingStack.cpp",
"custom/V0CustomElementProcessingStack.h",
"custom/V0CustomElementProcessingStep.h",
"custom/V0CustomElementRegistrationContext.cpp",
"custom/V0CustomElementRegistrationContext.h",
"custom/V0CustomElementRegistry.cpp",
"custom/V0CustomElementRegistry.h",
"custom/V0CustomElementScheduler.cpp",
"custom/V0CustomElementScheduler.h",
"custom/V0CustomElementSyncMicrotaskQueue.cpp",
"custom/V0CustomElementSyncMicrotaskQueue.h",
"custom/V0CustomElementUpgradeCandidateMap.cpp",
"custom/V0CustomElementUpgradeCandidateMap.h",
"shadow/DistributedNodes.cpp",
"shadow/DistributedNodes.h",
"shadow/ElementShadow.cpp",
"shadow/ElementShadow.h",
"shadow/ElementShadowV0.cpp",
"shadow/ElementShadowV0.h",
"shadow/FlatTreeTraversal.cpp",
"shadow/FlatTreeTraversal.h",
"shadow/InsertionPoint.cpp",
"shadow/InsertionPoint.h",
"shadow/SelectRuleFeatureSet.cpp",
"shadow/SelectRuleFeatureSet.h",
"shadow/ShadowRoot.cpp",
"shadow/ShadowRoot.h",
"shadow/ShadowRootRareDataV0.h",
"shadow/SlotAssignment.cpp",
"shadow/SlotAssignment.h",
"shadow/SlotScopedTraversal.cpp",
"shadow/SlotScopedTraversal.h",
]
configs += [
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
"//build/config/compiler:no_size_t_to_int_warning",
]
}