aboutsummaryrefslogtreecommitdiffhomepage
path: root/gyp/svg.gyp
diff options
context:
space:
mode:
authorGravatar fmalita <fmalita@chromium.org>2016-07-26 18:46:34 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-07-26 18:46:34 -0700
commit6ceef3dd67617c5f4572ada98d5ee85777d2db99 (patch)
tree80d683062d7bba05f8fe4df14cedcb489dd4aa00 /gyp/svg.gyp
parentfc49d56feb2d890ccb3827ed087ab32e18a9da12 (diff)
Initial SVG model
A minimal subset needed to render tiger.svg: <svg>, <g>, <path>, 'd', 'fill'/'stroke' (color-only), 'transform'. R=reed@google.com,robertphillips@google.com GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2164193002 Review-Url: https://codereview.chromium.org/2164193002
Diffstat (limited to 'gyp/svg.gyp')
-rw-r--r--gyp/svg.gyp40
1 files changed, 40 insertions, 0 deletions
diff --git a/gyp/svg.gyp b/gyp/svg.gyp
index 8fc4b9725b..f5b43f8f07 100644
--- a/gyp/svg.gyp
+++ b/gyp/svg.gyp
@@ -31,5 +31,45 @@
],
},
},
+ {
+ 'target_name': 'svgdom',
+ 'type': 'static_library',
+ 'standalone_static_library': 1,
+ 'dependencies': [
+ 'skia_lib.gyp:skia_lib',
+ 'xml.gyp:xml',
+ ],
+ 'include_dirs': [
+ '<(skia_include_path)/private',
+ '../experimental/svg/model',
+ ],
+ 'sources': [
+ '../experimental/svg/model/SkSVGAttribute.h',
+ '../experimental/svg/model/SkSVGAttribute.cpp',
+ '../experimental/svg/model/SkSVGContainer.h',
+ '../experimental/svg/model/SkSVGContainer.cpp',
+ '../experimental/svg/model/SkSVGDOM.h',
+ '../experimental/svg/model/SkSVGDOM.cpp',
+ '../experimental/svg/model/SkSVGG.h',
+ '../experimental/svg/model/SkSVGNode.h',
+ '../experimental/svg/model/SkSVGNode.cpp',
+ '../experimental/svg/model/SkSVGPath.h',
+ '../experimental/svg/model/SkSVGPath.cpp',
+ '../experimental/svg/model/SkSVGRenderContext.h',
+ '../experimental/svg/model/SkSVGRenderContext.cpp',
+ '../experimental/svg/model/SkSVGSVG.h',
+ '../experimental/svg/model/SkSVGSVG.cpp',
+ '../experimental/svg/model/SkSVGTransformableNode.h',
+ '../experimental/svg/model/SkSVGTransformableNode.cpp',
+ '../experimental/svg/model/SkSVGValue.h',
+ '../experimental/svg/model/SkSVGValue.cpp',
+ ],
+ 'direct_dependent_settings': {
+ 'include_dirs': [
+ '../experimental/svg/model',
+ ],
+ },
+ },
+
],
}