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', |
fmalita | 7445e86 | 2016-07-14 19:14:06 -0700 | [diff] [blame] | 27 | '<(skia_src_path)/xml/SkXMLWriter.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 28 | ], |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 29 | 'direct_dependent_settings': { |
| 30 | 'include_dirs': [ |
| 31 | '../include/xml', |
| 32 | ], |
fmalita | 718df0a | 2016-07-15 10:33:29 -0700 | [diff] [blame] | 33 | 'defines' : [ |
| 34 | 'SK_XML', |
| 35 | ], |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 36 | }, |
| 37 | }, |
| 38 | ], |
| 39 | } |