aboutsummaryrefslogtreecommitdiffhomepage
path: root/gyp/xml.gyp
blob: 6529d0c4711d0a19b9dfe0a182308e31f976188e (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
# 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': 'xml',
      'product_name': 'skia_xml',
      'type': 'static_library',
      'standalone_static_library': 1,
      'dependencies': [
        'skia_lib.gyp:skia_lib',
        'expat.gyp:expat',
      ],
      'include_dirs': [
        '<(skia_include_path)/private',
        '<(skia_include_path)/xml',
      ],
      'sources': [
        '<(skia_include_path)/xml/SkDOM.h',
        '<(skia_include_path)/xml/SkXMLParser.h',
        '<(skia_include_path)/xml/SkXMLWriter.h',

        '<(skia_src_path)/xml/SkDOM.cpp',
        '<(skia_src_path)/xml/SkXMLParser.cpp',
        '<(skia_src_path)/xml/SkXMLPullParser.cpp',
        '<(skia_src_path)/xml/SkXMLWriter.cpp',
      ],
      'sources!': [
          # time to kill this?
          '<(skia_src_path)/xml/SkXMLPullParser.cpp', #if 0 around class decl in header
      ],
      'direct_dependent_settings': {
        'include_dirs': [
          '../include/xml',
        ],
        'defines' : [
          'SK_XML',
        ],
      },
    },
  ],
}