| # 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", |
| "AXObjectCacheBase.cpp", |
| "AXObjectCacheBase.h", |
| "AccessibleNode.cpp", |
| "AccessibleNode.h", |
| "AccessibleNodeList.cpp", |
| "AccessibleNodeList.h", |
| "AnimationWorkletProxyClient.cpp", |
| "AnimationWorkletProxyClient.h", |
| "Attr.cpp", |
| "Attr.h", |
| "Attribute.h", |
| "AttributeCollection.h", |
| "BlinkCloneableMessage.cpp", |
| "BlinkCloneableMessage.h", |
| "BlinkCloneableMessageStructTraits.cpp", |
| "BlinkCloneableMessageStructTraits.h", |
| "BlinkTransferableMessage.cpp", |
| "BlinkTransferableMessage.h", |
| "BlinkTransferableMessageStructTraits.cpp", |
| "BlinkTransferableMessageStructTraits.h", |
| "CDATASection.cpp", |
| "CDATASection.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", |
| "CollectionIndexCache.h", |
| "Comment.cpp", |
| "Comment.h", |
| "ContainerNode.cpp", |
| "ContainerNode.h", |
| "ContextFeatures.cpp", |
| "ContextFeatures.h", |
| "ContextFeaturesClientImpl.cpp", |
| "ContextFeaturesClientImpl.h", |
| "ContextLifecycleNotifier.cpp", |
| "ContextLifecycleNotifier.h", |
| "ContextLifecycleObserver.cpp", |
| "ContextLifecycleObserver.h", |
| "DOMException.cpp", |
| "DOMException.h", |
| "DOMHighResTimeStamp.h", |
| "DOMImplementation.cpp", |
| "DOMImplementation.h", |
| "DOMNodeIds.cpp", |
| "DOMNodeIds.h", |
| "DOMStringList.cpp", |
| "DOMStringList.h", |
| "DOMStringMap.cpp", |
| "DOMStringMap.h", |
| "DOMTimeStamp.h", |
| "DOMTokenList.cpp", |
| "DOMTokenList.h", |
| "DatasetDOMStringMap.cpp", |
| "DatasetDOMStringMap.h", |
| "DecodedDataDocumentParser.cpp", |
| "DecodedDataDocumentParser.h", |
| "DistributedNodes.cpp", |
| "DistributedNodes.h", |
| "Document.cpp", |
| "Document.h", |
| "DocumentEncodingData.cpp", |
| "DocumentEncodingData.h", |
| "DocumentFragment.cpp", |
| "DocumentFragment.h", |
| "DocumentInit.cpp", |
| "DocumentInit.h", |
| "DocumentLifecycle.cpp", |
| "DocumentLifecycle.h", |
| "DocumentModulatorImpl.cpp", |
| "DocumentModulatorImpl.h", |
| "DocumentOrShadowRoot.h", |
| "DocumentParser.cpp", |
| "DocumentParser.h", |
| "DocumentParserClient.h", |
| "DocumentParserTiming.cpp", |
| "DocumentParserTiming.h", |
| "DocumentShutdownNotifier.cpp", |
| "DocumentShutdownNotifier.h", |
| "DocumentShutdownObserver.cpp", |
| "DocumentShutdownObserver.h", |
| "DocumentStatisticsCollector.cpp", |
| "DocumentStatisticsCollector.h", |
| "DocumentTiming.cpp", |
| "DocumentTiming.h", |
| "DocumentType.cpp", |
| "DocumentType.h", |
| "DocumentWriteIntervention.cpp", |
| "DocumentWriteIntervention.h", |
| "DynamicModuleResolver.cpp", |
| "DynamicModuleResolver.h", |
| "Element.cpp", |
| "Element.h", |
| "ElementData.cpp", |
| "ElementData.h", |
| "ElementDataCache.cpp", |
| "ElementDataCache.h", |
| "ElementRareData.cpp", |
| "ElementRareData.h", |
| "ElementShadow.cpp", |
| "ElementShadow.h", |
| "ElementShadowV0.cpp", |
| "ElementShadowV0.h", |
| "ElementTraversal.h", |
| "ElementVisibilityObserver.cpp", |
| "ElementVisibilityObserver.h", |
| "EmptyNodeList.cpp", |
| "EmptyNodeList.h", |
| "ExceptionCode.h", |
| "ExecutionContext.cpp", |
| "ExecutionContext.h", |
| "FirstLetterPseudoElement.cpp", |
| "FirstLetterPseudoElement.h", |
| "FlatTreeTraversal.cpp", |
| "FlatTreeTraversal.h", |
| "FrameRequestCallbackCollection.cpp", |
| "FrameRequestCallbackCollection.h", |
| "GlobalEventHandlers.h", |
| "IconURL.cpp", |
| "IconURL.h", |
| "IdTargetObserver.cpp", |
| "IdTargetObserver.h", |
| "IdTargetObserverRegistry.cpp", |
| "IdTargetObserverRegistry.h", |
| "IdleDeadline.cpp", |
| "IdleDeadline.h", |
| "IgnoreDestructiveWriteCountIncrementer.h", |
| "IncrementLoadEventDelayCount.cpp", |
| "IncrementLoadEventDelayCount.h", |
| "Iterator.h", |
| "LayoutTreeBuilder.cpp", |
| "LayoutTreeBuilder.h", |
| "LayoutTreeBuilderTraversal.cpp", |
| "LayoutTreeBuilderTraversal.h", |
| "LiveNodeList.cpp", |
| "LiveNodeList.h", |
| "LiveNodeListBase.cpp", |
| "LiveNodeListBase.h", |
| "LiveNodeListRegistry.cpp", |
| "LiveNodeListRegistry.h", |
| "MessageChannel.cpp", |
| "MessageChannel.h", |
| "MessagePort.cpp", |
| "MessagePort.h", |
| "Modulator.cpp", |
| "Modulator.h", |
| "ModulatorImplBase.cpp", |
| "ModulatorImplBase.h", |
| "ModuleImportMeta.h", |
| "ModuleMap.cpp", |
| "ModuleMap.h", |
| "ModulePendingScript.cpp", |
| "ModulePendingScript.h", |
| "ModuleScript.cpp", |
| "ModuleScript.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.h", |
| "NodeIterator.cpp", |
| "NodeIterator.h", |
| "NodeIteratorBase.cpp", |
| "NodeIteratorBase.h", |
| "NodeList.h", |
| "NodeListsNodeData.cpp", |
| "NodeListsNodeData.h", |
| "NodeRareData.cpp", |
| "NodeRareData.h", |
| "NodeTraversal.cpp", |
| "NodeTraversal.h", |
| "NodeTraversalStrategy.h", |
| "NodeWithIndex.h", |
| "NonDocumentTypeChildNode.h", |
| "NonElementParentNode.h", |
| "NthIndexCache.cpp", |
| "NthIndexCache.h", |
| "ParentNode.h", |
| "ParserContentPolicy.h", |
| "PausableObject.cpp", |
| "PausableObject.h", |
| "PendingScript.cpp", |
| "PendingScript.h", |
| "Policy.cpp", |
| "Policy.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", |
| "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", |
| "ShadowRoot.cpp", |
| "ShadowRoot.h", |
| "ShadowRootRareDataV0.h", |
| "SinkDocument.cpp", |
| "SinkDocument.h", |
| "SlotAssignment.cpp", |
| "SlotAssignment.h", |
| "SpaceSplitString.cpp", |
| "SpaceSplitString.h", |
| "StaticNodeList.h", |
| "StaticRange.cpp", |
| "StaticRange.h", |
| "SyncReattachContext.cpp", |
| "SyncReattachContext.h", |
| "SynchronousMutationNotifier.cpp", |
| "SynchronousMutationNotifier.h", |
| "SynchronousMutationObserver.cpp", |
| "SynchronousMutationObserver.h", |
| "TagCollection.cpp", |
| "TagCollection.h", |
| "TaskTypeTraits.h", |
| "TemplateContentDocumentFragment.h", |
| "Text.cpp", |
| "Text.h", |
| "TextLinkColors.cpp", |
| "TextLinkColors.h", |
| "ThrowOnDynamicMarkupInsertionCountIncrementer.h", |
| "TransformSource.h", |
| "TransformSourceLibxslt.cpp", |
| "TreeOrderedList.cpp", |
| "TreeOrderedList.h", |
| "TreeOrderedMap.cpp", |
| "TreeOrderedMap.h", |
| "TreeScope.cpp", |
| "TreeScope.h", |
| "TreeScopeAdopter.cpp", |
| "TreeScopeAdopter.h", |
| "TreeWalker.cpp", |
| "TreeWalker.h", |
| "UserActionElementSet.cpp", |
| "UserActionElementSet.h", |
| "UserGestureIndicator.cpp", |
| "UserGestureIndicator.h", |
| "V0InsertionPoint.cpp", |
| "V0InsertionPoint.h", |
| "ViewportDescription.cpp", |
| "ViewportDescription.h", |
| "VisitedLinkState.cpp", |
| "VisitedLinkState.h", |
| "WeakIdentifierMap.h", |
| "WhitespaceAttacher.cpp", |
| "WhitespaceAttacher.h", |
| "WorkerModulatorImpl.cpp", |
| "WorkerModulatorImpl.h", |
| "WorkletModulatorImpl.cpp", |
| "WorkletModulatorImpl.h", |
| "XMLDocument.cpp", |
| "XMLDocument.h", |
| "events/AddEventListenerOptionsDefaults.h", |
| "events/AddEventListenerOptionsResolved.cpp", |
| "events/AddEventListenerOptionsResolved.h", |
| "events/CustomEvent.cpp", |
| "events/CustomEvent.h", |
| "events/DOMWindowEventQueue.cpp", |
| "events/DOMWindowEventQueue.h", |
| "events/Event.cpp", |
| "events/Event.h", |
| "events/EventDispatchResult.h", |
| "events/EventDispatcher.cpp", |
| "events/EventDispatcher.h", |
| "events/EventListener.h", |
| "events/EventListenerMap.cpp", |
| "events/EventListenerMap.h", |
| "events/EventPath.cpp", |
| "events/EventPath.h", |
| "events/EventQueue.h", |
| "events/EventTarget.cpp", |
| "events/EventTarget.h", |
| "events/EventTargetImpl.cpp", |
| "events/EventTargetImpl.h", |
| "events/MediaElementEventQueue.cpp", |
| "events/MediaElementEventQueue.h", |
| "events/NodeEventContext.cpp", |
| "events/NodeEventContext.h", |
| "events/ScopedEventQueue.cpp", |
| "events/ScopedEventQueue.h", |
| "events/SimulatedClickOptions.h", |
| "events/TreeScopeEventContext.cpp", |
| "events/TreeScopeEventContext.h", |
| "events/WindowEventContext.cpp", |
| "events/WindowEventContext.h", |
| "ng/flat_tree_traversal_ng.cc", |
| "ng/flat_tree_traversal_ng.h", |
| "trustedtypes/TrustedHTML.cpp", |
| "trustedtypes/TrustedHTML.h", |
| "trustedtypes/TrustedScriptURL.cpp", |
| "trustedtypes/TrustedScriptURL.h", |
| "trustedtypes/TrustedURL.cpp", |
| "trustedtypes/TrustedURL.h", |
| ] |
| |
| jumbo_excluded_sources = [ "Modulator.cpp" ] # https://crbug.com/716395 |
| |
| configs += [ |
| # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| "//build/config/compiler:no_size_t_to_int_warning", |
| ] |
| |
| public_deps = [ |
| "//third_party/WebKit/common:mojo_bindings_blink", |
| ] |
| |
| deps = [ |
| "//services/metrics/public/cpp:metrics_cpp", |
| "//services/metrics/public/interfaces", |
| ] |
| } |