blob: 6529d0c4711d0a19b9dfe0a182308e31f976188e [file] [log] [blame]
scroggo3e562272015-03-25 10:22:41 -07001# 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.comae85aea2011-05-31 13:50:51 +00005{
epoger@google.comae85aea2011-05-31 13:50:51 +00006 'targets': [
7 {
8 'target_name': 'xml',
borenet@google.comefb1d772012-10-10 19:45:51 +00009 'product_name': 'skia_xml',
epoger@google.comae85aea2011-05-31 13:50:51 +000010 'type': 'static_library',
borenet@google.comefb1d772012-10-10 19:45:51 +000011 'standalone_static_library': 1,
bungeman@google.comb8f36552013-07-22 14:39:45 +000012 'dependencies': [
13 'skia_lib.gyp:skia_lib',
fmalita771a1902016-07-14 14:02:24 -070014 'expat.gyp:expat',
bungeman@google.comb8f36552013-07-22 14:39:45 +000015 ],
epoger@google.comae85aea2011-05-31 13:50:51 +000016 'include_dirs': [
fmalita7445e862016-07-14 19:14:06 -070017 '<(skia_include_path)/private',
18 '<(skia_include_path)/xml',
epoger@google.comae85aea2011-05-31 13:50:51 +000019 ],
20 'sources': [
fmalita7445e862016-07-14 19:14:06 -070021 '<(skia_include_path)/xml/SkDOM.h',
22 '<(skia_include_path)/xml/SkXMLParser.h',
23 '<(skia_include_path)/xml/SkXMLWriter.h',
epoger@google.comae85aea2011-05-31 13:50:51 +000024
fmalita7445e862016-07-14 19:14:06 -070025 '<(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.comae85aea2011-05-31 13:50:51 +000029 ],
30 'sources!': [
fmalita7445e862016-07-14 19:14:06 -070031 # time to kill this?
32 '<(skia_src_path)/xml/SkXMLPullParser.cpp', #if 0 around class decl in header
epoger@google.comae85aea2011-05-31 13:50:51 +000033 ],
epoger@google.comae85aea2011-05-31 13:50:51 +000034 'direct_dependent_settings': {
35 'include_dirs': [
36 '../include/xml',
37 ],
fmalita718df0a2016-07-15 10:33:29 -070038 'defines' : [
39 'SK_XML',
40 ],
epoger@google.comae85aea2011-05-31 13:50:51 +000041 },
42 },
43 ],
44}