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.
5{
6  'targets': [
7    {
8      'target_name': 'xml',
9      'product_name': 'skia_xml',
10      'type': 'static_library',
11      'standalone_static_library': 1,
12      'dependencies': [
13        'skia_lib.gyp:skia_lib',
14      ],
15      'include_dirs': [
16        '../include/xml',
17      ],
18      'sources': [
19        '../include/xml/SkBML_WXMLParser.h',
20        '../include/xml/SkBML_XMLParser.h',
21        '../include/xml/SkDOM.h',
22        '../include/xml/SkXMLParser.h',
23        '../include/xml/SkXMLWriter.h',
24
25        '../src/xml/SkBML_Verbs.h',
26        '../src/xml/SkBML_XMLParser.cpp',
27        '../src/xml/SkDOM.cpp',
28        '../src/xml/SkXMLParser.cpp',
29        '../src/xml/SkXMLPullParser.cpp',
30        '../src/xml/SkXMLWriter.cpp',
31      ],
32      'sources!': [
33          '../src/xml/SkXMLPullParser.cpp', #if 0 around class decl in header
34      ],
35      'direct_dependent_settings': {
36        'include_dirs': [
37          '../include/xml',
38        ],
39      },
40    },
41  ],
42}
43