Chromium Code Reviews| 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 'core.gyp:core', |
| 10 'utils.gyp:utils', | |
|
borenet
2014/11/13 21:01:26
I thought we wanted to avoid dependencies on these
djsollen
2014/11/13 21:06:55
yeah, but in this case is causes a cycle as ports
bungeman-skia
2014/11/13 21:50:25
Doing things this way requires that this target be
| |
| 10 ], | 11 ], |
| 11 'include_dirs': [ | 12 'include_dirs': [ |
| 12 '../include/xml', | 13 '../include/xml', |
| 13 ], | 14 ], |
| 14 'sources': [ | 15 'sources': [ |
| 15 '../include/xml/SkBML_WXMLParser.h', | 16 '../include/xml/SkBML_WXMLParser.h', |
| 16 '../include/xml/SkBML_XMLParser.h', | 17 '../include/xml/SkBML_XMLParser.h', |
| 17 '../include/xml/SkDOM.h', | 18 '../include/xml/SkDOM.h', |
| 18 '../include/xml/SkJS.h', | |
| 19 '../include/xml/SkXMLParser.h', | 19 '../include/xml/SkXMLParser.h', |
| 20 '../include/xml/SkXMLWriter.h', | 20 '../include/xml/SkXMLWriter.h', |
| 21 | 21 |
| 22 '../src/xml/SkBML_Verbs.h', | 22 '../src/xml/SkBML_Verbs.h', |
| 23 '../src/xml/SkBML_XMLParser.cpp', | 23 '../src/xml/SkBML_XMLParser.cpp', |
| 24 '../src/xml/SkDOM.cpp', | 24 '../src/xml/SkDOM.cpp', |
| 25 '../src/xml/SkJS.cpp', | |
| 26 '../src/xml/SkJSDisplayable.cpp', | |
| 27 '../src/xml/SkXMLParser.cpp', | 25 '../src/xml/SkXMLParser.cpp', |
| 28 '../src/xml/SkXMLPullParser.cpp', | 26 '../src/xml/SkXMLPullParser.cpp', |
| 29 '../src/xml/SkXMLWriter.cpp', | 27 '../src/xml/SkXMLWriter.cpp', |
| 30 ], | 28 ], |
| 31 'sources!': [ | 29 'sources!': [ |
| 32 '../src/xml/SkXMLPullParser.cpp', #if 0 around class decl in header | 30 '../src/xml/SkXMLPullParser.cpp', #if 0 around class decl in header |
| 33 ], | 31 ], |
| 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': { | 32 'direct_dependent_settings': { |
| 45 'include_dirs': [ | 33 'include_dirs': [ |
| 46 '../include/xml', | 34 '../include/xml', |
| 47 ], | 35 ], |
| 48 }, | 36 }, |
| 49 }, | 37 }, |
| 50 ], | 38 ], |
| 51 } | 39 } |
| OLD | NEW |