OLD | NEW |
(Empty) | |
| 1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 5 { |
| 6 'variables': { |
| 7 'conditions': [ |
| 8 ['OS=="linux"', {'os_include': 'linux'}], |
| 9 ['OS=="mac"', {'os_include': 'mac'}], |
| 10 ['OS=="win"', {'os_include': 'win32'}], |
| 11 ], |
| 12 }, |
| 13 'includes': [ |
| 14 '../../build/common.gypi', |
| 15 ], |
| 16 'targets': [ |
| 17 { |
| 18 'target_name': 'libxslt', |
| 19 'type': 'static_library', |
| 20 'sources': [ |
| 21 'libxslt/attributes.c', |
| 22 'libxslt/attributes.h', |
| 23 'libxslt/attrvt.c', |
| 24 'libxslt/documents.c', |
| 25 'libxslt/documents.h', |
| 26 'libxslt/extensions.c', |
| 27 'libxslt/extensions.h', |
| 28 'libxslt/extra.c', |
| 29 'libxslt/extra.h', |
| 30 'libxslt/functions.c', |
| 31 'libxslt/functions.h', |
| 32 'libxslt/imports.c', |
| 33 'libxslt/imports.h', |
| 34 'libxslt/keys.c', |
| 35 'libxslt/keys.h', |
| 36 'libxslt/libxslt.h', |
| 37 'libxslt/namespaces.c', |
| 38 'libxslt/namespaces.h', |
| 39 'libxslt/numbers.c', |
| 40 'libxslt/numbersInternals.h', |
| 41 'libxslt/pattern.c', |
| 42 'libxslt/pattern.h', |
| 43 'libxslt/preproc.c', |
| 44 'libxslt/preproc.h', |
| 45 'libxslt/security.c', |
| 46 'libxslt/security.h', |
| 47 'libxslt/templates.c', |
| 48 'libxslt/templates.h', |
| 49 'libxslt/transform.c', |
| 50 'libxslt/transform.h', |
| 51 'libxslt/trio.h', |
| 52 'libxslt/triodef.h', |
| 53 'libxslt/variables.c', |
| 54 'libxslt/variables.h', |
| 55 'libxslt/win32config.h', |
| 56 'libxslt/xslt.c', |
| 57 'libxslt/xslt.h', |
| 58 'libxslt/xsltconfig.h', |
| 59 'libxslt/xsltexports.h', |
| 60 'libxslt/xsltInternals.h', |
| 61 'libxslt/xsltutils.c', |
| 62 'libxslt/xsltutils.h', |
| 63 'libxslt/xsltwin32config.h', |
| 64 'linux/config.h', |
| 65 'mac/config.h', |
| 66 # TODO(port): Need a pregenerated win32/config.h? |
| 67 ], |
| 68 'defines': [ |
| 69 'LIBXSLT_STATIC', |
| 70 ], |
| 71 'include_dirs': [ |
| 72 '<(os_include)', |
| 73 '.', |
| 74 ], |
| 75 'dependencies': [ |
| 76 '../libxml/libxml.gyp:libxml', |
| 77 ], |
| 78 'direct_dependent_settings': { |
| 79 'defines': [ |
| 80 'LIBXSLT_STATIC', |
| 81 ], |
| 82 'include_dirs': [ |
| 83 '.', |
| 84 ], |
| 85 }, |
| 86 'conditions': [ |
| 87 ['OS!="win"', {'product_name': 'xslt'}], |
| 88 ], |
| 89 }, |
| 90 ], |
| 91 } |
OLD | NEW |