blob: 7c06b448e397a750d3bc90f3f600901205e7fc46 [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.comb8f36552013-07-22 14:39:45 +00008 'dependencies': [
9 'skia_lib.gyp:skia_lib',
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': [
borenet@google.com05d550e2013-06-11 15:52:19 +000035 [ 'skia_os in ["win", "mac", "linux", "freebsd", "openbsd", "solaris", "android", "ios", "nacl", "chromeos"]', {
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: