blob: 636398bf3dd3e46fcb22e310d954c09b93c33751 [file] [log] [blame]
epoger@google.comae85aea2011-05-31 13:50:51 +00001{
epoger@google.comae85aea2011-05-31 13:50:51 +00002 'targets': [
3 {
4 'target_name': 'xml',
5 'type': 'static_library',
bungeman@google.com29b63dc2012-03-29 14:28:59 +00006 'dependencies': [
7 'core.gyp:core',
8 'ports.gyp:ports',
9 'utils.gyp:utils',
10 ],
epoger@google.comae85aea2011-05-31 13:50:51 +000011 'include_dirs': [
epoger@google.comae85aea2011-05-31 13:50:51 +000012 '../include/xml',
epoger@google.comae85aea2011-05-31 13:50:51 +000013 ],
14 'sources': [
15 '../include/xml/SkBML_WXMLParser.h',
16 '../include/xml/SkBML_XMLParser.h',
17 '../include/xml/SkDOM.h',
18 '../include/xml/SkJS.h',
19 '../include/xml/SkXMLParser.h',
20 '../include/xml/SkXMLWriter.h',
21
22 '../src/xml/SkBML_Verbs.h',
23 '../src/xml/SkBML_XMLParser.cpp',
24 '../src/xml/SkDOM.cpp',
25 '../src/xml/SkJS.cpp',
26 '../src/xml/SkJSDisplayable.cpp',
27 '../src/xml/SkXMLParser.cpp',
28 '../src/xml/SkXMLPullParser.cpp',
29 '../src/xml/SkXMLWriter.cpp',
30 ],
31 'sources!': [
32 '../src/xml/SkXMLPullParser.cpp', #if 0 around class decl in header
33 ],
34 'conditions': [
djsollen@google.com58629292011-11-03 13:08:29 +000035 [ 'skia_os in ["win", "mac", "linux", "freebsd", "openbsd", "solaris", "android"]', {
epoger@google.comae85aea2011-05-31 13:50:51 +000036 'sources!': [
37 # no jsapi.h by default on system
38 '../include/xml/SkJS.h',
39 '../src/xml/SkJS.cpp',
40 '../src/xml/SkJSDisplayable.cpp',
41 ],
42 }],
43 ],
44 'direct_dependent_settings': {
45 'include_dirs': [
46 '../include/xml',
47 ],
48 },
49 },
50 ],
51}
52
53# Local Variables:
54# tab-width:2
55# indent-tabs-mode:nil
56# End:
57# vim: set expandtab tabstop=2 shiftwidth=2: