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

Unified Diff: BUILD.gn

Issue 2209593004: Add an SVG DM source (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: GN fix Created 4 years, 4 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 | dm/DM.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: BUILD.gn
diff --git a/BUILD.gn b/BUILD.gn
index 0780f1b52298c64c964ccde142a5c01902bf2b13..067e645c9902d37769ca6f7f679c06946fce365d 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -496,6 +496,27 @@ test_lib("bench") {
]
}
+test_lib("experimental_svg_model") {
+ public_include_dirs = [ "experimental/svg/model" ]
+ sources = [
+ "experimental/svg/model/SkSVGAttribute.cpp",
+ "experimental/svg/model/SkSVGAttributeParser.cpp",
+ "experimental/svg/model/SkSVGContainer.cpp",
+ "experimental/svg/model/SkSVGDOM.cpp",
+ "experimental/svg/model/SkSVGNode.cpp",
+ "experimental/svg/model/SkSVGPath.cpp",
+ "experimental/svg/model/SkSVGRect.cpp",
+ "experimental/svg/model/SkSVGRenderContext.cpp",
+ "experimental/svg/model/SkSVGSVG.cpp",
+ "experimental/svg/model/SkSVGShape.cpp",
+ "experimental/svg/model/SkSVGTransformableNode.cpp",
+ "experimental/svg/model/SkSVGValue.cpp",
+ ]
+ deps = [
+ ":skia",
+ ]
+}
+
if (!is_component_build) { # Our test tools use many non-SK_API APIs...
executable("dm") {
sources = [
@@ -505,6 +526,7 @@ if (!is_component_build) { # Our test tools use many non-SK_API APIs...
]
include_dirs = [ "tests" ]
deps = [
+ ":experimental_svg_model",
":flags",
":gm",
":gpu_tool_utils",
« no previous file with comments | « no previous file | dm/DM.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698