2011-05-31 13:50:51 +00:00
|
|
|
{
|
|
|
|
'targets': [
|
|
|
|
{
|
|
|
|
'target_name': 'xml',
|
2012-10-10 19:45:51 +00:00
|
|
|
'product_name': 'skia_xml',
|
2011-05-31 13:50:51 +00:00
|
|
|
'type': 'static_library',
|
2012-10-10 19:45:51 +00:00
|
|
|
'standalone_static_library': 1,
|
2011-05-31 13:50:51 +00:00
|
|
|
'include_dirs': [
|
2012-03-29 14:51:56 +00:00
|
|
|
'../include/config',
|
|
|
|
'../include/core',
|
2011-05-31 13:50:51 +00:00
|
|
|
'../include/xml',
|
2012-03-29 14:51:56 +00:00
|
|
|
'../include/utils',
|
2011-05-31 13:50:51 +00:00
|
|
|
],
|
|
|
|
'sources': [
|
|
|
|
'../include/xml/SkBML_WXMLParser.h',
|
|
|
|
'../include/xml/SkBML_XMLParser.h',
|
|
|
|
'../include/xml/SkDOM.h',
|
|
|
|
'../include/xml/SkJS.h',
|
|
|
|
'../include/xml/SkXMLParser.h',
|
|
|
|
'../include/xml/SkXMLWriter.h',
|
|
|
|
|
|
|
|
'../src/xml/SkBML_Verbs.h',
|
|
|
|
'../src/xml/SkBML_XMLParser.cpp',
|
|
|
|
'../src/xml/SkDOM.cpp',
|
|
|
|
'../src/xml/SkJS.cpp',
|
|
|
|
'../src/xml/SkJSDisplayable.cpp',
|
|
|
|
'../src/xml/SkXMLParser.cpp',
|
|
|
|
'../src/xml/SkXMLPullParser.cpp',
|
|
|
|
'../src/xml/SkXMLWriter.cpp',
|
|
|
|
],
|
|
|
|
'sources!': [
|
|
|
|
'../src/xml/SkXMLPullParser.cpp', #if 0 around class decl in header
|
|
|
|
],
|
|
|
|
'conditions': [
|
2012-11-01 17:43:44 +00:00
|
|
|
[ 'skia_os in ["win", "mac", "linux", "freebsd", "openbsd", "solaris", "android", "ios", "nacl"]', {
|
2011-05-31 13:50:51 +00:00
|
|
|
'sources!': [
|
|
|
|
# no jsapi.h by default on system
|
|
|
|
'../include/xml/SkJS.h',
|
|
|
|
'../src/xml/SkJS.cpp',
|
|
|
|
'../src/xml/SkJSDisplayable.cpp',
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
],
|
|
|
|
'direct_dependent_settings': {
|
|
|
|
'include_dirs': [
|
|
|
|
'../include/xml',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
}
|
|
|
|
|
|
|
|
# Local Variables:
|
|
|
|
# tab-width:2
|
|
|
|
# indent-tabs-mode:nil
|
|
|
|
# End:
|
|
|
|
# vim: set expandtab tabstop=2 shiftwidth=2:
|