OLD | NEW |
1 { | 1 { |
2 'targets': [ | 2 'targets': [ |
3 { | 3 { |
4 'target_name': 'xml', | 4 'target_name': 'xml', |
5 'product_name': 'skia_xml', | 5 'product_name': 'skia_xml', |
6 'type': 'static_library', | 6 'type': 'static_library', |
7 'standalone_static_library': 1, | 7 'standalone_static_library': 1, |
8 'dependencies': [ | 8 'dependencies': [ |
9 'skia_lib.gyp:skia_lib', | 9 'skia_lib.gyp:skia_lib', |
10 ], | 10 ], |
11 'include_dirs': [ | 11 'include_dirs': [ |
12 '../include/xml', | 12 '../include/xml', |
13 ], | 13 ], |
14 'sources': [ | 14 'sources': [ |
15 '../include/xml/SkBML_WXMLParser.h', | 15 '../include/xml/SkBML_WXMLParser.h', |
16 '../include/xml/SkBML_XMLParser.h', | 16 '../include/xml/SkBML_XMLParser.h', |
17 '../include/xml/SkDOM.h', | 17 '../include/xml/SkDOM.h', |
18 '../include/xml/SkJS.h', | |
19 '../include/xml/SkXMLParser.h', | 18 '../include/xml/SkXMLParser.h', |
20 '../include/xml/SkXMLWriter.h', | 19 '../include/xml/SkXMLWriter.h', |
21 | 20 |
22 '../src/xml/SkBML_Verbs.h', | 21 '../src/xml/SkBML_Verbs.h', |
23 '../src/xml/SkBML_XMLParser.cpp', | 22 '../src/xml/SkBML_XMLParser.cpp', |
24 '../src/xml/SkDOM.cpp', | 23 '../src/xml/SkDOM.cpp', |
25 '../src/xml/SkJS.cpp', | |
26 '../src/xml/SkJSDisplayable.cpp', | |
27 '../src/xml/SkXMLParser.cpp', | 24 '../src/xml/SkXMLParser.cpp', |
28 '../src/xml/SkXMLPullParser.cpp', | 25 '../src/xml/SkXMLPullParser.cpp', |
29 '../src/xml/SkXMLWriter.cpp', | 26 '../src/xml/SkXMLWriter.cpp', |
30 ], | 27 ], |
31 'sources!': [ | 28 'sources!': [ |
32 '../src/xml/SkXMLPullParser.cpp', #if 0 around class decl in header | 29 '../src/xml/SkXMLPullParser.cpp', #if 0 around class decl in header |
33 ], | 30 ], |
34 'conditions': [ | |
35 [ 'skia_os in ["win", "mac", "linux", "freebsd", "openbsd", "solaris", "
android", "ios", "nacl", "chromeos"]', { | |
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': { | 31 'direct_dependent_settings': { |
45 'include_dirs': [ | 32 'include_dirs': [ |
46 '../include/xml', | 33 '../include/xml', |
47 ], | 34 ], |
48 }, | 35 }, |
49 }, | 36 }, |
50 ], | 37 ], |
51 } | 38 } |
OLD | NEW |