aboutsummaryrefslogtreecommitdiffhomepage
path: root/gyp/xml.gyp
blob: 5cf06594b1e456c499ceed8d713e8e4dc3a7a760 (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
{
  'targets': [
    {
      'target_name': 'xml',
      'product_name': 'skia_xml',
      'type': 'static_library',
      'standalone_static_library': 1,
      'include_dirs': [
        '../include/config',
        '../include/core',
        '../include/xml',
        '../include/utils',
      ],
      'sources': [
        '../include/xml/SkBML_WXMLParser.h',
        '../include/xml/SkBML_XMLParser.h',
        '../include/xml/SkDOM.h',
        '../include/xml/SkJS.h',
        '../include/xml/SkXMLParser.h',
        '../include/xml/SkXMLWriter.h',

        '../src/xml/SkBML_Verbs.h',
        '../src/xml/SkBML_XMLParser.cpp',
        '../src/xml/SkDOM.cpp',
        '../src/xml/SkJS.cpp',
        '../src/xml/SkJSDisplayable.cpp',
        '../src/xml/SkXMLParser.cpp',
        '../src/xml/SkXMLPullParser.cpp',
        '../src/xml/SkXMLWriter.cpp',
      ],
      'sources!': [
          '../src/xml/SkXMLPullParser.cpp', #if 0 around class decl in header
      ],
      'conditions': [
        [ 'skia_os in ["win", "mac", "linux", "freebsd", "openbsd", "solaris", "android", "ios", "nacl"]', {
          'sources!': [
            # no jsapi.h by default on system
            '../include/xml/SkJS.h',
            '../src/xml/SkJS.cpp',
            '../src/xml/SkJSDisplayable.cpp',
          ],
        }],
      ],
      'direct_dependent_settings': {
        'include_dirs': [
          '../include/xml',
        ],
      },
    },
  ],
}

# Local Variables:
# tab-width:2
# indent-tabs-mode:nil
# End:
# vim: set expandtab tabstop=2 shiftwidth=2: