blob: 5cf06594b1e456c499ceed8d713e8e4dc3a7a760 [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',
borenet@google.comefb1d772012-10-10 19:45:51 +00005 'product_name': 'skia_xml',
epoger@google.comae85aea2011-05-31 13:50:51 +00006 'type': 'static_library',
borenet@google.comefb1d772012-10-10 19:45:51 +00007 'standalone_static_library': 1,
epoger@google.comae85aea2011-05-31 13:50:51 +00008 'include_dirs': [
bungeman@google.com5a64e582012-03-29 14:51:56 +00009 '../include/config',
10 '../include/core',
epoger@google.comae85aea2011-05-31 13:50:51 +000011 '../include/xml',
bungeman@google.com5a64e582012-03-29 14:51:56 +000012 '../include/utils',
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': [
borenet@google.com7158e6a2012-11-01 17:43:44 +000035 [ 'skia_os in ["win", "mac", "linux", "freebsd", "openbsd", "solaris", "android", "ios", "nacl"]', {
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: