blob: e75dd4c8bf31b8e96c238dc5cc057cb9ee4bed05 [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,
bungeman@google.com2b0ab9e2013-07-19 22:31:23 +00008 'dependencies': [
9 'core.gyp:*',
10 'utils.gyp:*',
11 ],
epoger@google.comae85aea2011-05-31 13:50:51 +000012 'include_dirs': [
epoger@google.comae85aea2011-05-31 13:50:51 +000013 '../include/xml',
epoger@google.comae85aea2011-05-31 13:50:51 +000014 ],
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': [
borenet@google.com05d550e2013-06-11 15:52:19 +000036 [ 'skia_os in ["win", "mac", "linux", "freebsd", "openbsd", "solaris", "android", "ios", "nacl", "chromeos"]', {
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: