1{ 2 'targets': [ 3 { 4 'target_name': 'xml', 5 'product_name': 'skia_xml', 6 'type': 'static_library', 7 'standalone_static_library': 1, 8 'include_dirs': [ 9 '../include/config', 10 '../include/core', 11 '../include/xml', 12 '../include/utils', 13 ], 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': [ 35 [ 'skia_os in ["win", "mac", "linux", "freebsd", "openbsd", "solaris", "android", "ios", "nacl"]', { 36 '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: 58