Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(338)

Unified Diff: third_party/WebKit/Source/core/BUILD.gn

Issue 2345543002: debugging for crbug.com/646539
Patch Set: 3 TUs, 2 .h Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/animation/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/BUILD.gn
diff --git a/third_party/WebKit/Source/core/BUILD.gn b/third_party/WebKit/Source/core/BUILD.gn
index ecf7cceec99736fe6efb32745eb3573407550717..c693cd3bdaa4e952ad6795bebf9ce79b1cd2e047 100644
--- a/third_party/WebKit/Source/core/BUILD.gn
+++ b/third_party/WebKit/Source/core/BUILD.gn
@@ -72,31 +72,12 @@ source_set("generated") {
source_set("prerequisites") {
public_deps = [
- "//gpu/command_buffer/client:gles2_c_lib",
"//skia",
- "//third_party/WebKit/Source/core/inspector:generated",
"//third_party/WebKit/Source/wtf",
- "//third_party/angle:translator",
- "//third_party/iccjpeg",
- "//third_party/icu",
- "//third_party/libpng",
- "//third_party/libwebp",
- "//third_party/libxml",
- "//third_party/libxslt",
- "//third_party/ots",
- "//third_party/qcms",
- "//third_party/snappy",
- "//third_party/sqlite",
- "//third_party/zlib",
- "//ui/gfx/geometry",
"//url",
"//v8",
]
deps = [
- "//third_party/WebKit/Source/bindings/core/v8:bindings_core_v8_generated",
-
- # FIXME: don't depend on bindings_modules http://crbug.com/358074
- "//third_party/WebKit/Source/bindings/modules/v8:bindings_modules_generated",
"//third_party/WebKit/Source/platform",
]
@@ -125,77 +106,67 @@ component("core") {
visibility = [] # Allow re-assignment of list.
visibility = [ "//third_party/WebKit/*" ]
- # If you create a new subdirectory, make a new BUILD file for that directory
- # and reference it in the deps below rather than adding the sources here.
- sources = [
- "CoreInitializer.cpp",
- "CoreInitializer.h",
- ]
-
configs -= core_config_remove
configs += core_config_add
public_deps = [
":core_generated",
"//skia",
- "//third_party/WebKit/Source/platform",
"//third_party/WebKit/Source/wtf",
- "//third_party/qcms",
"//url",
"//v8",
]
deps = [
"//third_party/WebKit/Source/core/animation",
- "//third_party/WebKit/Source/core/clipboard",
"//third_party/WebKit/Source/core/css",
"//third_party/WebKit/Source/core/dom",
- "//third_party/WebKit/Source/core/editing",
- "//third_party/WebKit/Source/core/events",
- "//third_party/WebKit/Source/core/fetch",
- "//third_party/WebKit/Source/core/fileapi",
- "//third_party/WebKit/Source/core/frame",
- "//third_party/WebKit/Source/core/html",
- "//third_party/WebKit/Source/core/imagebitmap",
- "//third_party/WebKit/Source/core/input",
- "//third_party/WebKit/Source/core/inspector",
- "//third_party/WebKit/Source/core/layout",
- "//third_party/WebKit/Source/core/layout/svg",
- "//third_party/WebKit/Source/core/loader",
- "//third_party/WebKit/Source/core/observer",
- "//third_party/WebKit/Source/core/offscreencanvas",
- "//third_party/WebKit/Source/core/origin_trials",
- "//third_party/WebKit/Source/core/page",
- "//third_party/WebKit/Source/core/paint",
- "//third_party/WebKit/Source/core/plugins",
- "//third_party/WebKit/Source/core/streams",
"//third_party/WebKit/Source/core/style:rendering",
"//third_party/WebKit/Source/core/style:svg",
- "//third_party/WebKit/Source/core/svg",
- "//third_party/WebKit/Source/core/timing",
- "//third_party/WebKit/Source/core/workers",
- "//third_party/WebKit/Source/core/xml",
- "//third_party/WebKit/Source/core/xmlhttprequest",
- ]
-
- if (is_win && is_debug && is_component_build && current_cpu == "x64") {
- # Incremental linking doesn't work on this target in debug mode for
- # 64-bit builds - the .ilk file gets too large and the incremental
- # link silently fails. Therefore 32-bit builds should be used for
- # fastest incremental build performance.
- configs -= [ "//build/config/win:default_incremental_linking" ]
- configs += [ "//build/config/win:no_incremental_linking" ]
- }
+ ]
public_configs = [ ":core_include_dirs" ]
+}
- if (is_mac) {
- libs = [
- "AppKit.framework",
- "Carbon.framework",
- ]
- }
+
+
+
+component("core_min") {
+ output_name = "blink_core_min"
+
+ visibility = [] # Allow re-assignment of list.
+ visibility = [ "//third_party/WebKit/*" ]
+
+ public_deps = [
+ "//skia",
+ "//url",
+ "//v8",
+ "//third_party/WebKit/Source/wtf",
+ ]
+ deps = [
+ #"//third_party/WebKit/Source/core/style:rendering",
+ "//third_party/WebKit/Source/platform",
+ ]
+
+ sources = [
+ "style/ComputedStyle.cpp",
+ "style/ComputedStyle.h",
+
+ "style/StyleInheritedData.cpp",
+ "style/StyleRareInheritedData.cpp",
+ "style/StyleRareNonInheritedData.cpp",
+ ]
+
+ public_configs = [
+ ":core_include_dirs",
+ "//third_party/WebKit/Source:config",
+ "//third_party/WebKit/Source:inside_blink",
+ ]
}
+
+
+
+
source_set("testing") {
configs += [
"//third_party/WebKit/Source:inside_blink",
@@ -920,290 +891,7 @@ fuzzer_test("text_resource_decoder_fuzzer") {
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/ActiveStyleSheetsTest.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/CSSURLImageValueTest.cpp",
- "css/cssom/CSSUnparsedValueTest.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/ElementRareDataTest.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/CompositionUnderlineTest.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/InsertListCommandTest.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/ng/ng_units_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 += [
@@ -1213,8 +901,6 @@ source_set("unit_tests") {
deps = [
":core",
- "//testing/gmock",
- "//testing/gtest",
]
}
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/animation/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698