aboutsummaryrefslogtreecommitdiffhomepage
path: root/gyp/xml.gyp
blob: a3178a00a1880e1efff77e978e79a95a18b60361 (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
# 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/SkXMLWriter.cpp',
      ],
      'direct_dependent_settings': {
        'include_dirs': [
          '../include/xml',
        ],
        'defines' : [
          'SK_XML',
        ],
      },
    },
  ],
}