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': [ |
fmalita | 2aafe6f | 2015-02-06 12:51:10 -0800 | [diff] [blame] | 17 | '../include/svg', |
fmalita | f89f60f | 2015-02-13 08:55:24 -0800 | [diff] [blame] | 18 | '../src/core', |
fmalita | 2aafe6f | 2015-02-06 12:51:10 -0800 | [diff] [blame] | 19 | ], |
| 20 | 'sources': [ |
| 21 | '<(skia_include_path)/svg/SkSVGCanvas.h', |
| 22 | |
| 23 | '<(skia_src_path)/svg/SkSVGCanvas.cpp', |
| 24 | '<(skia_src_path)/svg/SkSVGDevice.cpp', |
| 25 | '<(skia_src_path)/svg/SkSVGDevice.h', |
| 26 | ], |
| 27 | 'direct_dependent_settings': { |
| 28 | 'include_dirs': [ |
| 29 | '../include/svg', |
| 30 | ], |
| 31 | }, |
| 32 | }, |
| 33 | { |
| 34 | 'target_name': 'svg_parser', |
| 35 | 'product_name': 'skia_svg_parser', |
| 36 | 'type': 'static_library', |
| 37 | 'standalone_static_library': 1, |
| 38 | 'dependencies': [ |
| 39 | 'skia_lib.gyp:skia_lib', |
| 40 | 'xml.gyp:*', |
| 41 | ], |
| 42 | 'include_dirs': [ |
fmalita | 02c8fd0 | 2015-02-06 08:43:51 -0800 | [diff] [blame] | 43 | '../include/svg/parser', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 44 | ], |
| 45 | 'sources': [ |
fmalita | 02c8fd0 | 2015-02-06 08:43:51 -0800 | [diff] [blame] | 46 | '../include/svg/parser/SkSVGAttribute.h', |
| 47 | '../include/svg/parser/SkSVGBase.h', |
| 48 | '../include/svg/parser/SkSVGPaintState.h', |
| 49 | '../include/svg/parser/SkSVGParser.h', |
| 50 | '../include/svg/parser/SkSVGTypes.h', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 51 | |
fmalita | 02c8fd0 | 2015-02-06 08:43:51 -0800 | [diff] [blame] | 52 | '../src/svg/parser/SkSVGCircle.cpp', |
| 53 | '../src/svg/parser/SkSVGCircle.h', |
| 54 | '../src/svg/parser/SkSVGClipPath.cpp', |
| 55 | '../src/svg/parser/SkSVGClipPath.h', |
| 56 | '../src/svg/parser/SkSVGDefs.cpp', |
| 57 | '../src/svg/parser/SkSVGDefs.h', |
| 58 | '../src/svg/parser/SkSVGElements.cpp', |
| 59 | '../src/svg/parser/SkSVGElements.h', |
| 60 | '../src/svg/parser/SkSVGEllipse.cpp', |
| 61 | '../src/svg/parser/SkSVGEllipse.h', |
| 62 | '../src/svg/parser/SkSVGFeColorMatrix.cpp', |
| 63 | '../src/svg/parser/SkSVGFeColorMatrix.h', |
| 64 | '../src/svg/parser/SkSVGFilter.cpp', |
| 65 | '../src/svg/parser/SkSVGFilter.h', |
| 66 | '../src/svg/parser/SkSVGG.cpp', |
| 67 | '../src/svg/parser/SkSVGG.h', |
| 68 | '../src/svg/parser/SkSVGGradient.cpp', |
| 69 | '../src/svg/parser/SkSVGGradient.h', |
| 70 | '../src/svg/parser/SkSVGGroup.cpp', |
| 71 | '../src/svg/parser/SkSVGGroup.h', |
| 72 | '../src/svg/parser/SkSVGImage.cpp', |
| 73 | '../src/svg/parser/SkSVGImage.h', |
| 74 | '../src/svg/parser/SkSVGLine.cpp', |
| 75 | '../src/svg/parser/SkSVGLine.h', |
| 76 | '../src/svg/parser/SkSVGLinearGradient.cpp', |
| 77 | '../src/svg/parser/SkSVGLinearGradient.h', |
| 78 | '../src/svg/parser/SkSVGMask.cpp', |
| 79 | '../src/svg/parser/SkSVGMask.h', |
| 80 | '../src/svg/parser/SkSVGMetadata.cpp', |
| 81 | '../src/svg/parser/SkSVGMetadata.h', |
| 82 | '../src/svg/parser/SkSVGPaintState.cpp', |
| 83 | '../src/svg/parser/SkSVGParser.cpp', |
| 84 | '../src/svg/parser/SkSVGPath.cpp', |
| 85 | '../src/svg/parser/SkSVGPath.h', |
| 86 | '../src/svg/parser/SkSVGPolygon.cpp', |
| 87 | '../src/svg/parser/SkSVGPolygon.h', |
| 88 | '../src/svg/parser/SkSVGPolyline.cpp', |
| 89 | '../src/svg/parser/SkSVGPolyline.h', |
| 90 | '../src/svg/parser/SkSVGRadialGradient.cpp', |
| 91 | '../src/svg/parser/SkSVGRadialGradient.h', |
| 92 | '../src/svg/parser/SkSVGRect.cpp', |
| 93 | '../src/svg/parser/SkSVGRect.h', |
| 94 | '../src/svg/parser/SkSVGStop.cpp', |
| 95 | '../src/svg/parser/SkSVGStop.h', |
| 96 | '../src/svg/parser/SkSVGSVG.cpp', |
| 97 | '../src/svg/parser/SkSVGSVG.h', |
| 98 | '../src/svg/parser/SkSVGSymbol.cpp', |
| 99 | '../src/svg/parser/SkSVGSymbol.h', |
| 100 | '../src/svg/parser/SkSVGText.cpp', |
| 101 | '../src/svg/parser/SkSVGText.h', |
| 102 | '../src/svg/parser/SkSVGUse.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 103 | ], |
| 104 | 'sources!' : [ |
fmalita | 02c8fd0 | 2015-02-06 08:43:51 -0800 | [diff] [blame] | 105 | '../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] | 106 | ], |
| 107 | 'direct_dependent_settings': { |
| 108 | 'include_dirs': [ |
fmalita | 02c8fd0 | 2015-02-06 08:43:51 -0800 | [diff] [blame] | 109 | '../include/svg/parser', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 110 | ], |
| 111 | }, |
| 112 | }, |
| 113 | ], |
| 114 | } |