Remove .gypi sharing for Blink core + some tests
Makes new "unit_tests" targets for core and modules, reference these from webkit_unit_tests and delete the associated .gypi and .gni machinery. Move all web file lists from .gypis to the GN build and remove web.gypi Review-Url: https://codereview.chromium.org/2294893002 Cr-Commit-Position: refs/heads/master@{#415403}
This commit is contained in:
third_party/WebKit/Source
296
third_party/WebKit/Source/core/BUILD.gn
vendored
296
third_party/WebKit/Source/core/BUILD.gn
vendored
@ -1128,3 +1128,299 @@ fuzzer_test("text_resource_decoder_fuzzer") {
|
||||
"../platform:test_support",
|
||||
]
|
||||
}
|
||||
|
||||
source_set("unit_tests") {
|
||||
testonly = true
|
||||
sources = [
|
||||
"animation/AnimationClockTest.cpp",
|
||||
"animation/AnimationEffectReadOnlyTest.cpp",
|
||||
"animation/AnimationInputHelpersTest.cpp",
|
||||
"animation/AnimationStackTest.cpp",
|
||||
"animation/AnimationTest.cpp",
|
||||
"animation/AnimationTestHelper.cpp",
|
||||
"animation/AnimationTestHelper.h",
|
||||
"animation/AnimationTimelineTest.cpp",
|
||||
"animation/CompositorAnimationsTest.cpp",
|
||||
"animation/DocumentTimelineTest.cpp",
|
||||
"animation/EffectInputTest.cpp",
|
||||
"animation/InterpolableValueTest.cpp",
|
||||
"animation/InterpolationEffectTest.cpp",
|
||||
"animation/KeyframeEffectModelTest.cpp",
|
||||
"animation/KeyframeEffectTest.cpp",
|
||||
"animation/PropertyHandleTest.cpp",
|
||||
"animation/TimingCalculationsTest.cpp",
|
||||
"animation/TimingInputTest.cpp",
|
||||
"animation/animatable/AnimatableColorTest.cpp",
|
||||
"animation/animatable/AnimatableDoubleAndBoolTest.cpp",
|
||||
"animation/animatable/AnimatableDoubleTest.cpp",
|
||||
"animation/animatable/AnimatableLengthTest.cpp",
|
||||
"animation/animatable/AnimatableNeutralTest.cpp",
|
||||
"animation/animatable/AnimatableStrokeDasharrayListTest.cpp",
|
||||
"animation/animatable/AnimatableUnknownTest.cpp",
|
||||
"animation/animatable/AnimatableValueTestHelper.cpp",
|
||||
"animation/animatable/AnimatableValueTestHelper.h",
|
||||
"animation/animatable/AnimatableValueTestHelperTest.cpp",
|
||||
"clipboard/DataObjectTest.cpp",
|
||||
"css/AffectedByFocusTest.cpp",
|
||||
"css/CSSCalculationValueTest.cpp",
|
||||
"css/CSSFontFaceSourceTest.cpp",
|
||||
"css/CSSPageRuleTest.cpp",
|
||||
"css/CSSSelectorTest.cpp",
|
||||
"css/CSSStyleDeclarationTest.cpp",
|
||||
"css/CSSStyleSheetResourceTest.cpp",
|
||||
"css/CSSTestHelper.cpp",
|
||||
"css/CSSTestHelper.h",
|
||||
"css/CSSValueTestHelper.h",
|
||||
"css/DragUpdateTest.cpp",
|
||||
"css/MediaQueryEvaluatorTest.cpp",
|
||||
"css/MediaQueryListTest.cpp",
|
||||
"css/MediaQueryMatcherTest.cpp",
|
||||
"css/MediaQuerySetTest.cpp",
|
||||
"css/MediaValuesTest.cpp",
|
||||
"css/RuleFeatureSetTest.cpp",
|
||||
"css/RuleSetTest.cpp",
|
||||
"css/StyleSheetContentsTest.cpp",
|
||||
"css/cssom/CSSResourceValueTest.cpp",
|
||||
"css/cssom/CSSStyleImageValueTest.cpp",
|
||||
"css/cssom/CSSTokenStreamValueTest.cpp",
|
||||
"css/cssom/CSSURLImageValueTest.cpp",
|
||||
"css/cssom/CSSVariableReferenceValueTest.cpp",
|
||||
"css/cssom/FilteredComputedStylePropertyMapTest.cpp",
|
||||
"css/invalidation/InvalidationSetTest.cpp",
|
||||
"css/parser/CSSParserFastPathsTest.cpp",
|
||||
"css/parser/CSSParserTokenTest.cpp",
|
||||
"css/parser/CSSPropertyParserTest.cpp",
|
||||
"css/parser/CSSSelectorParserTest.cpp",
|
||||
"css/parser/CSSTokenizerTest.cpp",
|
||||
"css/parser/MediaConditionTest.cpp",
|
||||
"css/parser/SizesAttributeParserTest.cpp",
|
||||
"css/parser/SizesCalcParserTest.cpp",
|
||||
"css/resolver/FontBuilderTest.cpp",
|
||||
"css/resolver/MatchResultTest.cpp",
|
||||
"css/resolver/SharedStyleFinderTest.cpp",
|
||||
"dom/ActiveDOMObjectTest.cpp",
|
||||
"dom/AttrTest.cpp",
|
||||
"dom/CSSSelectorWatchTest.cpp",
|
||||
"dom/DOMImplementationTest.cpp",
|
||||
"dom/DocumentStatisticsCollectorTest.cpp",
|
||||
"dom/DocumentTest.cpp",
|
||||
"dom/ElementTest.cpp",
|
||||
"dom/ExecutionContextTaskTest.cpp",
|
||||
"dom/MainThreadTaskRunnerTest.cpp",
|
||||
"dom/NodeTest.cpp",
|
||||
"dom/NthIndexCacheTest.cpp",
|
||||
"dom/RangeTest.cpp",
|
||||
"dom/ScriptRunnerTest.cpp",
|
||||
"dom/SelectorQueryTest.cpp",
|
||||
"dom/StaticRangeTest.cpp",
|
||||
"dom/StyleElementTest.cpp",
|
||||
"dom/StyleEngineTest.cpp",
|
||||
"dom/TextTest.cpp",
|
||||
"dom/TreeScopeStyleSheetCollectionTest.cpp",
|
||||
"dom/TreeScopeTest.cpp",
|
||||
"dom/URLSearchParamsTest.cpp",
|
||||
"dom/custom/CustomElementDescriptorTest.cpp",
|
||||
"dom/custom/CustomElementReactionQueueTest.cpp",
|
||||
"dom/custom/CustomElementReactionStackTest.cpp",
|
||||
"dom/custom/CustomElementReactionTestHelpers.h",
|
||||
"dom/custom/CustomElementRegistryTest.cpp",
|
||||
"dom/custom/CustomElementTest.cpp",
|
||||
"dom/custom/CustomElementTestHelpers.h",
|
||||
"dom/custom/CustomElementUpgradeSorterTest.cpp",
|
||||
"dom/shadow/FlatTreeTraversalTest.cpp",
|
||||
"editing/EditingCommandTest.cpp",
|
||||
"editing/EditingStrategyTest.cpp",
|
||||
"editing/EditingStyleTest.cpp",
|
||||
"editing/EditingTestBase.cpp",
|
||||
"editing/EditingTestBase.h",
|
||||
"editing/EditingUtilitiesTest.cpp",
|
||||
"editing/EditorTest.cpp",
|
||||
"editing/EphemeralRangeTest.cpp",
|
||||
"editing/FrameSelectionTest.cpp",
|
||||
"editing/GranularityStrategyTest.cpp",
|
||||
"editing/InputMethodControllerTest.cpp",
|
||||
"editing/PositionTest.cpp",
|
||||
"editing/RelocatablePositionTest.cpp",
|
||||
"editing/SelectionAdjusterTest.cpp",
|
||||
"editing/SurroundingTextTest.cpp",
|
||||
"editing/VisiblePositionTest.cpp",
|
||||
"editing/VisibleSelectionTest.cpp",
|
||||
"editing/VisibleUnitsTest.cpp",
|
||||
"editing/commands/ReplaceSelectionCommandTest.cpp",
|
||||
"editing/iterators/BackwardsTextBufferTest.cpp",
|
||||
"editing/iterators/CharacterIteratorTest.cpp",
|
||||
"editing/iterators/ForwardsTextBufferTest.cpp",
|
||||
"editing/iterators/SearchBufferTest.cpp",
|
||||
"editing/iterators/SimplifiedBackwardsTextIteratorTest.cpp",
|
||||
"editing/iterators/TextIteratorTest.cpp",
|
||||
"editing/markers/DocumentMarkerControllerTest.cpp",
|
||||
"editing/serializers/StyledMarkupSerializerTest.cpp",
|
||||
"editing/spellcheck/SpellCheckerTest.cpp",
|
||||
"editing/state_machines/BackspaceStateMachineTest.cpp",
|
||||
"editing/state_machines/BackwardGraphemeBoundaryStateMachineTest.cpp",
|
||||
"editing/state_machines/ForwardGraphemeBoundaryStateMachineTest.cpp",
|
||||
"editing/state_machines/StateMachineTestUtil.cpp",
|
||||
"editing/state_machines/StateMachineUtilTest.cpp",
|
||||
"events/EventPathTest.cpp",
|
||||
"events/EventTargetTest.cpp",
|
||||
"events/PointerEventFactoryTest.cpp",
|
||||
"fetch/CachingCorrectnessTest.cpp",
|
||||
"fetch/ClientHintsPreferencesTest.cpp",
|
||||
"fetch/CrossOriginAccessControlTest.cpp",
|
||||
"fetch/FetchUtilsTest.cpp",
|
||||
"fetch/ImageResourceTest.cpp",
|
||||
"fetch/MemoryCacheTest.cpp",
|
||||
"fetch/MockResourceClients.cpp",
|
||||
"fetch/MultipartImageResourceParserTest.cpp",
|
||||
"fetch/RawResourceTest.cpp",
|
||||
"fetch/ResourceFetcherTest.cpp",
|
||||
"fetch/ResourceLoaderOptionsTest.cpp",
|
||||
"fetch/ResourceTest.cpp",
|
||||
"fileapi/FileListTest.cpp",
|
||||
"fileapi/FileTest.cpp",
|
||||
"frame/FrameViewTest.cpp",
|
||||
"frame/HistoryTest.cpp",
|
||||
"frame/ImageBitmapTest.cpp",
|
||||
"frame/LocalFrameTest.cpp",
|
||||
"frame/OriginsUsingFeaturesTest.cpp",
|
||||
"frame/RootFrameViewportTest.cpp",
|
||||
"frame/SubresourceIntegrityTest.cpp",
|
||||
"frame/UseCounterTest.cpp",
|
||||
"frame/csp/CSPDirectiveListTest.cpp",
|
||||
"frame/csp/CSPSourceListTest.cpp",
|
||||
"frame/csp/CSPSourceTest.cpp",
|
||||
"frame/csp/ContentSecurityPolicyTest.cpp",
|
||||
"html/AutoplayExperimentTest.cpp",
|
||||
"html/FormDataTest.cpp",
|
||||
"html/HTMLDimensionTest.cpp",
|
||||
"html/HTMLFormControlElementTest.cpp",
|
||||
"html/HTMLIFrameElementPermissionsTest.cpp",
|
||||
"html/HTMLIFrameElementTest.cpp",
|
||||
"html/HTMLImageElementTest.cpp",
|
||||
"html/HTMLInputElementTest.cpp",
|
||||
"html/HTMLLinkElementSizesAttributeTest.cpp",
|
||||
"html/HTMLOutputElementTest.cpp",
|
||||
"html/HTMLSelectElementTest.cpp",
|
||||
"html/HTMLTableRowElementTest.cpp",
|
||||
"html/HTMLTextAreaElementTest.cpp",
|
||||
"html/HTMLTextFormControlElementTest.cpp",
|
||||
"html/HTMLVideoElementTest.cpp",
|
||||
"html/LinkRelAttributeTest.cpp",
|
||||
"html/TimeRangesTest.cpp",
|
||||
"html/canvas/CanvasAsyncBlobCreatorTest.cpp",
|
||||
"html/canvas/CanvasFontCacheTest.cpp",
|
||||
"html/forms/EmailInputTypeTest.cpp",
|
||||
"html/forms/FileInputTypeTest.cpp",
|
||||
"html/forms/OptionListTest.cpp",
|
||||
"html/forms/StepRangeTest.cpp",
|
||||
"html/parser/AtomicHTMLTokenTest.cpp",
|
||||
"html/parser/CSSPreloadScannerTest.cpp",
|
||||
"html/parser/CompactHTMLTokenTest.cpp",
|
||||
"html/parser/HTMLDocumentParserTest.cpp",
|
||||
"html/parser/HTMLEntityParserTest.cpp",
|
||||
"html/parser/HTMLParserIdiomsTest.cpp",
|
||||
"html/parser/HTMLParserThreadTest.cpp",
|
||||
"html/parser/HTMLPreloadScannerTest.cpp",
|
||||
"html/parser/HTMLResourcePreloaderTest.cpp",
|
||||
"html/parser/HTMLSrcsetParserTest.cpp",
|
||||
"html/parser/HTMLTokenizerTest.cpp",
|
||||
"html/parser/HTMLTreeBuilderSimulatorTest.cpp",
|
||||
"html/parser/TextResourceDecoderTest.cpp",
|
||||
"html/shadow/MediaControlsTest.cpp",
|
||||
"html/track/TextTrackListTest.cpp",
|
||||
"html/track/vtt/BufferedLineReaderTest.cpp",
|
||||
"html/track/vtt/VTTScannerTest.cpp",
|
||||
"input/EventHandlerTest.cpp",
|
||||
"inspector/ProtocolParserTest.cpp",
|
||||
"layout/ImageQualityControllerTest.cpp",
|
||||
"layout/InlineTextBoxTest.cpp",
|
||||
"layout/LayoutBlockTest.cpp",
|
||||
"layout/LayoutBoxModelObjectTest.cpp",
|
||||
"layout/LayoutBoxTest.cpp",
|
||||
"layout/LayoutInlineTest.cpp",
|
||||
"layout/LayoutMultiColumnFlowThreadTest.cpp",
|
||||
"layout/LayoutObjectTest.cpp",
|
||||
"layout/LayoutPartTest.cpp",
|
||||
"layout/LayoutProgressTest.cpp",
|
||||
"layout/LayoutTableCellTest.cpp",
|
||||
"layout/LayoutTableRowTest.cpp",
|
||||
"layout/LayoutTableSectionTest.cpp",
|
||||
"layout/LayoutTestHelper.cpp",
|
||||
"layout/LayoutTestHelper.h",
|
||||
"layout/LayoutThemeTest.cpp",
|
||||
"layout/MapCoordinatesTest.cpp",
|
||||
"layout/MultiColumnFragmentainerGroupTest.cpp",
|
||||
"layout/OverflowModelTest.cpp",
|
||||
"layout/PaginationTest.cpp",
|
||||
"layout/PaintContainmentTest.cpp",
|
||||
"layout/ScrollAnchorTest.cpp",
|
||||
"layout/TextAutosizerTest.cpp",
|
||||
"layout/VisualRectMappingTest.cpp",
|
||||
"layout/compositing/CompositedLayerMappingTest.cpp",
|
||||
"layout/ng/ng_block_layout_algorithm_test.cc",
|
||||
"layout/ng/ng_constraint_space_test.cc",
|
||||
"layout/ng/ng_length_utils_test.cc",
|
||||
"layout/shapes/BoxShapeTest.cpp",
|
||||
"layout/svg/LayoutSVGRootTest.cpp",
|
||||
"loader/DocumentLoadTimingTest.cpp",
|
||||
"loader/FrameFetchContextTest.cpp",
|
||||
"loader/LinkLoaderTest.cpp",
|
||||
"loader/MixedContentCheckerTest.cpp",
|
||||
"loader/TextResourceDecoderBuilderTest.cpp",
|
||||
"loader/ThreadableLoaderTest.cpp",
|
||||
"origin_trials/OriginTrialContextTest.cpp",
|
||||
"page/ChromeClientTest.cpp",
|
||||
"page/ContextMenuControllerTest.cpp",
|
||||
"page/EventSourceParserTest.cpp",
|
||||
"page/FocusControllerTest.cpp",
|
||||
"page/NetworkStateNotifierTest.cpp",
|
||||
"page/PagePopupClientTest.cpp",
|
||||
"page/PrintContextTest.cpp",
|
||||
"page/WindowFeaturesTest.cpp",
|
||||
"page/scrolling/ScrollStateTest.cpp",
|
||||
"page/scrolling/SnapCoordinatorTest.cpp",
|
||||
"paint/FirstMeaningfulPaintDetectorTest.cpp",
|
||||
"paint/HTMLCanvasPainterTest.cpp",
|
||||
"paint/LayerClipRecorderTest.cpp",
|
||||
"paint/LayoutObjectDrawingRecorderTest.cpp",
|
||||
"paint/NinePieceImageGridTest.cpp",
|
||||
"paint/ObjectPaintInvalidatorTest.cpp",
|
||||
"paint/PaintControllerPaintTest.cpp",
|
||||
"paint/PaintControllerPaintTest.h",
|
||||
"paint/PaintInfoTest.cpp",
|
||||
"paint/PaintLayerPainterTest.cpp",
|
||||
"paint/PaintLayerScrollableAreaTest.cpp",
|
||||
"paint/PaintPropertyTreeBuilderTest.cpp",
|
||||
"paint/SVGInlineTextBoxPainterTest.cpp",
|
||||
"paint/StubChromeClientForSPv2.h",
|
||||
"paint/TableCellPainterTest.cpp",
|
||||
"paint/TextPainterTest.cpp",
|
||||
"paint/VideoPainterTest.cpp",
|
||||
"streams/ReadableStreamOperationsTest.cpp",
|
||||
"style/ComputedStyleTest.cpp",
|
||||
"style/OutlineValueTest.cpp",
|
||||
"style/SVGComputedStyleTest.cpp",
|
||||
"svg/SVGPathParserTest.cpp",
|
||||
"svg/UnsafeSVGAttributeSanitizationTest.cpp",
|
||||
"svg/graphics/SVGImageTest.cpp",
|
||||
"testing/PrivateScriptTestTest.cpp",
|
||||
"timing/MemoryInfoTest.cpp",
|
||||
"timing/PerformanceBaseTest.cpp",
|
||||
"timing/PerformanceObserverTest.cpp",
|
||||
"workers/DedicatedWorkerTest.cpp",
|
||||
"workers/WorkerThreadTest.cpp",
|
||||
"workers/WorkerThreadTestHelper.h",
|
||||
"xml/parser/SharedBufferReaderTest.cpp",
|
||||
]
|
||||
|
||||
configs += [
|
||||
"//third_party/WebKit/Source:config",
|
||||
"//third_party/WebKit/Source:inside_blink",
|
||||
]
|
||||
|
||||
deps = [
|
||||
":core",
|
||||
"//testing/gmock",
|
||||
"//testing/gtest",
|
||||
]
|
||||
}
|
||||
|
1
third_party/WebKit/Source/core/core.gni
vendored
1
third_party/WebKit/Source/core/core.gni
vendored
@ -60,4 +60,3 @@ generated_core_testing_dictionary_files =
|
||||
generated_webcore_testing_idl_files =
|
||||
get_path_info(_gypi.generated_webcore_testing_idl_files, "abspath")
|
||||
webcore_testing_files = get_path_info(_gypi.webcore_testing_files, "abspath")
|
||||
core_unittest_files = get_path_info(_gypi.core_unittest_files, "abspath")
|
||||
|
281
third_party/WebKit/Source/core/core.gypi
vendored
281
third_party/WebKit/Source/core/core.gypi
vendored
@ -4033,286 +4033,5 @@
|
||||
'testing/WorkerInternals.cpp',
|
||||
'testing/WorkerInternals.h',
|
||||
],
|
||||
'core_unittest_files': [
|
||||
'animation/AnimationClockTest.cpp',
|
||||
'animation/AnimationInputHelpersTest.cpp',
|
||||
'animation/AnimationEffectReadOnlyTest.cpp',
|
||||
'animation/AnimationTest.cpp',
|
||||
'animation/AnimationStackTest.cpp',
|
||||
'animation/KeyframeEffectTest.cpp',
|
||||
'animation/AnimationTestHelper.cpp',
|
||||
'animation/AnimationTestHelper.h',
|
||||
'animation/AnimationTimelineTest.cpp',
|
||||
'animation/CompositorAnimationsTest.cpp',
|
||||
'animation/DocumentTimelineTest.cpp',
|
||||
'animation/EffectInputTest.cpp',
|
||||
'animation/InterpolableValueTest.cpp',
|
||||
'animation/InterpolationEffectTest.cpp',
|
||||
'animation/KeyframeEffectModelTest.cpp',
|
||||
'animation/PropertyHandleTest.cpp',
|
||||
'animation/TimingCalculationsTest.cpp',
|
||||
'animation/TimingInputTest.cpp',
|
||||
'animation/animatable/AnimatableColorTest.cpp',
|
||||
'animation/animatable/AnimatableDoubleAndBoolTest.cpp',
|
||||
'animation/animatable/AnimatableDoubleTest.cpp',
|
||||
'animation/animatable/AnimatableLengthTest.cpp',
|
||||
'animation/animatable/AnimatableNeutralTest.cpp',
|
||||
'animation/animatable/AnimatableStrokeDasharrayListTest.cpp',
|
||||
'animation/animatable/AnimatableUnknownTest.cpp',
|
||||
'animation/animatable/AnimatableValueTestHelper.cpp',
|
||||
'animation/animatable/AnimatableValueTestHelper.h',
|
||||
'animation/animatable/AnimatableValueTestHelperTest.cpp',
|
||||
'clipboard/DataObjectTest.cpp',
|
||||
'css/AffectedByFocusTest.cpp',
|
||||
'css/CSSCalculationValueTest.cpp',
|
||||
'css/CSSFontFaceSourceTest.cpp',
|
||||
'css/CSSPageRuleTest.cpp',
|
||||
'css/CSSSelectorTest.cpp',
|
||||
'css/CSSStyleDeclarationTest.cpp',
|
||||
'css/CSSStyleSheetResourceTest.cpp',
|
||||
'css/CSSTestHelper.cpp',
|
||||
'css/CSSTestHelper.h',
|
||||
'css/CSSValueTestHelper.h',
|
||||
'css/DragUpdateTest.cpp',
|
||||
'css/MediaQueryEvaluatorTest.cpp',
|
||||
'css/MediaQueryListTest.cpp',
|
||||
'css/MediaQueryMatcherTest.cpp',
|
||||
'css/MediaQuerySetTest.cpp',
|
||||
'css/MediaValuesTest.cpp',
|
||||
'css/RuleFeatureSetTest.cpp',
|
||||
'css/RuleSetTest.cpp',
|
||||
'css/StyleSheetContentsTest.cpp',
|
||||
'css/cssom/CSSResourceValueTest.cpp',
|
||||
'css/cssom/CSSStyleImageValueTest.cpp',
|
||||
'css/cssom/CSSTokenStreamValueTest.cpp',
|
||||
'css/cssom/CSSURLImageValueTest.cpp',
|
||||
'css/cssom/CSSVariableReferenceValueTest.cpp',
|
||||
'css/cssom/FilteredComputedStylePropertyMapTest.cpp',
|
||||
'css/invalidation/InvalidationSetTest.cpp',
|
||||
'css/parser/CSSParserFastPathsTest.cpp',
|
||||
'css/parser/CSSParserTokenTest.cpp',
|
||||
'css/parser/CSSPropertyParserTest.cpp',
|
||||
'css/parser/CSSSelectorParserTest.cpp',
|
||||
'css/parser/CSSTokenizerTest.cpp',
|
||||
'css/parser/MediaConditionTest.cpp',
|
||||
'css/parser/SizesAttributeParserTest.cpp',
|
||||
'css/parser/SizesCalcParserTest.cpp',
|
||||
'css/resolver/FontBuilderTest.cpp',
|
||||
'css/resolver/MatchResultTest.cpp',
|
||||
'css/resolver/SharedStyleFinderTest.cpp',
|
||||
'dom/ActiveDOMObjectTest.cpp',
|
||||
'dom/AttrTest.cpp',
|
||||
'dom/CSSSelectorWatchTest.cpp',
|
||||
'dom/DOMImplementationTest.cpp',
|
||||
'dom/DocumentStatisticsCollectorTest.cpp',
|
||||
'dom/DocumentTest.cpp',
|
||||
'dom/ElementTest.cpp',
|
||||
'dom/ExecutionContextTaskTest.cpp',
|
||||
'dom/MainThreadTaskRunnerTest.cpp',
|
||||
'dom/NodeTest.cpp',
|
||||
'dom/NthIndexCacheTest.cpp',
|
||||
'dom/RangeTest.cpp',
|
||||
'dom/ScriptRunnerTest.cpp',
|
||||
'dom/SelectorQueryTest.cpp',
|
||||
'dom/StaticRangeTest.cpp',
|
||||
'dom/StyleElementTest.cpp',
|
||||
'dom/StyleEngineTest.cpp',
|
||||
'dom/TextTest.cpp',
|
||||
'dom/TreeScopeStyleSheetCollectionTest.cpp',
|
||||
'dom/TreeScopeTest.cpp',
|
||||
'dom/URLSearchParamsTest.cpp',
|
||||
'dom/custom/CustomElementDescriptorTest.cpp',
|
||||
'dom/custom/CustomElementReactionQueueTest.cpp',
|
||||
'dom/custom/CustomElementReactionStackTest.cpp',
|
||||
'dom/custom/CustomElementReactionTestHelpers.h',
|
||||
'dom/custom/CustomElementTest.cpp',
|
||||
'dom/custom/CustomElementTestHelpers.h',
|
||||
'dom/custom/CustomElementUpgradeSorterTest.cpp',
|
||||
'dom/custom/CustomElementRegistryTest.cpp',
|
||||
'dom/shadow/FlatTreeTraversalTest.cpp',
|
||||
'editing/EditingCommandTest.cpp',
|
||||
'editing/EditingStrategyTest.cpp',
|
||||
'editing/EditingStyleTest.cpp',
|
||||
'editing/EditingTestBase.cpp',
|
||||
'editing/EditingTestBase.h',
|
||||
'editing/EditingUtilitiesTest.cpp',
|
||||
'editing/EditorTest.cpp',
|
||||
'editing/EphemeralRangeTest.cpp',
|
||||
'editing/FrameSelectionTest.cpp',
|
||||
'editing/GranularityStrategyTest.cpp',
|
||||
'editing/InputMethodControllerTest.cpp',
|
||||
'editing/commands/ReplaceSelectionCommandTest.cpp',
|
||||
'editing/iterators/BackwardsTextBufferTest.cpp',
|
||||
'editing/iterators/CharacterIteratorTest.cpp',
|
||||
'editing/iterators/ForwardsTextBufferTest.cpp',
|
||||
'editing/iterators/SearchBufferTest.cpp',
|
||||
'editing/iterators/SimplifiedBackwardsTextIteratorTest.cpp',
|
||||
'editing/iterators/TextIteratorTest.cpp',
|
||||
'editing/markers/DocumentMarkerControllerTest.cpp',
|
||||
'editing/PositionTest.cpp',
|
||||
'editing/RelocatablePositionTest.cpp',
|
||||
'editing/SelectionAdjusterTest.cpp',
|
||||
'editing/SurroundingTextTest.cpp',
|
||||
'editing/VisiblePositionTest.cpp',
|
||||
'editing/VisibleSelectionTest.cpp',
|
||||
'editing/VisibleUnitsTest.cpp',
|
||||
'editing/serializers/StyledMarkupSerializerTest.cpp',
|
||||
'editing/spellcheck/SpellCheckerTest.cpp',
|
||||
'editing/state_machines/BackspaceStateMachineTest.cpp',
|
||||
'editing/state_machines/BackwardGraphemeBoundaryStateMachineTest.cpp',
|
||||
'editing/state_machines/ForwardGraphemeBoundaryStateMachineTest.cpp',
|
||||
'editing/state_machines/StateMachineTestUtil.cpp',
|
||||
'editing/state_machines/StateMachineUtilTest.cpp',
|
||||
'events/EventPathTest.cpp',
|
||||
'events/EventTargetTest.cpp',
|
||||
'events/PointerEventFactoryTest.cpp',
|
||||
'fetch/CachingCorrectnessTest.cpp',
|
||||
'fetch/ClientHintsPreferencesTest.cpp',
|
||||
'fetch/CrossOriginAccessControlTest.cpp',
|
||||
'fetch/FetchUtilsTest.cpp',
|
||||
'fetch/ImageResourceTest.cpp',
|
||||
'fetch/MemoryCacheTest.cpp',
|
||||
'fetch/MockResourceClients.cpp',
|
||||
'fetch/MultipartImageResourceParserTest.cpp',
|
||||
'fetch/RawResourceTest.cpp',
|
||||
'fetch/ResourceFetcherTest.cpp',
|
||||
'fetch/ResourceLoaderOptionsTest.cpp',
|
||||
'fetch/ResourceTest.cpp',
|
||||
'fileapi/FileListTest.cpp',
|
||||
'fileapi/FileTest.cpp',
|
||||
'frame/FrameViewTest.cpp',
|
||||
'frame/HistoryTest.cpp',
|
||||
'frame/ImageBitmapTest.cpp',
|
||||
'frame/LocalFrameTest.cpp',
|
||||
'frame/OriginsUsingFeaturesTest.cpp',
|
||||
'frame/RootFrameViewportTest.cpp',
|
||||
'frame/SubresourceIntegrityTest.cpp',
|
||||
'frame/UseCounterTest.cpp',
|
||||
'frame/csp/CSPDirectiveListTest.cpp',
|
||||
'frame/csp/CSPSourceListTest.cpp',
|
||||
'frame/csp/CSPSourceTest.cpp',
|
||||
'frame/csp/ContentSecurityPolicyTest.cpp',
|
||||
'html/AutoplayExperimentTest.cpp',
|
||||
'html/FormDataTest.cpp',
|
||||
'html/HTMLDimensionTest.cpp',
|
||||
'html/HTMLFormControlElementTest.cpp',
|
||||
'html/HTMLIFrameElementPermissionsTest.cpp',
|
||||
'html/HTMLIFrameElementTest.cpp',
|
||||
'html/HTMLImageElementTest.cpp',
|
||||
'html/HTMLInputElementTest.cpp',
|
||||
'html/HTMLLinkElementSizesAttributeTest.cpp',
|
||||
'html/HTMLOutputElementTest.cpp',
|
||||
'html/HTMLSelectElementTest.cpp',
|
||||
'html/HTMLTableRowElementTest.cpp',
|
||||
'html/HTMLTextAreaElementTest.cpp',
|
||||
'html/HTMLTextFormControlElementTest.cpp',
|
||||
'html/HTMLVideoElementTest.cpp',
|
||||
'html/LinkRelAttributeTest.cpp',
|
||||
'html/TimeRangesTest.cpp',
|
||||
'html/canvas/CanvasAsyncBlobCreatorTest.cpp',
|
||||
'html/canvas/CanvasFontCacheTest.cpp',
|
||||
'html/forms/EmailInputTypeTest.cpp',
|
||||
'html/forms/FileInputTypeTest.cpp',
|
||||
'html/forms/OptionListTest.cpp',
|
||||
'html/forms/StepRangeTest.cpp',
|
||||
'html/parser/AtomicHTMLTokenTest.cpp',
|
||||
'html/parser/CompactHTMLTokenTest.cpp',
|
||||
'html/parser/CSSPreloadScannerTest.cpp',
|
||||
'html/parser/HTMLDocumentParserTest.cpp',
|
||||
'html/parser/HTMLEntityParserTest.cpp',
|
||||
'html/parser/HTMLParserIdiomsTest.cpp',
|
||||
'html/parser/HTMLParserThreadTest.cpp',
|
||||
'html/parser/HTMLPreloadScannerTest.cpp',
|
||||
'html/parser/HTMLResourcePreloaderTest.cpp',
|
||||
'html/parser/HTMLSrcsetParserTest.cpp',
|
||||
'html/parser/HTMLTokenizerTest.cpp',
|
||||
'html/parser/HTMLTreeBuilderSimulatorTest.cpp',
|
||||
'html/parser/TextResourceDecoderTest.cpp',
|
||||
'html/shadow/MediaControlsTest.cpp',
|
||||
'html/track/TextTrackListTest.cpp',
|
||||
'html/track/vtt/BufferedLineReaderTest.cpp',
|
||||
'html/track/vtt/VTTScannerTest.cpp',
|
||||
'input/EventHandlerTest.cpp',
|
||||
'inspector/ProtocolParserTest.cpp',
|
||||
'layout/ImageQualityControllerTest.cpp',
|
||||
'layout/InlineTextBoxTest.cpp',
|
||||
'layout/LayoutBlockTest.cpp',
|
||||
'layout/LayoutBoxModelObjectTest.cpp',
|
||||
'layout/LayoutBoxTest.cpp',
|
||||
'layout/LayoutInlineTest.cpp',
|
||||
'layout/LayoutMultiColumnFlowThreadTest.cpp',
|
||||
'layout/LayoutObjectTest.cpp',
|
||||
'layout/LayoutPartTest.cpp',
|
||||
'layout/LayoutProgressTest.cpp',
|
||||
'layout/LayoutTableCellTest.cpp',
|
||||
'layout/LayoutTableRowTest.cpp',
|
||||
'layout/LayoutTableSectionTest.cpp',
|
||||
'layout/LayoutTestHelper.cpp',
|
||||
'layout/LayoutTestHelper.h',
|
||||
'layout/LayoutThemeTest.cpp',
|
||||
'layout/MapCoordinatesTest.cpp',
|
||||
'layout/MultiColumnFragmentainerGroupTest.cpp',
|
||||
'layout/OverflowModelTest.cpp',
|
||||
'layout/PaginationTest.cpp',
|
||||
'layout/PaintContainmentTest.cpp',
|
||||
'layout/ScrollAnchorTest.cpp',
|
||||
'layout/TextAutosizerTest.cpp',
|
||||
'layout/VisualRectMappingTest.cpp',
|
||||
'layout/compositing/CompositedLayerMappingTest.cpp',
|
||||
'layout/ng/ng_block_layout_algorithm_test.cc',
|
||||
'layout/ng/ng_constraint_space_test.cc',
|
||||
'layout/ng/ng_length_utils_test.cc',
|
||||
'layout/shapes/BoxShapeTest.cpp',
|
||||
'layout/svg/LayoutSVGRootTest.cpp',
|
||||
'loader/DocumentLoadTimingTest.cpp',
|
||||
'loader/FrameFetchContextTest.cpp',
|
||||
'loader/LinkLoaderTest.cpp',
|
||||
'loader/MixedContentCheckerTest.cpp',
|
||||
'loader/TextResourceDecoderBuilderTest.cpp',
|
||||
'loader/ThreadableLoaderTest.cpp',
|
||||
'origin_trials/OriginTrialContextTest.cpp',
|
||||
'page/ChromeClientTest.cpp',
|
||||
'page/ContextMenuControllerTest.cpp',
|
||||
'page/EventSourceParserTest.cpp',
|
||||
'page/FocusControllerTest.cpp',
|
||||
'page/NetworkStateNotifierTest.cpp',
|
||||
'page/PagePopupClientTest.cpp',
|
||||
'page/PrintContextTest.cpp',
|
||||
'page/WindowFeaturesTest.cpp',
|
||||
'page/scrolling/ScrollStateTest.cpp',
|
||||
'page/scrolling/SnapCoordinatorTest.cpp',
|
||||
'paint/HTMLCanvasPainterTest.cpp',
|
||||
'paint/LayerClipRecorderTest.cpp',
|
||||
'paint/LayoutObjectDrawingRecorderTest.cpp',
|
||||
'paint/NinePieceImageGridTest.cpp',
|
||||
'paint/FirstMeaningfulPaintDetectorTest.cpp',
|
||||
'paint/ObjectPaintInvalidatorTest.cpp',
|
||||
'paint/PaintControllerPaintTest.cpp',
|
||||
'paint/PaintControllerPaintTest.h',
|
||||
'paint/PaintInfoTest.cpp',
|
||||
'paint/PaintLayerPainterTest.cpp',
|
||||
'paint/PaintLayerScrollableAreaTest.cpp',
|
||||
'paint/PaintPropertyTreeBuilderTest.cpp',
|
||||
'paint/StubChromeClientForSPv2.h',
|
||||
'paint/SVGInlineTextBoxPainterTest.cpp',
|
||||
'paint/TableCellPainterTest.cpp',
|
||||
'paint/TextPainterTest.cpp',
|
||||
'paint/VideoPainterTest.cpp',
|
||||
'streams/ReadableStreamOperationsTest.cpp',
|
||||
'style/ComputedStyleTest.cpp',
|
||||
'style/OutlineValueTest.cpp',
|
||||
'style/SVGComputedStyleTest.cpp',
|
||||
'svg/SVGPathParserTest.cpp',
|
||||
'svg/UnsafeSVGAttributeSanitizationTest.cpp',
|
||||
'svg/graphics/SVGImageTest.cpp',
|
||||
'testing/PrivateScriptTestTest.cpp',
|
||||
'timing/MemoryInfoTest.cpp',
|
||||
'timing/PerformanceBaseTest.cpp',
|
||||
'timing/PerformanceObserverTest.cpp',
|
||||
'workers/DedicatedWorkerTest.cpp',
|
||||
'workers/WorkerThreadTest.cpp',
|
||||
'workers/WorkerThreadTestHelper.h',
|
||||
'xml/parser/SharedBufferReaderTest.cpp',
|
||||
],
|
||||
}
|
||||
}
|
||||
|
103
third_party/WebKit/Source/modules/BUILD.gn
vendored
103
third_party/WebKit/Source/modules/BUILD.gn
vendored
@ -93,10 +93,27 @@ target(modules_target_type, "modules") {
|
||||
|
||||
# GYP version: WebKit/Source/modules/modules.gyp:modules_testing
|
||||
source_set("modules_testing") {
|
||||
sources = modules_testing_files
|
||||
sources += [
|
||||
sources = [
|
||||
"$bindings_modules_v8_output_dir/V8InternalsPartial.cpp",
|
||||
"$bindings_modules_v8_output_dir/V8InternalsPartial.h",
|
||||
"accessibility/testing/InternalsAccessibility.cpp",
|
||||
"accessibility/testing/InternalsAccessibility.h",
|
||||
"navigatorcontentutils/testing/InternalsNavigatorContentUtils.cpp",
|
||||
"navigatorcontentutils/testing/InternalsNavigatorContentUtils.h",
|
||||
"navigatorcontentutils/testing/NavigatorContentUtilsClientMock.cpp",
|
||||
"navigatorcontentutils/testing/NavigatorContentUtilsClientMock.h",
|
||||
"peerconnection/testing/InternalsRTCCertificate.cpp",
|
||||
"peerconnection/testing/InternalsRTCCertificate.h",
|
||||
"serviceworkers/testing/InternalsServiceWorker.cpp",
|
||||
"serviceworkers/testing/InternalsServiceWorker.h",
|
||||
"speech/testing/InternalsSpeechSynthesis.cpp",
|
||||
"speech/testing/InternalsSpeechSynthesis.h",
|
||||
"speech/testing/PlatformSpeechSynthesizerMock.cpp",
|
||||
"speech/testing/PlatformSpeechSynthesizerMock.h",
|
||||
"vibration/testing/InternalsVibration.cpp",
|
||||
"vibration/testing/InternalsVibration.h",
|
||||
"webaudio/testing/InternalsWebAudio.cpp",
|
||||
"webaudio/testing/InternalsWebAudio.h",
|
||||
]
|
||||
|
||||
configs += [
|
||||
@ -136,3 +153,85 @@ group("make_modules_generated") {
|
||||
"//third_party/WebKit/Source/core:core_event_interfaces",
|
||||
]
|
||||
}
|
||||
|
||||
source_set("unit_tests") {
|
||||
testonly = true
|
||||
|
||||
sources = [
|
||||
"accessibility/AXObjectTest.cpp",
|
||||
"cachestorage/CacheTest.cpp",
|
||||
"canvas/HTMLCanvasElementModuleTest.cpp",
|
||||
"canvas2d/CanvasRenderingContext2DAPITest.cpp",
|
||||
"canvas2d/CanvasRenderingContext2DTest.cpp",
|
||||
"canvas2d/CanvasRenderingContext2DUsageTrackingTest.cpp",
|
||||
"compositorworker/AnimationWorkletThreadTest.cpp",
|
||||
"compositorworker/CompositorWorkerThreadTest.cpp",
|
||||
"credentialmanager/PasswordCredentialTest.cpp",
|
||||
"csspaint/PaintRenderingContext2DTest.cpp",
|
||||
"csspaint/PaintWorkletTest.cpp",
|
||||
"fetch/BodyStreamBufferTest.cpp",
|
||||
"fetch/BytesConsumerForDataConsumerHandleTest.cpp",
|
||||
"fetch/CompositeDataConsumerHandleTest.cpp",
|
||||
"fetch/DataConsumerHandleTestUtil.cpp",
|
||||
"fetch/DataConsumerHandleTestUtil.h",
|
||||
"fetch/DataConsumerHandleUtilTest.cpp",
|
||||
"fetch/DataConsumerTeeTest.cpp",
|
||||
"fetch/FetchBlobDataConsumerHandleTest.cpp",
|
||||
"fetch/FetchDataLoaderTest.cpp",
|
||||
"fetch/FetchFormDataConsumerHandleTest.cpp",
|
||||
"fetch/FetchResponseDataTest.cpp",
|
||||
"fetch/ReadableStreamDataConsumerHandleTest.cpp",
|
||||
"fetch/RequestTest.cpp",
|
||||
"fetch/ResponseTest.cpp",
|
||||
"filesystem/DOMFileSystemBaseTest.cpp",
|
||||
"indexeddb/IDBKeyPathTest.cpp",
|
||||
"indexeddb/IDBRequestTest.cpp",
|
||||
"indexeddb/IDBTransactionTest.cpp",
|
||||
"indexeddb/MockWebIDBDatabase.cpp",
|
||||
"indexeddb/MockWebIDBDatabase.h",
|
||||
"mediasession/MediaSessionTest.cpp",
|
||||
"mediastream/MediaConstraintsTest.cpp",
|
||||
"notifications/NotificationDataTest.cpp",
|
||||
"notifications/NotificationResourcesLoaderTest.cpp",
|
||||
"payments/AbortTest.cpp",
|
||||
"payments/CompleteTest.cpp",
|
||||
"payments/OnPaymentResponseTest.cpp",
|
||||
"payments/PaymentAddressTest.cpp",
|
||||
"payments/PaymentRequestDetailsTest.cpp",
|
||||
"payments/PaymentRequestTest.cpp",
|
||||
"payments/PaymentRequestUpdateEventTest.cpp",
|
||||
"payments/PaymentResponseTest.cpp",
|
||||
"payments/PaymentTestHelper.cpp",
|
||||
"payments/PaymentTestHelper.h",
|
||||
"payments/PaymentsValidatorsTest.cpp",
|
||||
"peerconnection/RTCDataChannelTest.cpp",
|
||||
"presentation/PresentationAvailabilityTest.cpp",
|
||||
"push_messaging/PushManagerTest.cpp",
|
||||
"push_messaging/PushMessageDataTest.cpp",
|
||||
"serviceworkers/ServiceWorkerContainerTest.cpp",
|
||||
"webaudio/AudioBasicProcessorHandlerTest.cpp",
|
||||
"webaudio/ConvolverNodeTest.cpp",
|
||||
"webaudio/DynamicsCompressorNodeTest.cpp",
|
||||
"webaudio/ScriptProcessorNodeTest.cpp",
|
||||
"webaudio/StereoPannerNodeTest.cpp",
|
||||
"webdatabase/QuotaTrackerTest.cpp",
|
||||
"websockets/DOMWebSocketTest.cpp",
|
||||
"websockets/DocumentWebSocketChannelTest.cpp",
|
||||
]
|
||||
|
||||
configs += [
|
||||
"//third_party/WebKit/Source:config",
|
||||
"//third_party/WebKit/Source:inside_blink",
|
||||
]
|
||||
|
||||
deps = [
|
||||
":modules",
|
||||
":modules_testing",
|
||||
"//skia",
|
||||
"//testing/gmock",
|
||||
"//testing/gtest",
|
||||
"//third_party/WebKit/Source/core",
|
||||
"//third_party/WebKit/Source/wtf",
|
||||
"//v8",
|
||||
]
|
||||
}
|
||||
|
@ -55,6 +55,3 @@ modules_files += generated_modules_files + generated_modules_dictionary_files
|
||||
# 'partial interface' or target (right side of) 'implements'
|
||||
modules_testing_dependency_idl_files =
|
||||
get_path_info(_gypi.modules_testing_dependency_idl_files, "abspath")
|
||||
|
||||
modules_testing_files = get_path_info(_gypi.modules_testing_files, "abspath")
|
||||
modules_unittest_files = get_path_info(_gypi.modules_unittest_files, "abspath")
|
||||
|
81
third_party/WebKit/Source/modules/modules.gypi
vendored
81
third_party/WebKit/Source/modules/modules.gypi
vendored
@ -2019,86 +2019,5 @@
|
||||
'vibration/testing/InternalsVibration.idl',
|
||||
'webaudio/testing/InternalsWebAudio.idl',
|
||||
],
|
||||
'modules_testing_files': [
|
||||
'accessibility/testing/InternalsAccessibility.cpp',
|
||||
'accessibility/testing/InternalsAccessibility.h',
|
||||
'navigatorcontentutils/testing/InternalsNavigatorContentUtils.cpp',
|
||||
'navigatorcontentutils/testing/InternalsNavigatorContentUtils.h',
|
||||
'navigatorcontentutils/testing/NavigatorContentUtilsClientMock.cpp',
|
||||
'navigatorcontentutils/testing/NavigatorContentUtilsClientMock.h',
|
||||
'peerconnection/testing/InternalsRTCCertificate.cpp',
|
||||
'peerconnection/testing/InternalsRTCCertificate.h',
|
||||
'serviceworkers/testing/InternalsServiceWorker.cpp',
|
||||
'serviceworkers/testing/InternalsServiceWorker.h',
|
||||
'speech/testing/InternalsSpeechSynthesis.cpp',
|
||||
'speech/testing/InternalsSpeechSynthesis.h',
|
||||
'speech/testing/PlatformSpeechSynthesizerMock.cpp',
|
||||
'speech/testing/PlatformSpeechSynthesizerMock.h',
|
||||
'vibration/testing/InternalsVibration.cpp',
|
||||
'vibration/testing/InternalsVibration.h',
|
||||
'webaudio/testing/InternalsWebAudio.h',
|
||||
'webaudio/testing/InternalsWebAudio.cpp',
|
||||
],
|
||||
'modules_unittest_files': [
|
||||
'accessibility/AXObjectTest.cpp',
|
||||
'cachestorage/CacheTest.cpp',
|
||||
'canvas/HTMLCanvasElementModuleTest.cpp',
|
||||
'canvas2d/CanvasRenderingContext2DAPITest.cpp',
|
||||
'canvas2d/CanvasRenderingContext2DTest.cpp',
|
||||
'canvas2d/CanvasRenderingContext2DUsageTrackingTest.cpp',
|
||||
'compositorworker/AnimationWorkletThreadTest.cpp',
|
||||
'compositorworker/CompositorWorkerThreadTest.cpp',
|
||||
'credentialmanager/PasswordCredentialTest.cpp',
|
||||
'csspaint/PaintRenderingContext2DTest.cpp',
|
||||
'csspaint/PaintWorkletTest.cpp',
|
||||
'fetch/BodyStreamBufferTest.cpp',
|
||||
'fetch/BytesConsumerForDataConsumerHandleTest.cpp',
|
||||
'fetch/CompositeDataConsumerHandleTest.cpp',
|
||||
'fetch/DataConsumerHandleTestUtil.cpp',
|
||||
'fetch/DataConsumerHandleTestUtil.h',
|
||||
'fetch/DataConsumerHandleUtilTest.cpp',
|
||||
'fetch/DataConsumerTeeTest.cpp',
|
||||
'fetch/FetchBlobDataConsumerHandleTest.cpp',
|
||||
'fetch/FetchDataLoaderTest.cpp',
|
||||
'fetch/FetchFormDataConsumerHandleTest.cpp',
|
||||
'fetch/FetchResponseDataTest.cpp',
|
||||
'fetch/ReadableStreamDataConsumerHandleTest.cpp',
|
||||
'fetch/RequestTest.cpp',
|
||||
'fetch/ResponseTest.cpp',
|
||||
'filesystem/DOMFileSystemBaseTest.cpp',
|
||||
'indexeddb/IDBKeyPathTest.cpp',
|
||||
'indexeddb/IDBRequestTest.cpp',
|
||||
'indexeddb/IDBTransactionTest.cpp',
|
||||
'indexeddb/MockWebIDBDatabase.cpp',
|
||||
'indexeddb/MockWebIDBDatabase.h',
|
||||
'mediasession/MediaSessionTest.cpp',
|
||||
'mediastream/MediaConstraintsTest.cpp',
|
||||
'notifications/NotificationDataTest.cpp',
|
||||
'notifications/NotificationResourcesLoaderTest.cpp',
|
||||
'payments/AbortTest.cpp',
|
||||
'payments/CompleteTest.cpp',
|
||||
'payments/OnPaymentResponseTest.cpp',
|
||||
'payments/PaymentAddressTest.cpp',
|
||||
'payments/PaymentRequestDetailsTest.cpp',
|
||||
'payments/PaymentRequestTest.cpp',
|
||||
'payments/PaymentRequestUpdateEventTest.cpp',
|
||||
'payments/PaymentResponseTest.cpp',
|
||||
'payments/PaymentTestHelper.cpp',
|
||||
'payments/PaymentTestHelper.h',
|
||||
'payments/PaymentsValidatorsTest.cpp',
|
||||
'peerconnection/RTCDataChannelTest.cpp',
|
||||
'presentation/PresentationAvailabilityTest.cpp',
|
||||
'push_messaging/PushManagerTest.cpp',
|
||||
'push_messaging/PushMessageDataTest.cpp',
|
||||
'serviceworkers/ServiceWorkerContainerTest.cpp',
|
||||
'webaudio/AudioBasicProcessorHandlerTest.cpp',
|
||||
'webaudio/ConvolverNodeTest.cpp',
|
||||
'webaudio/DynamicsCompressorNodeTest.cpp',
|
||||
'webaudio/ScriptProcessorNodeTest.cpp',
|
||||
'webaudio/StereoPannerNodeTest.cpp',
|
||||
'webdatabase/QuotaTrackerTest.cpp',
|
||||
'websockets/DOMWebSocketTest.cpp',
|
||||
'websockets/DocumentWebSocketChannelTest.cpp',
|
||||
],
|
||||
},
|
||||
}
|
||||
|
326
third_party/WebKit/Source/web/BUILD.gn
vendored
326
third_party/WebKit/Source/web/BUILD.gn
vendored
@ -11,11 +11,6 @@ import("//third_party/WebKit/Source/modules/modules.gni")
|
||||
import("//third_party/WebKit/Source/platform/platform.gni")
|
||||
|
||||
visibility = [ "//third_party/WebKit/*" ]
|
||||
web_gypi = exec_script("//build/gypi_to_gn.py",
|
||||
[ rebase_path("web.gypi") ],
|
||||
"scope",
|
||||
[ "web.gypi" ])
|
||||
web_unittest_files = web_gypi.web_unittest_files
|
||||
|
||||
component("web") {
|
||||
output_name = "blink_web"
|
||||
@ -40,7 +35,230 @@ component("web") {
|
||||
|
||||
defines = [ "BLINK_WEB_IMPLEMENTATION=1" ]
|
||||
|
||||
sources = web_gypi.web_files
|
||||
sources = [
|
||||
"AssertMatchingEnums.cpp",
|
||||
"AssociatedURLLoader.cpp",
|
||||
"AssociatedURLLoader.h",
|
||||
"AudioOutputDeviceClientImpl.cpp",
|
||||
"AudioOutputDeviceClientImpl.h",
|
||||
"ChromeClientImpl.cpp",
|
||||
"ChromeClientImpl.h",
|
||||
"ColorChooserPopupUIController.cpp",
|
||||
"ColorChooserPopupUIController.h",
|
||||
"ColorChooserUIController.cpp",
|
||||
"ColorChooserUIController.h",
|
||||
"CompositionUnderlineBuilder.h",
|
||||
"CompositionUnderlineVectorBuilder.cpp",
|
||||
"CompositionUnderlineVectorBuilder.h",
|
||||
"CompositorMutatorImpl.cpp",
|
||||
"CompositorMutatorImpl.h",
|
||||
"CompositorProxyClientImpl.cpp",
|
||||
"CompositorProxyClientImpl.h",
|
||||
"ContextFeaturesClientImpl.cpp",
|
||||
"ContextFeaturesClientImpl.h",
|
||||
"ContextMenuAllowedScope.cpp",
|
||||
"ContextMenuAllowedScope.h",
|
||||
"ContextMenuClientImpl.cpp",
|
||||
"ContextMenuClientImpl.h",
|
||||
"DatabaseClientImpl.cpp",
|
||||
"DatabaseClientImpl.h",
|
||||
"DateTimeChooserImpl.cpp",
|
||||
"DateTimeChooserImpl.h",
|
||||
"DedicatedWorkerGlobalScopeProxyProviderImpl.cpp",
|
||||
"DedicatedWorkerGlobalScopeProxyProviderImpl.h",
|
||||
"DevToolsEmulator.cpp",
|
||||
"DevToolsEmulator.h",
|
||||
"EditorClientImpl.cpp",
|
||||
"EditorClientImpl.h",
|
||||
"ExternalDateTimeChooser.cpp",
|
||||
"ExternalDateTimeChooser.h",
|
||||
"ExternalPopupMenu.cpp",
|
||||
"ExternalPopupMenu.h",
|
||||
"FindInPageCoordinates.cpp",
|
||||
"FindInPageCoordinates.h",
|
||||
"FrameLoaderClientImpl.cpp",
|
||||
"FrameLoaderClientImpl.h",
|
||||
"FullscreenController.cpp",
|
||||
"FullscreenController.h",
|
||||
"IndexedDBClientImpl.cpp",
|
||||
"IndexedDBClientImpl.h",
|
||||
"InspectorEmulationAgent.cpp",
|
||||
"InspectorEmulationAgent.h",
|
||||
"InspectorOverlay.cpp",
|
||||
"InspectorOverlay.h",
|
||||
"InspectorRenderingAgent.cpp",
|
||||
"InspectorRenderingAgent.h",
|
||||
"LinkHighlightImpl.cpp",
|
||||
"LinkHighlightImpl.h",
|
||||
"LocalFileSystemClient.cpp",
|
||||
"LocalFileSystemClient.h",
|
||||
"MediaKeysClientImpl.cpp",
|
||||
"MediaKeysClientImpl.h",
|
||||
"NavigatorContentUtilsClientImpl.cpp",
|
||||
"NavigatorContentUtilsClientImpl.h",
|
||||
"OpenedFrameTracker.cpp",
|
||||
"OpenedFrameTracker.h",
|
||||
"PageOverlay.cpp",
|
||||
"PageOverlay.h",
|
||||
"PageWidgetDelegate.cpp",
|
||||
"PageWidgetDelegate.h",
|
||||
"PopupMenuImpl.cpp",
|
||||
"PopupMenuImpl.h",
|
||||
"PrerendererClientImpl.cpp",
|
||||
"PrerendererClientImpl.h",
|
||||
"RemoteFrameClientImpl.cpp",
|
||||
"RemoteFrameClientImpl.h",
|
||||
"RemoteFrameOwner.cpp",
|
||||
"RemoteFrameOwner.h",
|
||||
"ResizeViewportAnchor.cpp",
|
||||
"ResizeViewportAnchor.h",
|
||||
"RotationViewportAnchor.cpp",
|
||||
"RotationViewportAnchor.h",
|
||||
"ServiceWorkerGlobalScopeClientImpl.cpp",
|
||||
"ServiceWorkerGlobalScopeClientImpl.h",
|
||||
"ServiceWorkerGlobalScopeProxy.cpp",
|
||||
"ServiceWorkerGlobalScopeProxy.h",
|
||||
"SharedWorkerRepositoryClientImpl.cpp",
|
||||
"SharedWorkerRepositoryClientImpl.h",
|
||||
"SpeechRecognitionClientProxy.cpp",
|
||||
"SpeechRecognitionClientProxy.h",
|
||||
"SpellCheckerClientImpl.cpp",
|
||||
"SpellCheckerClientImpl.h",
|
||||
"StorageClientImpl.cpp",
|
||||
"StorageClientImpl.h",
|
||||
"StorageQuotaClientImpl.cpp",
|
||||
"StorageQuotaClientImpl.h",
|
||||
"SuspendableScriptExecutor.cpp",
|
||||
"SuspendableScriptExecutor.h",
|
||||
"TextFinder.cpp",
|
||||
"TextFinder.h",
|
||||
"UserMediaClientImpl.cpp",
|
||||
"UserMediaClientImpl.h",
|
||||
"ValidationMessageClientImpl.cpp",
|
||||
"ValidationMessageClientImpl.h",
|
||||
"WebAXObject.cpp",
|
||||
"WebArrayBuffer.cpp",
|
||||
"WebArrayBufferConverter.cpp",
|
||||
"WebArrayBufferView.cpp",
|
||||
"WebBlob.cpp",
|
||||
"WebCSSParser.cpp",
|
||||
"WebCache.cpp",
|
||||
"WebColorSuggestion.cpp",
|
||||
"WebCryptoNormalize.cpp",
|
||||
"WebCustomElement.cpp",
|
||||
"WebDOMActivityLogger.cpp",
|
||||
"WebDOMEvent.cpp",
|
||||
"WebDOMFileSystem.cpp",
|
||||
"WebDOMMediaStreamTrack.cpp",
|
||||
"WebDOMMessageEvent.cpp",
|
||||
"WebDataSourceImpl.cpp",
|
||||
"WebDataSourceImpl.h",
|
||||
"WebDatabase.cpp",
|
||||
"WebDateTimeSuggestion.cpp",
|
||||
"WebDevToolsAgentImpl.cpp",
|
||||
"WebDevToolsAgentImpl.h",
|
||||
"WebDevToolsFrontendImpl.cpp",
|
||||
"WebDevToolsFrontendImpl.h",
|
||||
"WebDocument.cpp",
|
||||
"WebElement.cpp",
|
||||
"WebElementCollection.cpp",
|
||||
"WebEmbeddedWorkerImpl.cpp",
|
||||
"WebEmbeddedWorkerImpl.h",
|
||||
"WebEntities.cpp",
|
||||
"WebEntities.h",
|
||||
"WebExport.h",
|
||||
"WebFileChooserCompletionImpl.cpp",
|
||||
"WebFileChooserCompletionImpl.h",
|
||||
"WebFormControlElement.cpp",
|
||||
"WebFormElement.cpp",
|
||||
"WebFrame.cpp",
|
||||
"WebFrameContentDumper.cpp",
|
||||
"WebFrameImplBase.cpp",
|
||||
"WebFrameImplBase.h",
|
||||
"WebFrameSerializer.cpp",
|
||||
"WebFrameSerializerImpl.cpp",
|
||||
"WebFrameSerializerImpl.h",
|
||||
"WebFrameWidgetBase.h",
|
||||
"WebFrameWidgetImpl.cpp",
|
||||
"WebFrameWidgetImpl.h",
|
||||
"WebHeap.cpp",
|
||||
"WebHelperPluginImpl.cpp",
|
||||
"WebHelperPluginImpl.h",
|
||||
"WebHistoryItem.cpp",
|
||||
"WebHitTestResult.cpp",
|
||||
"WebIDBKey.cpp",
|
||||
"WebIDBKeyRange.cpp",
|
||||
"WebImageCache.cpp",
|
||||
"WebImageDecoder.cpp",
|
||||
"WebInputElement.cpp",
|
||||
"WebInputEventConversion.cpp",
|
||||
"WebInputEventConversion.h",
|
||||
"WebKit.cpp",
|
||||
"WebLabelElement.cpp",
|
||||
"WebLeakDetector.cpp",
|
||||
"WebLocalFrameImpl.cpp",
|
||||
"WebLocalFrameImpl.h",
|
||||
"WebMediaDeviceChangeObserver.cpp",
|
||||
"WebMediaDevicesRequest.cpp",
|
||||
"WebMediaStreamRegistry.cpp",
|
||||
"WebMetaElement.cpp",
|
||||
"WebNetworkStateNotifier.cpp",
|
||||
"WebNode.cpp",
|
||||
"WebOptionElement.cpp",
|
||||
"WebPageImportanceSignals.cpp",
|
||||
"WebPagePopupImpl.cpp",
|
||||
"WebPagePopupImpl.h",
|
||||
"WebPepperSocket.cpp",
|
||||
"WebPepperSocketChannelClientProxy.h",
|
||||
"WebPepperSocketImpl.cpp",
|
||||
"WebPepperSocketImpl.h",
|
||||
"WebPerformance.cpp",
|
||||
"WebPluginContainerImpl.cpp",
|
||||
"WebPluginContainerImpl.h",
|
||||
"WebPluginDocument.cpp",
|
||||
"WebPluginScriptForbiddenScope.cpp",
|
||||
"WebRange.cpp",
|
||||
"WebRemoteFrameImpl.cpp",
|
||||
"WebRemoteFrameImpl.h",
|
||||
"WebRenderTheme.cpp",
|
||||
"WebRuntimeFeatures.cpp",
|
||||
"WebScopedUserGesture.cpp",
|
||||
"WebScopedWindowFocusAllowedIndicator.cpp",
|
||||
"WebScriptController.cpp",
|
||||
"WebScriptSource.cpp",
|
||||
"WebSearchableFormData.cpp",
|
||||
"WebSecurityPolicy.cpp",
|
||||
"WebSelectElement.cpp",
|
||||
"WebSelection.cpp",
|
||||
"WebSelector.cpp",
|
||||
"WebSerializedScriptValue.cpp",
|
||||
"WebSettingsImpl.cpp",
|
||||
"WebSettingsImpl.h",
|
||||
"WebSharedWorkerImpl.cpp",
|
||||
"WebSharedWorkerImpl.h",
|
||||
"WebSpeechGrammar.cpp",
|
||||
"WebSpeechRecognitionHandle.cpp",
|
||||
"WebSpeechRecognitionResult.cpp",
|
||||
"WebStorageEventDispatcherImpl.cpp",
|
||||
"WebSurroundingText.cpp",
|
||||
"WebTextCheckingCompletionImpl.cpp",
|
||||
"WebTextCheckingCompletionImpl.h",
|
||||
"WebTextCheckingResult.cpp",
|
||||
"WebTextInputInfo.cpp",
|
||||
"WebUserGestureIndicator.cpp",
|
||||
"WebUserGestureToken.cpp",
|
||||
"WebUserMediaRequest.cpp",
|
||||
"WebViewFrameWidget.cpp",
|
||||
"WebViewFrameWidget.h",
|
||||
"WebViewImpl.cpp",
|
||||
"WebViewImpl.h",
|
||||
"WorkerContentSettingsClient.cpp",
|
||||
"WorkerContentSettingsClient.h",
|
||||
"linux/WebFontRendering.cpp",
|
||||
"mac/WebScrollbarTheme.mm",
|
||||
"mac/WebSubstringUtil.mm",
|
||||
"win/WebFontRendering.cpp",
|
||||
]
|
||||
|
||||
if (is_android) {
|
||||
set_sources_assignment_filter([])
|
||||
@ -92,6 +310,87 @@ test("webkit_unit_tests") {
|
||||
visibility = [] # Allow re-assignment of list.
|
||||
visibility = [ "*" ]
|
||||
|
||||
sources = [
|
||||
"AssociatedURLLoaderTest.cpp",
|
||||
"ExternalPopupMenuTest.cpp",
|
||||
"LinkHighlightImplTest.cpp",
|
||||
"PageOverlayTest.cpp",
|
||||
"WebDragDataTest.cpp",
|
||||
"WebElementTest.cpp",
|
||||
"WebEmbeddedWorkerImplTest.cpp",
|
||||
"WebNodeTest.cpp",
|
||||
"WebViewImplPaintArtifactCompositorTest.cpp",
|
||||
|
||||
# FIXME: Move the tests from web/tests/ to appropriate places.
|
||||
# crbug.com/353585
|
||||
"tests/ActivityLoggerTest.cpp",
|
||||
"tests/ChromeClientImplTest.cpp",
|
||||
"tests/CompositorWorkerTest.cpp",
|
||||
"tests/DocumentLoaderTest.cpp",
|
||||
"tests/DocumentLoadingRenderingTest.cpp",
|
||||
"tests/FakeWebPlugin.cpp",
|
||||
"tests/FakeWebPlugin.h",
|
||||
"tests/FrameLoaderClientImplTest.cpp",
|
||||
"tests/FrameSerializerTest.cpp",
|
||||
"tests/FrameTestHelpers.cpp",
|
||||
"tests/FrameTestHelpers.h",
|
||||
"tests/FrameThrottlingTest.cpp",
|
||||
"tests/ImeOnFocusTest.cpp",
|
||||
"tests/IntersectionObserverTest.cpp",
|
||||
"tests/KeyboardTest.cpp",
|
||||
"tests/LayoutGeometryMapTest.cpp",
|
||||
"tests/LinkElementLoadingTest.cpp",
|
||||
"tests/LinkSelectionTest.cpp",
|
||||
"tests/ListenerLeakTest.cpp",
|
||||
"tests/MHTMLTest.cpp",
|
||||
"tests/PrerenderingTest.cpp",
|
||||
"tests/ProgrammaticScrollTest.cpp",
|
||||
"tests/ResizeObserverTest.cpp",
|
||||
"tests/RootScrollerTest.cpp",
|
||||
"tests/RunAllTests.cpp",
|
||||
"tests/ScreenWakeLockTest.cpp",
|
||||
"tests/ScrollingCoordinatorTest.cpp",
|
||||
"tests/SpinLockTest.cpp",
|
||||
"tests/TextFinderTest.cpp",
|
||||
"tests/TopControlsTest.cpp",
|
||||
"tests/TouchActionTest.cpp",
|
||||
"tests/ViewportTest.cpp",
|
||||
"tests/VirtualTimeTest.cpp",
|
||||
"tests/VisualViewportTest.cpp",
|
||||
"tests/WebDocumentSubresourceFilterTest.cpp",
|
||||
"tests/WebDocumentTest.cpp",
|
||||
"tests/WebFrameSerializerTest.cpp",
|
||||
"tests/WebFrameTest.cpp",
|
||||
"tests/WebHelperPluginTest.cpp",
|
||||
"tests/WebImageTest.cpp",
|
||||
"tests/WebInputEventConversionTest.cpp",
|
||||
"tests/WebMeaningfulLayoutsTest.cpp",
|
||||
"tests/WebPluginContainerTest.cpp",
|
||||
"tests/WebScopedWindowFocusAllowedIndicatorTest.cpp",
|
||||
"tests/WebSearchableFormDataTest.cpp",
|
||||
"tests/WebSelectorTest.cpp",
|
||||
"tests/WebURLRequestTest.cpp",
|
||||
"tests/WebURLResponseTest.cpp",
|
||||
"tests/WebUserGestureTokenTest.cpp",
|
||||
"tests/WebViewTest.cpp",
|
||||
"tests/sim/SimCanvas.cpp",
|
||||
"tests/sim/SimCanvas.h",
|
||||
"tests/sim/SimCompositor.cpp",
|
||||
"tests/sim/SimCompositor.h",
|
||||
"tests/sim/SimDisplayItemList.cpp",
|
||||
"tests/sim/SimDisplayItemList.h",
|
||||
"tests/sim/SimNetwork.cpp",
|
||||
"tests/sim/SimNetwork.h",
|
||||
"tests/sim/SimRequest.cpp",
|
||||
"tests/sim/SimRequest.h",
|
||||
"tests/sim/SimTest.cpp",
|
||||
"tests/sim/SimTest.h",
|
||||
"tests/sim/SimWebViewClient.cpp",
|
||||
"tests/sim/SimWebViewClient.h",
|
||||
]
|
||||
sources += bindings_unittest_files
|
||||
sources += platform_web_unittest_files
|
||||
|
||||
deps = [
|
||||
":test_support",
|
||||
":web",
|
||||
@ -103,8 +402,8 @@ test("webkit_unit_tests") {
|
||||
"//mojo/edk/system:system",
|
||||
"//testing/gmock",
|
||||
"//testing/gtest",
|
||||
"//third_party/WebKit/Source/core",
|
||||
"//third_party/WebKit/Source/modules",
|
||||
"//third_party/WebKit/Source/core:unit_tests",
|
||||
"//third_party/WebKit/Source/modules:unit_tests",
|
||||
"//third_party/WebKit/Source/platform:test_support",
|
||||
"//third_party/WebKit/Source/wtf",
|
||||
"//third_party/libwebp",
|
||||
@ -114,19 +413,10 @@ test("webkit_unit_tests") {
|
||||
]
|
||||
|
||||
data_deps = [
|
||||
"//content/shell:pak",
|
||||
":webkit_unit_tests_data",
|
||||
"//content/shell:pak",
|
||||
]
|
||||
|
||||
sources = [
|
||||
"tests/RunAllTests.cpp",
|
||||
]
|
||||
sources += web_unittest_files
|
||||
sources += bindings_unittest_files
|
||||
sources += core_unittest_files
|
||||
sources += modules_unittest_files
|
||||
sources += platform_web_unittest_files
|
||||
|
||||
configs += [
|
||||
"//third_party/WebKit/Source:config",
|
||||
"//third_party/WebKit/Source:inside_blink",
|
||||
|
304
third_party/WebKit/Source/web/web.gypi
vendored
304
third_party/WebKit/Source/web/web.gypi
vendored
@ -1,304 +0,0 @@
|
||||
{
|
||||
'variables': {
|
||||
'web_files': [
|
||||
'AssertMatchingEnums.cpp',
|
||||
'AssociatedURLLoader.cpp',
|
||||
'AssociatedURLLoader.h',
|
||||
'AudioOutputDeviceClientImpl.cpp',
|
||||
'AudioOutputDeviceClientImpl.h',
|
||||
'ChromeClientImpl.cpp',
|
||||
'ChromeClientImpl.h',
|
||||
'ColorChooserPopupUIController.cpp',
|
||||
'ColorChooserPopupUIController.h',
|
||||
'ColorChooserUIController.cpp',
|
||||
'ColorChooserUIController.h',
|
||||
'CompositionUnderlineBuilder.h',
|
||||
'CompositionUnderlineVectorBuilder.cpp',
|
||||
'CompositionUnderlineVectorBuilder.h',
|
||||
'CompositorMutatorImpl.cpp',
|
||||
'CompositorMutatorImpl.h',
|
||||
'CompositorProxyClientImpl.cpp',
|
||||
'CompositorProxyClientImpl.h',
|
||||
'ContextFeaturesClientImpl.cpp',
|
||||
'ContextFeaturesClientImpl.h',
|
||||
'ContextMenuAllowedScope.cpp',
|
||||
'ContextMenuAllowedScope.h',
|
||||
'ContextMenuClientImpl.cpp',
|
||||
'ContextMenuClientImpl.h',
|
||||
'DatabaseClientImpl.cpp',
|
||||
'DatabaseClientImpl.h',
|
||||
'DateTimeChooserImpl.cpp',
|
||||
'DateTimeChooserImpl.h',
|
||||
'DedicatedWorkerGlobalScopeProxyProviderImpl.cpp',
|
||||
'DedicatedWorkerGlobalScopeProxyProviderImpl.h',
|
||||
'DevToolsEmulator.cpp',
|
||||
'DevToolsEmulator.h',
|
||||
'EditorClientImpl.cpp',
|
||||
'EditorClientImpl.h',
|
||||
'ExternalDateTimeChooser.cpp',
|
||||
'ExternalDateTimeChooser.h',
|
||||
'ExternalPopupMenu.cpp',
|
||||
'ExternalPopupMenu.h',
|
||||
'FindInPageCoordinates.cpp',
|
||||
'FindInPageCoordinates.h',
|
||||
'FrameLoaderClientImpl.cpp',
|
||||
'FrameLoaderClientImpl.h',
|
||||
'FullscreenController.cpp',
|
||||
'FullscreenController.h',
|
||||
'IndexedDBClientImpl.cpp',
|
||||
'IndexedDBClientImpl.h',
|
||||
'InspectorEmulationAgent.cpp',
|
||||
'InspectorEmulationAgent.h',
|
||||
'InspectorOverlay.cpp',
|
||||
'InspectorOverlay.h',
|
||||
'InspectorRenderingAgent.cpp',
|
||||
'InspectorRenderingAgent.h',
|
||||
'LinkHighlightImpl.cpp',
|
||||
'LinkHighlightImpl.h',
|
||||
'LocalFileSystemClient.cpp',
|
||||
'LocalFileSystemClient.h',
|
||||
'MediaKeysClientImpl.cpp',
|
||||
'MediaKeysClientImpl.h',
|
||||
'NavigatorContentUtilsClientImpl.cpp',
|
||||
'NavigatorContentUtilsClientImpl.h',
|
||||
'OpenedFrameTracker.cpp',
|
||||
'OpenedFrameTracker.h',
|
||||
'PageOverlay.cpp',
|
||||
'PageOverlay.h',
|
||||
'PageWidgetDelegate.cpp',
|
||||
'PageWidgetDelegate.h',
|
||||
'PopupMenuImpl.cpp',
|
||||
'PopupMenuImpl.h',
|
||||
'PrerendererClientImpl.cpp',
|
||||
'PrerendererClientImpl.h',
|
||||
'RemoteFrameClientImpl.cpp',
|
||||
'RemoteFrameClientImpl.h',
|
||||
'RemoteFrameOwner.cpp',
|
||||
'RemoteFrameOwner.h',
|
||||
'ResizeViewportAnchor.cpp',
|
||||
'ResizeViewportAnchor.h',
|
||||
'RotationViewportAnchor.cpp',
|
||||
'RotationViewportAnchor.h',
|
||||
'ServiceWorkerGlobalScopeClientImpl.cpp',
|
||||
'ServiceWorkerGlobalScopeClientImpl.h',
|
||||
'ServiceWorkerGlobalScopeProxy.cpp',
|
||||
'ServiceWorkerGlobalScopeProxy.h',
|
||||
'SharedWorkerRepositoryClientImpl.cpp',
|
||||
'SharedWorkerRepositoryClientImpl.h',
|
||||
'SpeechRecognitionClientProxy.cpp',
|
||||
'SpeechRecognitionClientProxy.h',
|
||||
'SpellCheckerClientImpl.cpp',
|
||||
'SpellCheckerClientImpl.h',
|
||||
'StorageClientImpl.cpp',
|
||||
'StorageClientImpl.h',
|
||||
'StorageQuotaClientImpl.cpp',
|
||||
'StorageQuotaClientImpl.h',
|
||||
'SuspendableScriptExecutor.cpp',
|
||||
'SuspendableScriptExecutor.h',
|
||||
'TextFinder.cpp',
|
||||
'TextFinder.h',
|
||||
'UserMediaClientImpl.cpp',
|
||||
'UserMediaClientImpl.h',
|
||||
'ValidationMessageClientImpl.cpp',
|
||||
'ValidationMessageClientImpl.h',
|
||||
'WebAXObject.cpp',
|
||||
'WebArrayBuffer.cpp',
|
||||
'WebArrayBufferConverter.cpp',
|
||||
'WebArrayBufferView.cpp',
|
||||
'WebBlob.cpp',
|
||||
'WebCache.cpp',
|
||||
'WebColorSuggestion.cpp',
|
||||
'WebCryptoNormalize.cpp',
|
||||
'WebCustomElement.cpp',
|
||||
'WebCSSParser.cpp',
|
||||
'WebDOMActivityLogger.cpp',
|
||||
'WebDOMEvent.cpp',
|
||||
'WebDOMFileSystem.cpp',
|
||||
'WebDOMMediaStreamTrack.cpp',
|
||||
'WebDOMMessageEvent.cpp',
|
||||
'WebDataSourceImpl.cpp',
|
||||
'WebDataSourceImpl.h',
|
||||
'WebDatabase.cpp',
|
||||
'WebDateTimeSuggestion.cpp',
|
||||
'WebDevToolsAgentImpl.cpp',
|
||||
'WebDevToolsAgentImpl.h',
|
||||
'WebDevToolsFrontendImpl.cpp',
|
||||
'WebDevToolsFrontendImpl.h',
|
||||
'WebDocument.cpp',
|
||||
'WebElement.cpp',
|
||||
'WebElementCollection.cpp',
|
||||
'WebEmbeddedWorkerImpl.cpp',
|
||||
'WebEmbeddedWorkerImpl.h',
|
||||
'WebEntities.cpp',
|
||||
'WebEntities.h',
|
||||
'WebExport.h',
|
||||
'WebFileChooserCompletionImpl.cpp',
|
||||
'WebFileChooserCompletionImpl.h',
|
||||
'WebFormControlElement.cpp',
|
||||
'WebFormElement.cpp',
|
||||
'WebFrame.cpp',
|
||||
"WebFrameContentDumper.cpp",
|
||||
'WebFrameImplBase.cpp',
|
||||
'WebFrameImplBase.h',
|
||||
'WebFrameSerializer.cpp',
|
||||
'WebFrameSerializerImpl.cpp',
|
||||
'WebFrameSerializerImpl.h',
|
||||
'WebFrameWidgetBase.h',
|
||||
'WebFrameWidgetImpl.cpp',
|
||||
'WebFrameWidgetImpl.h',
|
||||
'WebHeap.cpp',
|
||||
'WebHelperPluginImpl.cpp',
|
||||
'WebHelperPluginImpl.h',
|
||||
'WebHistoryItem.cpp',
|
||||
'WebHitTestResult.cpp',
|
||||
'WebIDBKey.cpp',
|
||||
'WebIDBKeyRange.cpp',
|
||||
'WebImageCache.cpp',
|
||||
'WebImageDecoder.cpp',
|
||||
'WebInputElement.cpp',
|
||||
'WebInputEventConversion.cpp',
|
||||
'WebInputEventConversion.h',
|
||||
'WebKit.cpp',
|
||||
'WebLabelElement.cpp',
|
||||
'WebLeakDetector.cpp',
|
||||
'WebLocalFrameImpl.cpp',
|
||||
'WebLocalFrameImpl.h',
|
||||
'WebMediaDeviceChangeObserver.cpp',
|
||||
'WebMediaDevicesRequest.cpp',
|
||||
'WebMediaStreamRegistry.cpp',
|
||||
'WebMetaElement.cpp',
|
||||
'WebNetworkStateNotifier.cpp',
|
||||
'WebNode.cpp',
|
||||
'WebOptionElement.cpp',
|
||||
'WebPageImportanceSignals.cpp',
|
||||
'WebPagePopupImpl.cpp',
|
||||
'WebPagePopupImpl.h',
|
||||
'WebPepperSocket.cpp',
|
||||
'WebPepperSocketChannelClientProxy.h',
|
||||
'WebPepperSocketImpl.cpp',
|
||||
'WebPepperSocketImpl.h',
|
||||
'WebPerformance.cpp',
|
||||
'WebPluginContainerImpl.cpp',
|
||||
'WebPluginContainerImpl.h',
|
||||
'WebPluginDocument.cpp',
|
||||
'WebPluginScriptForbiddenScope.cpp',
|
||||
'WebRange.cpp',
|
||||
'WebRemoteFrameImpl.cpp',
|
||||
'WebRemoteFrameImpl.h',
|
||||
'WebRenderTheme.cpp',
|
||||
'WebRuntimeFeatures.cpp',
|
||||
'WebScopedUserGesture.cpp',
|
||||
'WebScopedWindowFocusAllowedIndicator.cpp',
|
||||
'WebScriptController.cpp',
|
||||
'WebScriptSource.cpp',
|
||||
'WebSearchableFormData.cpp',
|
||||
'WebSecurityPolicy.cpp',
|
||||
'WebSelectElement.cpp',
|
||||
'WebSelection.cpp',
|
||||
'WebSelector.cpp',
|
||||
'WebSerializedScriptValue.cpp',
|
||||
'WebSettingsImpl.cpp',
|
||||
'WebSettingsImpl.h',
|
||||
'WebSharedWorkerImpl.cpp',
|
||||
'WebSharedWorkerImpl.h',
|
||||
'WebSpeechGrammar.cpp',
|
||||
'WebSpeechRecognitionHandle.cpp',
|
||||
'WebSpeechRecognitionResult.cpp',
|
||||
'WebStorageEventDispatcherImpl.cpp',
|
||||
'WebSurroundingText.cpp',
|
||||
'WebTextCheckingCompletionImpl.cpp',
|
||||
'WebTextCheckingCompletionImpl.h',
|
||||
'WebTextCheckingResult.cpp',
|
||||
'WebTextInputInfo.cpp',
|
||||
'WebUserGestureIndicator.cpp',
|
||||
'WebUserGestureToken.cpp',
|
||||
'WebUserMediaRequest.cpp',
|
||||
'WebViewFrameWidget.cpp',
|
||||
'WebViewFrameWidget.h',
|
||||
'WebViewImpl.cpp',
|
||||
'WebViewImpl.h',
|
||||
'WorkerContentSettingsClient.cpp',
|
||||
'WorkerContentSettingsClient.h',
|
||||
'linux/WebFontRendering.cpp',
|
||||
'mac/WebScrollbarTheme.mm',
|
||||
'mac/WebSubstringUtil.mm',
|
||||
'win/WebFontRendering.cpp',
|
||||
],
|
||||
'web_unittest_files': [
|
||||
'AssociatedURLLoaderTest.cpp',
|
||||
'ExternalPopupMenuTest.cpp',
|
||||
'LinkHighlightImplTest.cpp',
|
||||
'PageOverlayTest.cpp',
|
||||
'WebDragDataTest.cpp',
|
||||
'WebEmbeddedWorkerImplTest.cpp',
|
||||
'WebNodeTest.cpp',
|
||||
'WebElementTest.cpp',
|
||||
'WebViewImplPaintArtifactCompositorTest.cpp',
|
||||
# FIXME: Move the tests from web/tests/ to appropriate places.
|
||||
# crbug.com/353585
|
||||
'tests/ActivityLoggerTest.cpp',
|
||||
'tests/ChromeClientImplTest.cpp',
|
||||
'tests/CompositorWorkerTest.cpp',
|
||||
'tests/DocumentLoaderTest.cpp',
|
||||
'tests/DocumentLoadingRenderingTest.cpp',
|
||||
'tests/FakeWebPlugin.cpp',
|
||||
'tests/FakeWebPlugin.h',
|
||||
'tests/FrameLoaderClientImplTest.cpp',
|
||||
'tests/FrameSerializerTest.cpp',
|
||||
'tests/FrameTestHelpers.cpp',
|
||||
'tests/FrameTestHelpers.h',
|
||||
'tests/FrameThrottlingTest.cpp',
|
||||
'tests/ImeOnFocusTest.cpp',
|
||||
'tests/IntersectionObserverTest.cpp',
|
||||
'tests/KeyboardTest.cpp',
|
||||
'tests/LinkElementLoadingTest.cpp',
|
||||
'tests/LinkSelectionTest.cpp',
|
||||
'tests/ListenerLeakTest.cpp',
|
||||
'tests/MHTMLTest.cpp',
|
||||
'tests/PrerenderingTest.cpp',
|
||||
'tests/ProgrammaticScrollTest.cpp',
|
||||
'tests/LayoutGeometryMapTest.cpp',
|
||||
'tests/ResizeObserverTest.cpp',
|
||||
'tests/RootScrollerTest.cpp',
|
||||
'tests/ScreenWakeLockTest.cpp',
|
||||
'tests/ScrollingCoordinatorTest.cpp',
|
||||
'tests/SpinLockTest.cpp',
|
||||
'tests/TextFinderTest.cpp',
|
||||
'tests/TopControlsTest.cpp',
|
||||
'tests/TouchActionTest.cpp',
|
||||
'tests/ViewportTest.cpp',
|
||||
'tests/VirtualTimeTest.cpp',
|
||||
'tests/VisualViewportTest.cpp',
|
||||
'tests/WebDocumentTest.cpp',
|
||||
'tests/WebDocumentSubresourceFilterTest.cpp',
|
||||
'tests/WebFrameSerializerTest.cpp',
|
||||
'tests/WebFrameTest.cpp',
|
||||
'tests/WebHelperPluginTest.cpp',
|
||||
'tests/WebImageTest.cpp',
|
||||
'tests/WebInputEventConversionTest.cpp',
|
||||
'tests/WebMeaningfulLayoutsTest.cpp',
|
||||
'tests/WebPluginContainerTest.cpp',
|
||||
'tests/WebScopedWindowFocusAllowedIndicatorTest.cpp',
|
||||
'tests/WebSearchableFormDataTest.cpp',
|
||||
'tests/WebSelectorTest.cpp',
|
||||
'tests/WebURLRequestTest.cpp',
|
||||
'tests/WebURLResponseTest.cpp',
|
||||
'tests/WebUserGestureTokenTest.cpp',
|
||||
'tests/WebViewTest.cpp',
|
||||
'tests/sim/SimCanvas.cpp',
|
||||
'tests/sim/SimCanvas.h',
|
||||
'tests/sim/SimCompositor.cpp',
|
||||
'tests/sim/SimCompositor.h',
|
||||
'tests/sim/SimDisplayItemList.cpp',
|
||||
'tests/sim/SimDisplayItemList.h',
|
||||
'tests/sim/SimNetwork.cpp',
|
||||
'tests/sim/SimNetwork.h',
|
||||
'tests/sim/SimRequest.cpp',
|
||||
'tests/sim/SimRequest.h',
|
||||
'tests/sim/SimTest.cpp',
|
||||
'tests/sim/SimTest.h',
|
||||
'tests/sim/SimWebViewClient.cpp',
|
||||
'tests/sim/SimWebViewClient.h',
|
||||
],
|
||||
},
|
||||
}
|
Reference in New Issue
Block a user