| OLD | NEW | 
|   1 # Copyright 2015 Google Inc. |   1 # Copyright 2015 Google Inc. | 
|   2 # |   2 # | 
|   3 # Use of this source code is governed by a BSD-style license that can be |   3 # Use of this source code is governed by a BSD-style license that can be | 
|   4 # found in the LICENSE file. |   4 # found in the LICENSE file. | 
|   5 { |   5 { | 
|   6   'targets': [ |   6   'targets': [ | 
|   7     { |   7     { | 
|   8       'target_name': 'xml', |   8       'target_name': 'xml', | 
|   9       'product_name': 'skia_xml', |   9       'product_name': 'skia_xml', | 
|  10       'type': 'static_library', |  10       'type': 'static_library', | 
|  11       'standalone_static_library': 1, |  11       'standalone_static_library': 1, | 
|  12       'dependencies': [ |  12       'dependencies': [ | 
|  13         'skia_lib.gyp:skia_lib', |  13         'skia_lib.gyp:skia_lib', | 
|  14         'expat.gyp:expat', |  14         'expat.gyp:expat', | 
|  15       ], |  15       ], | 
|  16       'include_dirs': [ |  16       'include_dirs': [ | 
|  17         '<(skia_include_path)/private', |  17         '<(skia_include_path)/private', | 
|  18         '<(skia_include_path)/xml', |  18         '<(skia_include_path)/xml', | 
|  19       ], |  19       ], | 
|  20       'sources': [ |  20       'sources': [ | 
|  21         '<(skia_include_path)/xml/SkDOM.h', |  21         '<(skia_include_path)/xml/SkDOM.h', | 
|  22         '<(skia_include_path)/xml/SkXMLParser.h', |  22         '<(skia_include_path)/xml/SkXMLParser.h', | 
|  23         '<(skia_include_path)/xml/SkXMLWriter.h', |  23         '<(skia_include_path)/xml/SkXMLWriter.h', | 
|  24  |  24  | 
|  25         '<(skia_src_path)/xml/SkDOM.cpp', |  25         '<(skia_src_path)/xml/SkDOM.cpp', | 
|  26         '<(skia_src_path)/xml/SkXMLParser.cpp', |  26         '<(skia_src_path)/xml/SkXMLParser.cpp', | 
|  27         '<(skia_src_path)/xml/SkXMLPullParser.cpp', |  | 
|  28         '<(skia_src_path)/xml/SkXMLWriter.cpp', |  27         '<(skia_src_path)/xml/SkXMLWriter.cpp', | 
|  29       ], |  28       ], | 
|  30       'sources!': [ |  | 
|  31           # time to kill this? |  | 
|  32           '<(skia_src_path)/xml/SkXMLPullParser.cpp', #if 0 around class decl in
     header |  | 
|  33       ], |  | 
|  34       'direct_dependent_settings': { |  29       'direct_dependent_settings': { | 
|  35         'include_dirs': [ |  30         'include_dirs': [ | 
|  36           '../include/xml', |  31           '../include/xml', | 
|  37         ], |  32         ], | 
|  38         'defines' : [ |  33         'defines' : [ | 
|  39           'SK_XML', |  34           'SK_XML', | 
|  40         ], |  35         ], | 
|  41       }, |  36       }, | 
|  42     }, |  37     }, | 
|  43   ], |  38   ], | 
|  44 } |  39 } | 
| OLD | NEW |