aboutsummaryrefslogtreecommitdiffhomepage
path: root/gyp/svg.gyp
blob: 4151a3d7b73d7010c29cadc33b56dad7f504810e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
# Copyright 2015 Google Inc.
#
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
  '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/private',
        '../include/svg',
        '../src/core',
      ],
      'sources': [
        '<(skia_include_path)/svg/SkSVGCanvas.h',

        '<(skia_src_path)/svg/SkSVGCanvas.cpp',
        '<(skia_src_path)/svg/SkSVGDevice.cpp',
        '<(skia_src_path)/svg/SkSVGDevice.h',
      ],
      'direct_dependent_settings': {
        'include_dirs': [
          '../include/svg',
        ],
      },
    },
    {
      '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/SkSVGAttributeParser.h',
        '../experimental/svg/model/SkSVGAttributeParser.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/SkSVGRect.h',
        '../experimental/svg/model/SkSVGRect.cpp',
        '../experimental/svg/model/SkSVGRenderContext.h',
        '../experimental/svg/model/SkSVGRenderContext.cpp',
        '../experimental/svg/model/SkSVGShape.h',
        '../experimental/svg/model/SkSVGShape.cpp',
        '../experimental/svg/model/SkSVGSVG.h',
        '../experimental/svg/model/SkSVGSVG.cpp',
        '../experimental/svg/model/SkSVGTransformableNode.h',
        '../experimental/svg/model/SkSVGTransformableNode.cpp',
        '../experimental/svg/model/SkSVGTypes.h',
        '../experimental/svg/model/SkSVGValue.h',
        '../experimental/svg/model/SkSVGValue.cpp',
      ],
      'direct_dependent_settings': {
        'include_dirs': [
          '../experimental/svg/model',
        ],
      },
    },

  ],
}