scroggo | 3e56227 | 2015-03-25 10:22:41 -0700 | [diff] [blame] | 1 | # Copyright 2015 Google Inc. |
| 2 | # |
| 3 | # Use of this source code is governed by a BSD-style license that can be |
| 4 | # found in the LICENSE file. |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 5 | { |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 6 | 'targets': [ |
| 7 | { |
| 8 | 'target_name': 'xml', |
borenet@google.com | efb1d77 | 2012-10-10 19:45:51 +0000 | [diff] [blame] | 9 | 'product_name': 'skia_xml', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 10 | 'type': 'static_library', |
borenet@google.com | efb1d77 | 2012-10-10 19:45:51 +0000 | [diff] [blame] | 11 | 'standalone_static_library': 1, |
bungeman@google.com | b8f3655 | 2013-07-22 14:39:45 +0000 | [diff] [blame] | 12 | 'dependencies': [ |
| 13 | 'skia_lib.gyp:skia_lib', |
fmalita | 771a190 | 2016-07-14 14:02:24 -0700 | [diff] [blame] | 14 | 'expat.gyp:expat', |
bungeman@google.com | b8f3655 | 2013-07-22 14:39:45 +0000 | [diff] [blame] | 15 | ], |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 16 | 'include_dirs': [ |
fmalita | 7445e86 | 2016-07-14 19:14:06 -0700 | [diff] [blame] | 17 | '<(skia_include_path)/private', |
| 18 | '<(skia_include_path)/xml', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 19 | ], |
| 20 | 'sources': [ |
fmalita | 7445e86 | 2016-07-14 19:14:06 -0700 | [diff] [blame] | 21 | '<(skia_include_path)/xml/SkDOM.h', |
| 22 | '<(skia_include_path)/xml/SkXMLParser.h', |
| 23 | '<(skia_include_path)/xml/SkXMLWriter.h', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 24 | |
fmalita | 7445e86 | 2016-07-14 19:14:06 -0700 | [diff] [blame] | 25 | '<(skia_src_path)/xml/SkDOM.cpp', |
| 26 | '<(skia_src_path)/xml/SkXMLParser.cpp', |
| 27 | '<(skia_src_path)/xml/SkXMLPullParser.cpp', |
| 28 | '<(skia_src_path)/xml/SkXMLWriter.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 29 | ], |
| 30 | 'sources!': [ |
fmalita | 7445e86 | 2016-07-14 19:14:06 -0700 | [diff] [blame] | 31 | # time to kill this? |
| 32 | '<(skia_src_path)/xml/SkXMLPullParser.cpp', #if 0 around class decl in header |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 33 | ], |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 34 | 'direct_dependent_settings': { |
| 35 | 'include_dirs': [ |
| 36 | '../include/xml', |
| 37 | ], |
fmalita | 718df0a | 2016-07-15 10:33:29 -0700 | [diff] [blame^] | 38 | 'defines' : [ |
| 39 | 'SK_XML', |
| 40 | ], |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 41 | }, |
| 42 | }, |
| 43 | ], |
| 44 | } |