diff options
author | sgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-03 06:27:57 +0000 |
---|---|---|
committer | sgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-03 06:27:57 +0000 |
commit | 5d6c69626c90ffce59fcb13eb8e66a29d400907b (patch) | |
tree | 38886242d045dc2b5a6e928c7726fa16789a2766 /third_party/libxml | |
parent | 38d8d15aa79cbb9cd08ddfa11b3121121f44f84f (diff) | |
download | chromium_src-5d6c69626c90ffce59fcb13eb8e66a29d400907b.zip chromium_src-5d6c69626c90ffce59fcb13eb8e66a29d400907b.tar.gz chromium_src-5d6c69626c90ffce59fcb13eb8e66a29d400907b.tar.bz2 |
Refactor building unit_tests with SCons for the new structure:
* Rename SConscript.unit_tests to test/unit/unit_tests.scons.
* Add a new chrome/chrome.scons "master" for building everything
chrome. Have it just load the existing SConscript file, and
the new test/unit/unit_tests.scons file. We'll move things from
SConscript (or elsewhere) into chrome.scons as they get convertd.
* Change build/SConscript.main to load chrome/chrome.scons.
* Add new using_libjpeg.scons, using_libxml.scons, and using_libxslt.scons
"properties" files.
* Convert test/unit/unit_tests.scons to use the available using_*.scons files.
* Combine settings that were scattered throught test/unit/unit_tests.scons
to make it a little more readable.
* Add $CHROME_DIR/ to the beginning of the file listed in
test/unit/unit_tests.scons, since they're now being interpreted
from a SConscript file down two directory levels.
Review URL: http://codereview.chromium.org/9005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4448 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/libxml')
-rw-r--r-- | third_party/libxml/using_libxml.scons | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/third_party/libxml/using_libxml.scons b/third_party/libxml/using_libxml.scons new file mode 100644 index 0000000..7c7d7da --- /dev/null +++ b/third_party/libxml/using_libxml.scons @@ -0,0 +1,44 @@ +# Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +__doc__ = """ +Settings for other components using the libxml library. +""" + +Import("env") + +env.Append( + CPPPATH = [ + '$LIBXML_DIR/include', + '$LIBXML_DIR/DerivedSources/include', + ], + CPPDEFINES = [ + 'LIBXML_STATIC', + ], + LIBS = [ + 'libxml', + ], +) +# Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +__doc__ = """ +Settings for other components using the libxml library. +""" + +Import("env") + +env.Append( + CPPPATH = [ + '$LIBXML_DIR/include', + '$LIBXML_DIR/DerivedSources/include', + ], + CPPDEFINES = [ + 'LIBXML_STATIC', + ], + LIBS = [ + 'libxml', + ], +) |