scroggo | 3e56227 | 2015-03-25 10:22:41 -0700 | [diff] [blame] | 1 | # Copyright 2015 Google Inc. |
| 2 | # |
| 3 | # Use of this source code is governed by a BSD-style license that can be |
| 4 | # found in the LICENSE file. |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 5 | { |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 6 | 'targets': [ |
| 7 | { |
| 8 | 'target_name': 'svg', |
borenet@google.com | efb1d77 | 2012-10-10 19:45:51 +0000 | [diff] [blame] | 9 | 'product_name': 'skia_svg', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 10 | 'type': 'static_library', |
borenet@google.com | efb1d77 | 2012-10-10 19:45:51 +0000 | [diff] [blame] | 11 | 'standalone_static_library': 1, |
bungeman@google.com | b8f3655 | 2013-07-22 14:39:45 +0000 | [diff] [blame] | 12 | 'dependencies': [ |
| 13 | 'skia_lib.gyp:skia_lib', |
| 14 | 'xml.gyp:*', |
| 15 | ], |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 16 | 'include_dirs': [ |
mtklein | cd1f2da | 2015-07-28 08:55:14 -0700 | [diff] [blame] | 17 | '../include/private', |
fmalita | 2aafe6f | 2015-02-06 12:51:10 -0800 | [diff] [blame] | 18 | '../include/svg', |
fmalita | f89f60f | 2015-02-13 08:55:24 -0800 | [diff] [blame] | 19 | '../src/core', |
fmalita | 2aafe6f | 2015-02-06 12:51:10 -0800 | [diff] [blame] | 20 | ], |
| 21 | 'sources': [ |
| 22 | '<(skia_include_path)/svg/SkSVGCanvas.h', |
| 23 | |
| 24 | '<(skia_src_path)/svg/SkSVGCanvas.cpp', |
| 25 | '<(skia_src_path)/svg/SkSVGDevice.cpp', |
| 26 | '<(skia_src_path)/svg/SkSVGDevice.h', |
| 27 | ], |
| 28 | 'direct_dependent_settings': { |
| 29 | 'include_dirs': [ |
| 30 | '../include/svg', |
| 31 | ], |
| 32 | }, |
| 33 | }, |
| 34 | { |
| 35 | 'target_name': 'svg_parser', |
| 36 | 'product_name': 'skia_svg_parser', |
| 37 | 'type': 'static_library', |
| 38 | 'standalone_static_library': 1, |
| 39 | 'dependencies': [ |
| 40 | 'skia_lib.gyp:skia_lib', |
| 41 | 'xml.gyp:*', |
| 42 | ], |
| 43 | 'include_dirs': [ |
fmalita | 02c8fd0 | 2015-02-06 08:43:51 -0800 | [diff] [blame] | 44 | '../include/svg/parser', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 45 | ], |
| 46 | 'sources': [ |
fmalita | 02c8fd0 | 2015-02-06 08:43:51 -0800 | [diff] [blame] | 47 | '../include/svg/parser/SkSVGAttribute.h', |
| 48 | '../include/svg/parser/SkSVGBase.h', |
| 49 | '../include/svg/parser/SkSVGPaintState.h', |
| 50 | '../include/svg/parser/SkSVGParser.h', |
| 51 | '../include/svg/parser/SkSVGTypes.h', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 52 | |
fmalita | 02c8fd0 | 2015-02-06 08:43:51 -0800 | [diff] [blame] | 53 | '../src/svg/parser/SkSVGCircle.cpp', |
| 54 | '../src/svg/parser/SkSVGCircle.h', |
| 55 | '../src/svg/parser/SkSVGClipPath.cpp', |
| 56 | '../src/svg/parser/SkSVGClipPath.h', |
| 57 | '../src/svg/parser/SkSVGDefs.cpp', |
| 58 | '../src/svg/parser/SkSVGDefs.h', |
| 59 | '../src/svg/parser/SkSVGElements.cpp', |
| 60 | '../src/svg/parser/SkSVGElements.h', |
| 61 | '../src/svg/parser/SkSVGEllipse.cpp', |
| 62 | '../src/svg/parser/SkSVGEllipse.h', |
| 63 | '../src/svg/parser/SkSVGFeColorMatrix.cpp', |
| 64 | '../src/svg/parser/SkSVGFeColorMatrix.h', |
| 65 | '../src/svg/parser/SkSVGFilter.cpp', |
| 66 | '../src/svg/parser/SkSVGFilter.h', |
| 67 | '../src/svg/parser/SkSVGG.cpp', |
| 68 | '../src/svg/parser/SkSVGG.h', |
| 69 | '../src/svg/parser/SkSVGGradient.cpp', |
| 70 | '../src/svg/parser/SkSVGGradient.h', |
| 71 | '../src/svg/parser/SkSVGGroup.cpp', |
| 72 | '../src/svg/parser/SkSVGGroup.h', |
| 73 | '../src/svg/parser/SkSVGImage.cpp', |
| 74 | '../src/svg/parser/SkSVGImage.h', |
| 75 | '../src/svg/parser/SkSVGLine.cpp', |
| 76 | '../src/svg/parser/SkSVGLine.h', |
| 77 | '../src/svg/parser/SkSVGLinearGradient.cpp', |
| 78 | '../src/svg/parser/SkSVGLinearGradient.h', |
| 79 | '../src/svg/parser/SkSVGMask.cpp', |
| 80 | '../src/svg/parser/SkSVGMask.h', |
| 81 | '../src/svg/parser/SkSVGMetadata.cpp', |
| 82 | '../src/svg/parser/SkSVGMetadata.h', |
| 83 | '../src/svg/parser/SkSVGPaintState.cpp', |
| 84 | '../src/svg/parser/SkSVGParser.cpp', |
| 85 | '../src/svg/parser/SkSVGPath.cpp', |
| 86 | '../src/svg/parser/SkSVGPath.h', |
| 87 | '../src/svg/parser/SkSVGPolygon.cpp', |
| 88 | '../src/svg/parser/SkSVGPolygon.h', |
| 89 | '../src/svg/parser/SkSVGPolyline.cpp', |
| 90 | '../src/svg/parser/SkSVGPolyline.h', |
| 91 | '../src/svg/parser/SkSVGRadialGradient.cpp', |
| 92 | '../src/svg/parser/SkSVGRadialGradient.h', |
| 93 | '../src/svg/parser/SkSVGRect.cpp', |
| 94 | '../src/svg/parser/SkSVGRect.h', |
| 95 | '../src/svg/parser/SkSVGStop.cpp', |
| 96 | '../src/svg/parser/SkSVGStop.h', |
| 97 | '../src/svg/parser/SkSVGSVG.cpp', |
| 98 | '../src/svg/parser/SkSVGSVG.h', |
| 99 | '../src/svg/parser/SkSVGSymbol.cpp', |
| 100 | '../src/svg/parser/SkSVGSymbol.h', |
| 101 | '../src/svg/parser/SkSVGText.cpp', |
| 102 | '../src/svg/parser/SkSVGText.h', |
| 103 | '../src/svg/parser/SkSVGUse.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 104 | ], |
| 105 | 'sources!' : [ |
fmalita | 02c8fd0 | 2015-02-06 08:43:51 -0800 | [diff] [blame] | 106 | '../src/svg/parser/SkSVG.cpp', # doesn't compile, maybe this is test code? |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 107 | ], |
| 108 | 'direct_dependent_settings': { |
| 109 | 'include_dirs': [ |
fmalita | 02c8fd0 | 2015-02-06 08:43:51 -0800 | [diff] [blame] | 110 | '../include/svg/parser', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 111 | ], |
| 112 | }, |
| 113 | }, |
| 114 | ], |
| 115 | } |