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

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

Issue 2304353002: Revert of Move more of webcore_remaining into GN build files. (Closed)
Patch Set: 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 | « third_party/WebKit/Source/core/observer/BUILD.gn ('k') | third_party/WebKit/Source/core/svg/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/style/BUILD.gn
diff --git a/third_party/WebKit/Source/core/style/BUILD.gn b/third_party/WebKit/Source/core/style/BUILD.gn
index 6caff039c13256c96709a198426448bd3a7aad41..7ab04775d02d5883eabbf22987bc6f94fb8672a9 100644
--- a/third_party/WebKit/Source/core/style/BUILD.gn
+++ b/third_party/WebKit/Source/core/style/BUILD.gn
@@ -4,83 +4,22 @@
import("//third_party/WebKit/Source/core/core.gni")
-blink_core_sources("rendering") {
+target(core_link_small_target_type, "svg") {
visibility = [ "//third_party/WebKit/Source/core/*" ]
sources = [
- "AppliedTextDecoration.cpp",
- "BasicShapes.cpp",
- "BorderEdge.cpp",
- "BorderEdge.h",
- "BorderImageLength.h",
- "BorderImageLengthBox.h",
- "CachedUAStyle.h",
- "ClipPathOperation.h",
- "ComputedStyle.cpp",
- "ComputedStyle.h",
- "ContentData.cpp",
- "CounterDirectives.cpp",
- "DataEquivalency.h",
- "DataPersistent.h",
- "DataRef.h",
- "FillLayer.cpp",
- "GridArea.h",
- "GridPositionsResolver.cpp",
- "GridPositionsResolver.h",
- "NinePieceImage.cpp",
- "QuotesData.cpp",
- "QuotesData.h",
- "ShadowData.cpp",
- "ShadowData.h",
- "ShadowList.cpp",
- "ShadowList.h",
- "StyleBackgroundData.cpp",
- "StyleBoxData.cpp",
- "StyleContentAlignmentData.h",
- "StyleDeprecatedFlexibleBoxData.cpp",
- "StyleFetchedImage.cpp",
- "StyleFetchedImageSet.cpp",
- "StyleFilterData.cpp",
- "StyleFlexibleBoxData.cpp",
- "StyleGeneratedImage.cpp",
- "StyleGridData.cpp",
- "StyleGridItemData.cpp",
- "StyleImage.cpp",
- "StyleInheritedData.cpp",
- "StyleInvalidImage.h",
- "StyleMotionData.cpp",
- "StyleMotionData.h",
- "StyleMotionRotation.h",
- "StyleMultiColData.cpp",
- "StylePath.cpp",
- "StylePath.h",
- "StylePendingImage.h",
- "StyleRareInheritedData.cpp",
- "StyleRareNonInheritedData.cpp",
- "StyleScrollSnapData.cpp",
- "StyleScrollSnapData.h",
- "StyleSelfAlignmentData.h",
- "StyleSurroundData.cpp",
- "StyleTransformData.cpp",
- "StyleVariableData.cpp",
- "StyleVariableData.h",
- "StyleVisualData.cpp",
- "StyleWillChangeData.cpp",
- "TextSizeAdjust.h",
+ "SVGComputedStyle.cpp",
+ "SVGComputedStyleDefs.cpp",
]
+
+ configs -= core_config_remove
+ configs += core_config_add
configs += [
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
"//build/config/compiler:no_size_t_to_int_warning",
]
-}
-blink_core_sources("svg") {
- sources = [
- "SVGComputedStyle.cpp",
- "SVGComputedStyleDefs.cpp",
- ]
- configs += [
- # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
- "//build/config/compiler:no_size_t_to_int_warning",
+ deps = [
+ "//third_party/WebKit/Source/core:prerequisites",
]
}
« no previous file with comments | « third_party/WebKit/Source/core/observer/BUILD.gn ('k') | third_party/WebKit/Source/core/svg/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698