blob: 8e825ada7d48f4e9b8dc8283e8066026d204b4fe [file] [log] [blame]
epoger@google.comae85aea2011-05-31 13:50:51 +00001{
2 'includes': [
3 'target_defaults.gypi',
4 ],
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': [
36 [ 'OS == "win" or OS == "mac" or OS == "linux" or OS == "openbsd" or OS == "solaris"', {
37 '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: