OLD | NEW |
1 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 __doc__ = """ | 5 __doc__ = """ |
6 Settings for other components using the libxml library. | 6 Settings for other components using the libxml library. |
7 """ | 7 """ |
8 | 8 |
9 Import("env") | 9 Import("env") |
10 | 10 |
11 env.Append( | 11 env.Append( |
12 CPPPATH = [ | 12 CPPPATH = [ |
13 '$LIBXML_DIR/include', | 13 '$LIBXML_DIR/include', |
14 '$LIBXML_DIR/DerivedSources/include', | 14 '$LIBXML_DIR/DerivedSources/include', |
15 ], | 15 ], |
16 CPPDEFINES = [ | 16 CPPDEFINES = [ |
17 'LIBXML_STATIC', | 17 'LIBXML_STATIC', |
18 ], | 18 ], |
19 LIBS = [ | 19 LIBS = [ |
20 'libxml', | 20 env['XML_LIB'], |
21 ], | 21 ], |
22 ) | 22 ) |
23 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 23 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
24 # Use of this source code is governed by a BSD-style license that can be | 24 # Use of this source code is governed by a BSD-style license that can be |
25 # found in the LICENSE file. | 25 # found in the LICENSE file. |
26 | 26 |
27 __doc__ = """ | 27 __doc__ = """ |
28 Settings for other components using the libxml library. | 28 Settings for other components using the libxml library. |
29 """ | 29 """ |
30 | 30 |
31 Import("env") | 31 Import("env") |
32 | 32 |
33 env.Append( | 33 env.Append( |
34 CPPPATH = [ | 34 CPPPATH = [ |
35 '$LIBXML_DIR/include', | 35 '$LIBXML_DIR/include', |
36 '$LIBXML_DIR/DerivedSources/include', | 36 '$LIBXML_DIR/DerivedSources/include', |
37 ], | 37 ], |
38 CPPDEFINES = [ | 38 CPPDEFINES = [ |
39 'LIBXML_STATIC', | 39 'LIBXML_STATIC', |
40 ], | 40 ], |
41 LIBS = [ | 41 LIBS = [ |
42 'libxml', | 42 env['XML_LIB'], |
43 ], | 43 ], |
44 ) | 44 ) |
OLD | NEW |