epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 1 | { |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 2 | 'targets': [ |
| 3 | { |
| 4 | 'target_name': 'xml', |
| 5 | 'type': 'static_library', |
| 6 | 'include_dirs': [ |
bungeman@google.com | 5a64e58 | 2012-03-29 14:51:56 +0000 | [diff] [blame] | 7 | '../include/config', |
| 8 | '../include/core', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 9 | '../include/xml', |
bungeman@google.com | 5a64e58 | 2012-03-29 14:51:56 +0000 | [diff] [blame] | 10 | '../include/utils', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 11 | ], |
| 12 | 'sources': [ |
| 13 | '../include/xml/SkBML_WXMLParser.h', |
| 14 | '../include/xml/SkBML_XMLParser.h', |
| 15 | '../include/xml/SkDOM.h', |
| 16 | '../include/xml/SkJS.h', |
| 17 | '../include/xml/SkXMLParser.h', |
| 18 | '../include/xml/SkXMLWriter.h', |
| 19 | |
| 20 | '../src/xml/SkBML_Verbs.h', |
| 21 | '../src/xml/SkBML_XMLParser.cpp', |
| 22 | '../src/xml/SkDOM.cpp', |
| 23 | '../src/xml/SkJS.cpp', |
| 24 | '../src/xml/SkJSDisplayable.cpp', |
| 25 | '../src/xml/SkXMLParser.cpp', |
| 26 | '../src/xml/SkXMLPullParser.cpp', |
| 27 | '../src/xml/SkXMLWriter.cpp', |
| 28 | ], |
| 29 | 'sources!': [ |
| 30 | '../src/xml/SkXMLPullParser.cpp', #if 0 around class decl in header |
| 31 | ], |
| 32 | 'conditions': [ |
djsollen@google.com | 5862929 | 2011-11-03 13:08:29 +0000 | [diff] [blame] | 33 | [ 'skia_os in ["win", "mac", "linux", "freebsd", "openbsd", "solaris", "android"]', { |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 34 | 'sources!': [ |
| 35 | # no jsapi.h by default on system |
| 36 | '../include/xml/SkJS.h', |
| 37 | '../src/xml/SkJS.cpp', |
| 38 | '../src/xml/SkJSDisplayable.cpp', |
| 39 | ], |
| 40 | }], |
| 41 | ], |
| 42 | 'direct_dependent_settings': { |
| 43 | 'include_dirs': [ |
| 44 | '../include/xml', |
| 45 | ], |
| 46 | }, |
| 47 | }, |
| 48 | ], |
| 49 | } |
| 50 | |
| 51 | # Local Variables: |
| 52 | # tab-width:2 |
| 53 | # indent-tabs-mode:nil |
| 54 | # End: |
| 55 | # vim: set expandtab tabstop=2 shiftwidth=2: |