blob: 7da866663013d445b7568b4e63362393c5271644 [file] [log] [blame]
epoger@google.comae85aea2011-05-31 13:50:51 +00001{
2 'includes': [
epoger@google.com5351b372011-07-01 17:16:26 +00003 'common.gypi',
epoger@google.comae85aea2011-05-31 13:50:51 +00004 ],
5 'targets': [
6 {
7 'target_name': 'xml',
8 'type': 'static_library',
9 'include_dirs': [
10 '../include/config',
11 '../include/core',
12 '../include/xml',
13 '../include/utils',
14 ],
15 'sources': [
16 '../include/xml/SkBML_WXMLParser.h',
17 '../include/xml/SkBML_XMLParser.h',
18 '../include/xml/SkDOM.h',
19 '../include/xml/SkJS.h',
20 '../include/xml/SkXMLParser.h',
21 '../include/xml/SkXMLWriter.h',
22
23 '../src/xml/SkBML_Verbs.h',
24 '../src/xml/SkBML_XMLParser.cpp',
25 '../src/xml/SkDOM.cpp',
26 '../src/xml/SkJS.cpp',
27 '../src/xml/SkJSDisplayable.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 'conditions': [
djsollen@google.com58629292011-11-03 13:08:29 +000036 [ 'skia_os in ["win", "mac", "linux", "freebsd", "openbsd", "solaris", "android"]', {
epoger@google.comae85aea2011-05-31 13:50:51 +000037 'sources!': [
38 # no jsapi.h by default on system
39 '../include/xml/SkJS.h',
40 '../src/xml/SkJS.cpp',
41 '../src/xml/SkJSDisplayable.cpp',
42 ],
43 }],
44 ],
45 'direct_dependent_settings': {
46 'include_dirs': [
47 '../include/xml',
48 ],
49 },
50 },
51 ],
52}
53
54# Local Variables:
55# tab-width:2
56# indent-tabs-mode:nil
57# End:
58# vim: set expandtab tabstop=2 shiftwidth=2: