skia2/gyp/svg.gyp
bungeman@google.com b8f3655d49 Update obvious deps.
This is a step toward targets declaring their deps in a sane fashion.
This change resolves cycles by forcing core to the root, then everything
in skia_lib pointing toward core as best possible, then everything
outside skia_lib depending on skia_lib for things in skia_lib. This
prevents double definitions where a symbol is provided by both the
skia_lib shared object and and a statically linked component of skia_lib.

R=djsollen@google.com

Review URL: https://codereview.chromium.org/19823003

git-svn-id: http://skia.googlecode.com/svn/trunk@10231 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-07-22 14:39:45 +00:00

91 lines
2.7 KiB
Python

{
'targets': [
{
'target_name': 'svg',
'product_name': 'skia_svg',
'type': 'static_library',
'standalone_static_library': 1,
'dependencies': [
'skia_lib.gyp:skia_lib',
'xml.gyp:*',
],
'include_dirs': [
'../include/svg',
],
'sources': [
'../include/svg/SkSVGAttribute.h',
'../include/svg/SkSVGBase.h',
'../include/svg/SkSVGPaintState.h',
'../include/svg/SkSVGParser.h',
'../include/svg/SkSVGTypes.h',
'../src/svg/SkSVGCircle.cpp',
'../src/svg/SkSVGCircle.h',
'../src/svg/SkSVGClipPath.cpp',
'../src/svg/SkSVGClipPath.h',
'../src/svg/SkSVGDefs.cpp',
'../src/svg/SkSVGDefs.h',
'../src/svg/SkSVGElements.cpp',
'../src/svg/SkSVGElements.h',
'../src/svg/SkSVGEllipse.cpp',
'../src/svg/SkSVGEllipse.h',
'../src/svg/SkSVGFeColorMatrix.cpp',
'../src/svg/SkSVGFeColorMatrix.h',
'../src/svg/SkSVGFilter.cpp',
'../src/svg/SkSVGFilter.h',
'../src/svg/SkSVGG.cpp',
'../src/svg/SkSVGG.h',
'../src/svg/SkSVGGradient.cpp',
'../src/svg/SkSVGGradient.h',
'../src/svg/SkSVGGroup.cpp',
'../src/svg/SkSVGGroup.h',
'../src/svg/SkSVGImage.cpp',
'../src/svg/SkSVGImage.h',
'../src/svg/SkSVGLine.cpp',
'../src/svg/SkSVGLine.h',
'../src/svg/SkSVGLinearGradient.cpp',
'../src/svg/SkSVGLinearGradient.h',
'../src/svg/SkSVGMask.cpp',
'../src/svg/SkSVGMask.h',
'../src/svg/SkSVGMetadata.cpp',
'../src/svg/SkSVGMetadata.h',
'../src/svg/SkSVGPaintState.cpp',
'../src/svg/SkSVGParser.cpp',
'../src/svg/SkSVGPath.cpp',
'../src/svg/SkSVGPath.h',
'../src/svg/SkSVGPolygon.cpp',
'../src/svg/SkSVGPolygon.h',
'../src/svg/SkSVGPolyline.cpp',
'../src/svg/SkSVGPolyline.h',
'../src/svg/SkSVGRadialGradient.cpp',
'../src/svg/SkSVGRadialGradient.h',
'../src/svg/SkSVGRect.cpp',
'../src/svg/SkSVGRect.h',
'../src/svg/SkSVGStop.cpp',
'../src/svg/SkSVGStop.h',
'../src/svg/SkSVGSVG.cpp',
'../src/svg/SkSVGSVG.h',
'../src/svg/SkSVGSymbol.cpp',
'../src/svg/SkSVGSymbol.h',
'../src/svg/SkSVGText.cpp',
'../src/svg/SkSVGText.h',
'../src/svg/SkSVGUse.cpp',
],
'sources!' : [
'../src/svg/SkSVG.cpp', # doesn't compile, maybe this is test code?
],
'direct_dependent_settings': {
'include_dirs': [
'../include/svg',
],
},
},
],
}
# Local Variables:
# tab-width:2
# indent-tabs-mode:nil
# End:
# vim: set expandtab tabstop=2 shiftwidth=2: