Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(453)

Side by Side Diff: third_party/libxml/using_libxml.scons

Issue 11430: Fix use of LOAD= with WantSystemLib()... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 if env.WantSystemLib('libxml'):
12 env.Append(LIBS = ['xml2'])
13 else:
14 env.Append(LIBS = ['libxml'])
15
11 env.Append( 16 env.Append(
12 CPPPATH = [ 17 CPPPATH = [
13 '$LIBXML_DIR/include', 18 '$LIBXML_DIR/include',
14 '$LIBXML_DIR/DerivedSources/include',
15 ],
16 CPPDEFINES = [
17 'LIBXML_STATIC',
18 ],
19 LIBS = [
20 env['XML_LIB'],
21 ],
22 )
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
25 # found in the LICENSE file.
26
27 __doc__ = """
28 Settings for other components using the libxml library.
29 """
30
31 Import("env")
32
33 env.Append(
34 CPPPATH = [
35 '$LIBXML_DIR/include',
36 '$LIBXML_DIR/DerivedSources/include', 19 '$LIBXML_DIR/DerivedSources/include',
37 ], 20 ],
38 CPPDEFINES = [ 21 CPPDEFINES = [
39 'LIBXML_STATIC', 22 'LIBXML_STATIC',
40 ], 23 ],
41 LIBS = [
42 env['XML_LIB'],
43 ],
44 ) 24 )
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698