diff options
author | sgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-01 22:05:12 +0000 |
---|---|---|
committer | sgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-01 22:05:12 +0000 |
commit | 0fad1f1a74408b939d1b09dcc2f9391544e7e692 (patch) | |
tree | c62164260c26f143c9ae43c32694142a725bc7eb /third_party | |
parent | a9b826af8ef183810c176b9ede4a2934f4678d50 (diff) | |
download | chromium_src-0fad1f1a74408b939d1b09dcc2f9391544e7e692.zip chromium_src-0fad1f1a74408b939d1b09dcc2f9391544e7e692.tar.gz chromium_src-0fad1f1a74408b939d1b09dcc2f9391544e7e692.tar.bz2 |
Remove the checked-in scons configuration files.
Review URL: http://codereview.chromium.org/53121
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12982 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party')
-rw-r--r-- | third_party/bzip2/bzip2.scons | 72 | ||||
-rw-r--r-- | third_party/bzip2/using_bzip2.scons | 14 | ||||
-rw-r--r-- | third_party/libevent/libevent.scons | 76 | ||||
-rw-r--r-- | third_party/libevent/using_libevent.scons | 15 | ||||
-rw-r--r-- | third_party/libjpeg/libjpeg.scons | 143 | ||||
-rw-r--r-- | third_party/libjpeg/using_libjpeg.scons | 18 | ||||
-rw-r--r-- | third_party/libpng/libpng.scons | 97 | ||||
-rw-r--r-- | third_party/libpng/using_libpng.scons | 22 | ||||
-rw-r--r-- | third_party/libxml/libxml.scons | 234 | ||||
-rw-r--r-- | third_party/libxml/using_libxml.scons | 24 | ||||
-rw-r--r-- | third_party/libxslt/libxslt.scons | 189 | ||||
-rw-r--r-- | third_party/libxslt/using_libxslt.scons | 18 | ||||
-rw-r--r-- | third_party/modp_b64/modp_b64.scons | 57 | ||||
-rw-r--r-- | third_party/modp_b64/using_modp_b64.scons | 15 | ||||
-rw-r--r-- | third_party/npapi/using_npapi.scons | 15 | ||||
-rw-r--r-- | third_party/sqlite/SConscript | 135 | ||||
-rw-r--r-- | third_party/zlib/using_zlib.scons | 18 | ||||
-rw-r--r-- | third_party/zlib/zlib.scons | 110 |
18 files changed, 0 insertions, 1272 deletions
diff --git a/third_party/bzip2/bzip2.scons b/third_party/bzip2/bzip2.scons deleted file mode 100644 index 06da657..0000000 --- a/third_party/bzip2/bzip2.scons +++ /dev/null @@ -1,72 +0,0 @@ -# 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__ = """ -Configuration for building bzip2.lib / libbzip2.a. -""" - -Import('env') - -if env.WantSystemLib('bzip2'): - Return() - -env = env.Clone() - -env.Append( - CPPDEFINES = [ - 'BZ_NO_STDIO', - ], -) - -if env.Bit('windows'): - env.Append( - CCFLAGS = [ - '/TC', - '/wd4996', - '/wd4800', - ], - ) - -input_files = ChromeFileList([ - 'blocksort.c', - 'bzlib.c', - 'bzlib.h', - 'bzlib_private.h', - 'compress.c', - 'crctable.c', - 'decompress.c', - 'huffman.c', - 'randtable.c', -]) - -env.ChromeLibrary('bzip2', input_files) - -p = env.ChromeMSVSProject('bzip2.vcproj', - dest='$CHROME_SRC_DIR/third_party/bzip2/bzip2.vcproj', - guid='{2A70CBF0-847E-4E3A-B926-542A656DC7FE}', - # TODO(sgk): when we can intuit the hierarchy - # from the built targets. - #buildtargets=TODO, - files=input_files, - tools=[ - MSVSTool('VCCLCompilerTool', - PreprocessorDefinitions=['BZ_NO_STDIO'], - DisableSpecificWarnings='4996'), - 'VCLibrarianTool', - ], - ConfigurationType='4') - -p.AddConfig('Debug|Win32', - InheritedPropertySheets=[ - '$(SolutionDir)../build/common.vsprops', - '$(SolutionDir)../build/debug.vsprops', - '$(SolutionDir)../build/external_code.vsprops', - ]) - -p.AddConfig('Release|Win32', - InheritedPropertySheets=[ - '$(SolutionDir)../build/common.vsprops', - '$(SolutionDir)../build/release.vsprops', - '$(SolutionDir)../build/external_code.vsprops', - ]) diff --git a/third_party/bzip2/using_bzip2.scons b/third_party/bzip2/using_bzip2.scons deleted file mode 100644 index cbe837c..0000000 --- a/third_party/bzip2/using_bzip2.scons +++ /dev/null @@ -1,14 +0,0 @@ -# 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 bzip2 library. -""" - -Import("env") - -if env.WantSystemLib('bzip2'): - env.Append(LIBS = ['bz2']) -else: - env.Append(LIBS = ['bzip2']) diff --git a/third_party/libevent/libevent.scons b/third_party/libevent/libevent.scons deleted file mode 100644 index f8fc4bf..0000000 --- a/third_party/libevent/libevent.scons +++ /dev/null @@ -1,76 +0,0 @@ -# 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__ = """ -Configuration for building event.lib / libevent.a. - -This is currently only suitable for Linux and Mac. -""" - -Import('env') - -env = env.Clone() - -env.Append( - CPPDEFINES = [ - 'HAVE_CONFIG_H', - ], -) - -if env.Bit('mac'): - env.Prepend( - CPPPATH = [ - '$LIBEVENT_DIR/generated/', - ], - ) - env['ENV']['CONFIGURATION_TEMP_DIR'] = env.Dir('$LIBEVENT_DIR').abspath - env.Command('$LIBEVENT_DIR/generated/config.h', - ['libevent.xcodeproj/libevent_prebuild.sh', 'config.h.in'], - 'sh ${SOURCES[0]} ${SOURCES[1]}') - - -if env.Bit('linux'): - env.Prepend( - CPPPATH = [ - '$LIBEVENT_DIR/linux/', - ], - ) - -env.Prepend( - CPPPATH = [ - '$LIBEVENT_DIR', - '$LIBEVENT_DIR/compat/', - ], -) - -input_files = [ - 'buffer.c', - 'evbuffer.c', - 'evdns.c', - 'event.c', - 'event_tagging.c', - 'evrpc.c', - 'evutil.c', - 'http.c', - 'log.c', - 'poll.c', - 'select.c', - 'signal.c', - 'strlcpy.c', -] - -if env.Bit('linux'): - input_files.extend([ - 'epoll.c', - 'epoll_sub.c', - ]) - -if env.Bit('mac'): - input_files.extend([ - 'kqueue.c', - ]) - - -env.ChromeLibrary('event', input_files) diff --git a/third_party/libevent/using_libevent.scons b/third_party/libevent/using_libevent.scons deleted file mode 100644 index 958c653..0000000 --- a/third_party/libevent/using_libevent.scons +++ /dev/null @@ -1,15 +0,0 @@ -# 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 event library. -""" - -Import("env") - -env.Append( - LIBS = [ - 'event', - ], -) diff --git a/third_party/libjpeg/libjpeg.scons b/third_party/libjpeg/libjpeg.scons deleted file mode 100644 index dd9badf..0000000 --- a/third_party/libjpeg/libjpeg.scons +++ /dev/null @@ -1,143 +0,0 @@ -# Copyright 2008, Google Inc. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# * Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# * Redistributions in binary form must reproduce the above -# copyright notice, this list of conditions and the following disclaimer -# in the documentation and/or other materials provided with the -# distribution. -# * Neither the name of Google Inc. nor the names of its -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -# TODO(keunwoo): Use better cross-platform abstraction; see chrome/SConstruct -Import('env') - -env = env.Clone() - -if env.WantSystemLib('libjpeg'): - Return() - -env.Prepend( - CPPPATH = [ - '$CHROME_SRC_DIR', - ], -) - -if env.Bit('windows'): - env.Append( - CCFLAGS = [ - '/TC', - '/wd4800', - ], - ) -elif env.Bit('linux'): - if '-Wall' in env['CCFLAGS']: - # We're not responsible for bad warning hygiene in this third party code. - env['CCFLAGS'].remove('-Wall') - -input_files = ChromeFileList([ - 'jcapimin.c', - 'jcapistd.c', - 'jccoefct.c', - 'jccolor.c', - 'jcdctmgr.c', - 'jchuff.c', - 'jchuff.h', - 'jcinit.c', - 'jcmainct.c', - 'jcmarker.c', - 'jcmaster.c', - 'jcomapi.c', - 'jconfig.h', - 'jcparam.c', - 'jcphuff.c', - 'jcprepct.c', - 'jcsample.c', - 'jdapimin.c', - 'jdapistd.c', - 'jdatadst.c', - 'jdatasrc.c', - 'jdcoefct.c', - 'jdcolor.c', - 'jdct.h', - 'jddctmgr.c', - 'jdhuff.c', - 'jdhuff.h', - 'jdinput.c', - 'jdmainct.c', - 'jdmarker.c', - 'jdmaster.c', - 'jdmerge.c', - 'jdphuff.c', - 'jdpostct.c', - 'jdsample.c', - 'jerror.c', - 'jerror.h', - 'jfdctflt.c', - 'jfdctfst.c', - 'jfdctint.c', - 'jidctflt.c', - 'jidctfst.c', - 'jidctint.c', - 'jinclude.h', - 'jmemmgr.c', - 'jmemnobs.c', - 'jmemsys.h', - 'jmorecfg.h', - 'jpegint.h', - 'jpeglib.h', - 'jquant1.c', - 'jquant2.c', - 'jutils.c', - 'jversion.h', -]) - -env.ChromeLibrary('libjpeg', input_files) - -p = env.ChromeMSVSProject('libjpeg.vcproj', - dest=('$CHROME_SRC_DIR/third_party/' + - 'libjpeg/libjpeg.vcproj'), - guid='{238CE175-76CE-4A25-A676-69D115885601}', - keyword='Win32Proj', - # TODO(sgk): when we can intuit the hierarchy - # from the built targets. - #buildtargets=TODO, - files=input_files, - relative_path_prefix='./', - tools=[ - 'VCLibrarianTool', - 'VCCLCompilerTool', - ], - ConfigurationType='4') - -p.AddConfig('Debug|Win32', - InheritedPropertySheets=[ - '$(SolutionDir)../build/common.vsprops', - '$(SolutionDir)../build/debug.vsprops', - '$(SolutionDir)../build/external_code.vsprops', - ]) - -p.AddConfig('Release|Win32', - InheritedPropertySheets=[ - '$(SolutionDir)../build/common.vsprops', - '$(SolutionDir)../build/release.vsprops', - '$(SolutionDir)../build/external_code.vsprops', - ]) diff --git a/third_party/libjpeg/using_libjpeg.scons b/third_party/libjpeg/using_libjpeg.scons deleted file mode 100644 index d7449f5..0000000 --- a/third_party/libjpeg/using_libjpeg.scons +++ /dev/null @@ -1,18 +0,0 @@ -# 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 libjpeg library. -""" - -Import("env") - -env.Append( - CPPPATH = [ - '$LIBJPEG_DIR', - ], - LIBS = [ - 'libjpeg', - ], -) diff --git a/third_party/libpng/libpng.scons b/third_party/libpng/libpng.scons deleted file mode 100644 index 0fe71ba..0000000 --- a/third_party/libpng/libpng.scons +++ /dev/null @@ -1,97 +0,0 @@ -# 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__ = """ -Configuration for building libpng.lib / libpng.a. -""" - -Import('env') - -if env.WantSystemLib('libpng'): - Return() - -env = env.Clone() - -env.ApplySConscript([ - '$ZLIB_DIR/using_zlib.scons', -]) - -env.Prepend( - CPPPATH = [ - '$CHROME_SRC_DIR', - ], -) - -if env.Bit('windows'): - env.Append( - CCFLAGS = [ - '/TP', - '/wd4800', - ], - ) - -env.Append( - CPPDEFINES = [ - 'PNG_USER_CONFIG', - 'CHROME_PNG_WRITE_SUPPORT', - ], -) - -input_files = ChromeFileList([ - 'png.c', - 'png.h', - 'pngconf.h', - 'pngerror.c', - 'pnggccrd.c', - 'pngget.c', - 'pngmem.c', - 'pngpread.c', - 'pngread.c', - 'pngrio.c', - 'pngrtran.c', - 'pngrutil.c', - 'pngset.c', - 'pngtrans.c', - 'pngusr.h', - 'pngvcrd.c', - 'pngwio.c', - 'pngwrite.c', - 'pngwtran.c', - 'pngwutil.c', -]) - -env.ChromeLibrary('libpng', input_files) - -p = env.ChromeMSVSProject('libpng.vcproj', - dest=('$CHROME_SRC_DIR/third_party/' - + 'libpng/libpng.vcproj'), - guid='{C564F145-9172-42C3-BFCB-6014CA97DBCD}', - keyword='Win32Proj', - files=input_files, - relative_path_prefix='./', - tools = [ - 'VCLibrarianTool', - 'VCCLCompilerTool', - ]) - -p.AddConfig('Debug|Win32', - ConfigurationType = '4', - InheritedPropertySheets = [ - '$(SolutionDir)../build/common.vsprops', - '$(SolutionDir)../build/debug.vsprops', - '$(SolutionDir)../third_party/zlib/using_zlib.vsprops', - '$(SolutionDir)../build/external_code.vsprops', - '$(SolutionDir)../third_party/libpng/using_libpng.vsprops', - ]) - -p.AddConfig('Release|Win32', - ConfigurationType = '4', - InheritedPropertySheets = [ - '$(SolutionDir)../build/common.vsprops', - '$(SolutionDir)../build/release.vsprops', - '$(SolutionDir)../third_party/zlib/using_zlib.vsprops', - '$(SolutionDir)../build/external_code.vsprops', - '$(SolutionDir)../third_party/libpng/using_libpng.vsprops', - ]) diff --git a/third_party/libpng/using_libpng.scons b/third_party/libpng/using_libpng.scons deleted file mode 100644 index 68b9c3f..0000000 --- a/third_party/libpng/using_libpng.scons +++ /dev/null @@ -1,22 +0,0 @@ -# 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 libpng library. -""" - -Import("env") - -env.Append( - CPPPATH = [ - '$LIBPNG_DIR', - ], - CPPDEFINES = [ - 'PNG_USER_CONFIG', - 'CHROME_PNG_WRITE_SUPPORT', - ], - LIBS = [ - 'libpng', - ], -) diff --git a/third_party/libxml/libxml.scons b/third_party/libxml/libxml.scons deleted file mode 100644 index 63329f7..0000000 --- a/third_party/libxml/libxml.scons +++ /dev/null @@ -1,234 +0,0 @@ -# Copyright 2008, Google Inc. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# * Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# * Redistributions in binary form must reproduce the above -# copyright notice, this list of conditions and the following disclaimer -# in the documentation and/or other materials provided with the -# distribution. -# * Neither the name of Google Inc. nor the names of its -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -Import('env') - -if env.WantSystemLib('libxml'): - Return() - -env = env.Clone() - -env.Prepend( - CPPPATH = [ - '$ICU38_DIR/public/common', - '$ICU38_DIR/public/18n', - '$ZLIB_DIR', - 'DerivedSources', - 'DerivedSources/include', - 'include', - ], - CPPDEFINES = [ - 'U_STATIC_IMPLEMENTATION', - 'LIBXML_STATIC', - ], -) - -if env.Bit('windows'): - env.Append( - CCFLAGS = [ - '/TC', - '/wd4800', - ], - ) -elif env.Bit('linux'): - env.Append( - CPPDEFINES = [ - '_REENTRANT', - ], - ) - if '-Wall' in env['CCFLAGS']: - # We're not responsible for bad warning hygiene in this third party code. - env['CCFLAGS'].remove('-Werror') - - -input_files = ChromeFileList([ - # TODO(sgk): violate standard indentation so we don't have to - # reindent too much when we remove the explicit MSVSFilter() calls - # in favor of generating the hierarchy to reflect the file system. - MSVSFilter('include', [ - 'include/win32config.h', - 'include/wsockcompat.h', - MSVSFilter('libxml', [ - 'include/libxml/c14n.h', - 'include/libxml/catalog.h', - 'include/libxml/chvalid.h', - 'include/libxml/debugXML.h', - 'include/libxml/dict.h', - 'include/libxml/DOCBparser.h', - 'include/libxml/encoding.h', - 'include/libxml/entities.h', - 'include/libxml/globals.h', - 'include/libxml/hash.h', - 'include/libxml/HTMLparser.h', - 'include/libxml/HTMLtree.h', - 'include/libxml/list.h', - 'include/libxml/nanoftp.h', - 'include/libxml/nanohttp.h', - 'include/libxml/parser.h', - 'include/libxml/parserInternals.h', - 'include/libxml/pattern.h', - 'include/libxml/relaxng.h', - 'include/libxml/SAX.h', - 'include/libxml/SAX2.h', - 'include/libxml/schemasInternals.h', - 'include/libxml/schematron.h', - 'include/libxml/threads.h', - 'include/libxml/tree.h', - 'include/libxml/uri.h', - 'include/libxml/valid.h', - 'include/libxml/xinclude.h', - 'include/libxml/xlink.h', - 'include/libxml/xmlautomata.h', - 'include/libxml/xmlerror.h', - 'include/libxml/xmlexports.h', - 'include/libxml/xmlIO.h', - 'include/libxml/xmlmemory.h', - 'include/libxml/xmlmodule.h', - 'include/libxml/xmlreader.h', - 'include/libxml/xmlregexp.h', - 'include/libxml/xmlsave.h', - 'include/libxml/xmlschemas.h', - 'include/libxml/xmlschemastypes.h', - 'include/libxml/xmlstring.h', - 'include/libxml/xmlunicode.h', - 'include/libxml/xmlversion.h', - 'include/libxml/xmlwriter.h', - 'include/libxml/xpath.h', - 'include/libxml/xpathInternals.h', - 'include/libxml/xpointer.h', - ]), - ]), - 'acconfig.h', - 'c14n.c', - 'catalog.c', - 'chvalid.c', - 'config.h', - 'debugXML.c', - 'dict.c', - 'DOCBparser.c', - 'elfgcchack.h', - 'encoding.c', - 'entities.c', - 'error.c', - 'globals.c', - 'hash.c', - 'HTMLparser.c', - 'HTMLtree.c', - 'legacy.c', - 'libxml.h', - 'list.c', - 'nanoftp.c', - 'nanohttp.c', - 'parser.c', - 'parserInternals.c', - 'pattern.c', - 'relaxng.c', - 'SAX.c', - 'SAX2.c', - 'schematron.c', - 'threads.c', - 'tree.c', - 'uri.c', - 'valid.c', - 'xinclude.c', - 'xlink.c', - 'xmlIO.c', - 'xmlmemory.c', - 'xmlmodule.c', - 'xmlreader.c', - 'xmlregexp.c', - 'xmlsave.c', - 'xmlschemas.c', - 'xmlschemastypes.c', - 'xmlstring.c', - 'xmlunicode.c', - 'xmlwriter.c', - 'xpath.c', - 'xpointer.c', -]) - -env.ChromeLibrary('libxml', input_files) - -p = env.ChromeMSVSProject('$LIBXML_DIR/build/libxml.vcproj', - dest=('$CHROME_SRC_DIR/third_party/libxml/' + - '/build/libxml.vcproj'), - guid='{F9810DE8-CBC3-4605-A7B1-ECA2D5292FD7}', - keyword='Win32Proj', - # TODO(sgk): when we can intuit the hierarchy - # from the built targets. - #buildtargets=TODO, - files=input_files, - tools=[ - 'VCPreBuildEventTool', - 'VCCustomBuildTool', - 'VCXMLDataGeneratorTool', - 'VCWebServiceProxyGeneratorTool', - 'VCMIDLTool', - 'VCCLCompilerTool', - 'VCManagedResourceCompilerTool', - 'VCResourceCompilerTool', - 'VCPreLinkEventTool', - 'VCLibrarianTool', - 'VCALinkTool', - 'VCXDCMakeTool', - 'VCBscMakeTool', - 'VCFxCopTool', - 'VCPostBuildEventTool', - ], - ConfigurationType='4') - -p.AddConfig('Debug|Win32', - InheritedPropertySheets=[ - '$(SolutionDir)../build/debug.vsprops', - './libxml.vsprops', - ]) - -p.AddConfig('Release|Win32', - InheritedPropertySheets=[ - '$(SolutionDir)../build/release.vsprops', - './libxml.vsprops', - ]) - -if env.Bit('windows'): - config_files = [ - 'config.h', - 'include/libxml/xmlversion.h', - ] - for cf in config_files: - result = env.Command('DerivedSources/' + cf, 'win32/' + cf, - Copy('$TARGET', '$SOURCE')) -elif env.Bit('linux'): - config_files = [ - 'config.h', - 'include/libxml/xmlversion.h', - 'xml2-config', - ] - for cf in config_files: - result = env.Command('DerivedSources/' + cf, 'linux/' + cf, - Copy('$TARGET', '$SOURCE')) diff --git a/third_party/libxml/using_libxml.scons b/third_party/libxml/using_libxml.scons deleted file mode 100644 index 709520f..0000000 --- a/third_party/libxml/using_libxml.scons +++ /dev/null @@ -1,24 +0,0 @@ -# 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") - -if env.WantSystemLib('libxml'): - env.Append(LIBS = ['xml2']) -else: - env.Append(LIBS = ['libxml']) - -env.Append( - CPPPATH = [ - '$LIBXML_DIR/include', - '$LIBXML_DIR/DerivedSources/include', - ], - CPPDEFINES = [ - 'LIBXML_STATIC', - ], -) diff --git a/third_party/libxslt/libxslt.scons b/third_party/libxslt/libxslt.scons deleted file mode 100644 index 0a9337b..0000000 --- a/third_party/libxslt/libxslt.scons +++ /dev/null @@ -1,189 +0,0 @@ -# Copyright 2008, Google Inc. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# * Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# * Redistributions in binary form must reproduce the above -# copyright notice, this list of conditions and the following disclaimer -# in the documentation and/or other materials provided with the -# distribution. -# * Neither the name of Google Inc. nor the names of its -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -Import('env') - -env = env.Clone() - -if env.WantSystemLib('libxslt'): - Return() - -env.Prepend( - CPPPATH = [ - '$LIBXML_DIR/DerivedSources/include', - '$LIBXML_DIR/include', - '$ICU38_DIR/public/common', - '$ICU38_DIR/public/18n', - '$ZLIB_DIR', - 'scons', - '.', - '../', - ], -) - -env.Append( - CPPDEFINES = [ - 'U_STATIC_IMPLEMENTATION', - 'LIBXML_STATIC', - 'LIBXSLT_STATIC', - ], -) - -if env.Bit('windows'): - env.Append( - CCFLAGS = [ - '/TC', - '/wd4800', - ], - ) - - -input_files = ChromeFileList([ - MSVSFilter('libxslt', [ - 'libxslt/attributes.c', - 'libxslt/attributes.h', - 'libxslt/attrvt.c', - 'libxslt/documents.c', - 'libxslt/documents.h', - 'libxslt/extensions.c', - 'libxslt/extensions.h', - 'libxslt/extra.c', - 'libxslt/extra.h', - 'libxslt/functions.c', - 'libxslt/functions.h', - 'libxslt/imports.c', - 'libxslt/imports.h', - 'libxslt/keys.c', - 'libxslt/keys.h', - 'libxslt/libxslt.h', - 'libxslt/namespaces.c', - 'libxslt/namespaces.h', - 'libxslt/numbers.c', - 'libxslt/numbersInternals.h', - 'libxslt/pattern.c', - 'libxslt/pattern.h', - 'libxslt/preproc.c', - 'libxslt/preproc.h', - 'libxslt/security.c', - 'libxslt/security.h', - 'libxslt/templates.c', - 'libxslt/templates.h', - 'libxslt/transform.c', - 'libxslt/transform.h', - 'libxslt/trio.h', - 'libxslt/triodef.h', - 'libxslt/variables.c', - 'libxslt/variables.h', - 'libxslt/win32config.h', - 'libxslt/xslt.c', - 'libxslt/xslt.h', - 'libxslt/xsltconfig.h', - 'libxslt/xsltexports.h', - 'libxslt/xsltInternals.h', - 'libxslt/xsltutils.c', - 'libxslt/xsltutils.h', - 'libxslt/xsltwin32config.h', - ]), -]) - -env.ChromeLibrary('libxslt', input_files) - -p = env.ChromeMSVSProject('build/libxslt.vcproj', - dest=('$CHROME_SRC_DIR/third_party/libxslt' + - '/build/libxslt.vcproj'), - guid='{FC0E1FD0-5DD7-4041-A1C9-CD3C376E4EED}', - dependencies = [ - '$LIBXML_DIR/build/libxml.vcproj', - ], - keyword='Win32Proj', - # TODO(sgk): when we can intuit the hierarchy - # from the built targets. - #buildtargets=TODO, - files=input_files, - tools=[ - 'VCLibrarianTool', - 'VCCLCompilerTool', - ], - ConfigurationType='4') - -p.AddConfig('Debug|Win32', - InheritedPropertySheets=[ - '$(SolutionDir)../build/debug.vsprops', - './libxslt.vsprops', - ]) - -p.AddConfig('Release|Win32', - InheritedPropertySheets=[ - '$(SolutionDir)../build/release.vsprops', - './libxslt.vsprops', - ]) - -if env.Bit('windows'): - config_files = [ - # The configure.js script must be first in this list; the - # env.Command() call below executes the first list element. - - 'win32/configure.js', - 'win32/Makefile.msvc', - - 'config.h.in', - 'configure.in', - 'libexslt.pc.in', - 'libxslt.pc.in', - 'libxslt.spec.in', - 'xslt-config.in', - 'xsltConf.sh.in', - - 'libexslt/exsltconfig.h.in', - - 'libxslt/xsltconfig.h.in', - 'libxslt/xsltwin32config.h.in', - 'libxslt/win32config.h', - ] - - copied_sources = [] - for cf in config_files: - result = env.Command('scons/' + cf, cf, Copy('$TARGET', '$SOURCE')) - copied_sources.extend(result) - - env.Command(['scons/config.h'], - copied_sources, - 'cd ${SOURCE.dir} && $CSCRIPT ${SOURCE.file} $CONFIG_OPTIONS', - CONFIG_OPTIONS='compiler=msvc') -elif env.Bit('linux'): - config_files = [ - 'config.h', - 'xslt-config', - 'libexslt/exsltconfig.h', - 'libxslt/xsltconfig.h', - 'libxslt/xsltwin32config.h', - ] - for cf in config_files: - result = env.Command('scons/' + cf, 'linux/' + cf, - Copy('$TARGET', '$SOURCE')) diff --git a/third_party/libxslt/using_libxslt.scons b/third_party/libxslt/using_libxslt.scons deleted file mode 100644 index 3e2146a..0000000 --- a/third_party/libxslt/using_libxslt.scons +++ /dev/null @@ -1,18 +0,0 @@ -# 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 libxslt library. -""" - -Import("env") - -env.Append( - CPPPATH = [ - '$LIBXSLT_DIR', - ], - LIBS = [ - 'libxslt', - ], -) diff --git a/third_party/modp_b64/modp_b64.scons b/third_party/modp_b64/modp_b64.scons deleted file mode 100644 index 15919c7..0000000 --- a/third_party/modp_b64/modp_b64.scons +++ /dev/null @@ -1,57 +0,0 @@ -# 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__ = """ -Configuration for building modp_b64.lib / libmodp_b64.a. -""" - -Import('env') - -env = env.Clone( - PDB = 'vc80.pdb', -) - -env.Prepend( - CPPPATH = [ - '$CHROME_SRC_DIR', - ], -) - -input_files = ChromeFileList([ - 'modp_b64.cc', - 'modp_b64.h', - 'modp_b64_data.h', -]) - -env.ChromeLibrary('modp_b64', input_files) - -p = env.ChromeMSVSProject('modp_b64.vcproj', - dest=('$CHROME_SRC_DIR/third_party/' + - 'modp_b64/modp_b64.vcproj'), - guid='{7100F41F-868D-4E99-80A2-AF8E6574749D}', - keyword='Win32Proj', - # TODO(sgk): when we can intuit the hierarchy - # from the built targets. - #buildtargets=TODO, - files=input_files, - relative_path_prefix='./', - tools=[ - 'VCCLCompilerTool', - 'VCLibrarianTool', - ], - ConfigurationType='4') - -p.AddConfig('Debug|Win32', - InheritedPropertySheets=[ - '$(SolutionDir)../build/common.vsprops', - '$(SolutionDir)../build/debug.vsprops', - '$(SolutionDir)../build/external_code.vsprops', - ]) - -p.AddConfig('Release|Win32', - InheritedPropertySheets=[ - '$(SolutionDir)../build/common.vsprops', - '$(SolutionDir)../build/release.vsprops', - '$(SolutionDir)../build/external_code.vsprops', - ]) diff --git a/third_party/modp_b64/using_modp_b64.scons b/third_party/modp_b64/using_modp_b64.scons deleted file mode 100644 index f4637db..0000000 --- a/third_party/modp_b64/using_modp_b64.scons +++ /dev/null @@ -1,15 +0,0 @@ -# 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 modp_b64 library. -""" - -Import("env") - -env.Append( - LIBS = [ - 'modp_b64', - ], -) diff --git a/third_party/npapi/using_npapi.scons b/third_party/npapi/using_npapi.scons deleted file mode 100644 index 0e7fc73..0000000 --- a/third_party/npapi/using_npapi.scons +++ /dev/null @@ -1,15 +0,0 @@ -# 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 NPAPI. -""" - -Import("env") - -env.Append( - CPPPATH = [ - '$NPAPI_DIR', - ], -) diff --git a/third_party/sqlite/SConscript b/third_party/sqlite/SConscript deleted file mode 100644 index 633c5dd..0000000 --- a/third_party/sqlite/SConscript +++ /dev/null @@ -1,135 +0,0 @@ -# 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. - -Import('env') - -env = env.Clone() - -env.Prepend( - CPPPATH = [ - '$ICU38_DIR/public/common', - '$ICU38_DIR/public/i18n', - '$CHROME_SRC_DIR', - 'preprocessed', - 'src', - ], -) - -env.Append( - CPPDEFINES = [ - 'U_STATIC_IMPLEMENTATION', - - 'SQLITE_ENABLE_FTS2', - 'SQLITE_ENABLE_BROKEN_FTS2', - 'SQLITE_ENABLE_ICU', - 'SQLITE_SECURE_DELETE', - 'THREADSAFE', - ['_HAS_EXCEPTIONS', '0'], - ], -) - -input_files = ChromeFileList([ - 'src/alter.c', - 'src/analyze.c', - 'src/attach.c', - 'src/auth.c', - 'src/bitvec.c', - 'src/btmutex.c', - 'src/btree.c', - 'src/btree.h', - 'src/btreeInt.h', - 'src/build.c', - 'src/callback.c', - 'src/complete.c', - 'src/date.c', - 'src/delete.c', - 'src/expr.c', - 'src/fault.c', - 'ext/fts2/fts2.c', - 'ext/fts2/fts2.h', - 'ext/fts2/fts2_hash.c', - 'ext/fts2/fts2_hash.h', - 'ext/fts2/fts2_icu.c', - 'ext/fts2/fts2_porter.c', - 'ext/fts2/fts2_tokenizer.c', - 'ext/fts2/fts2_tokenizer.h', - 'ext/fts2/fts2_tokenizer1.c', - 'src/func.c', - 'src/global.c', - 'src/hash.c', - 'src/hash.h', - 'ext/icu/icu.c', - 'src/insert.c', - 'preprocessed/keywordhash.h', - 'src/legacy.c', - 'src/loadext.c', - 'src/main.c', - 'src/malloc.c', - 'src/mem1.c', - 'src/mem2.c', - 'src/mem3.c', - 'src/mem4.c', - 'src/mem5.c', - 'src/mem6.c', - 'src/mutex.c', - 'src/mutex.h', - 'src/mutex_unix.c', - 'preprocessed/opcodes.c', - 'preprocessed/opcodes.h', - 'src/os.c', - 'src/os.h', - 'src/os_common.h', - 'src/os_unix.c', - 'src/pager.c', - 'src/pager.h', - 'preprocessed/parse.c', - 'preprocessed/parse.h', - 'src/pragma.c', - 'src/prepare.c', - 'src/printf.c', - 'src/random.c', - 'src/select.c', - 'preprocessed/sqlite3.h', - 'src/sqlite3ext.h', - 'src/sqliteInt.h', - 'src/sqliteLimit.h', - 'src/status.c', - 'src/table.c', - 'src/tokenize.c', - 'src/trigger.c', - 'src/update.c', - 'src/utf.c', - 'src/util.c', - 'src/vacuum.c', - 'src/vdbe.c', - 'src/vdbe.h', - 'src/vdbeapi.c', - 'src/vdbeaux.c', - 'src/vdbeblob.c', - 'src/vdbefifo.c', - 'src/vdbeInt.h', - 'src/vdbemem.c', - 'src/vtab.c', - 'src/where.c', -]) - -sqlite_lib = env.ChromeLibrary('sqlite', input_files) - -# Build a stand alone sqlite shell so we can inspect the sqlite files. -env_shell = env.Clone() - -shell_input_files = [ - 'src/shell.c', - 'src/shell_icu_linux.c', -] - -env_shell.Append( - LIBS = [ - 'icu', - 'sqlite', - 'stdc++', - ] -) - -env_shell.ChromeProgram('sqlite_shell', shell_input_files) diff --git a/third_party/zlib/using_zlib.scons b/third_party/zlib/using_zlib.scons deleted file mode 100644 index 60bceb7..0000000 --- a/third_party/zlib/using_zlib.scons +++ /dev/null @@ -1,18 +0,0 @@ -# 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 zlib library. -""" - -Import("env") - -env.Append( - CPPPATH = [ - '$ZLIB_DIR', - ], - LIBS = [ - 'zlib', - ], -) diff --git a/third_party/zlib/zlib.scons b/third_party/zlib/zlib.scons deleted file mode 100644 index 8280864..0000000 --- a/third_party/zlib/zlib.scons +++ /dev/null @@ -1,110 +0,0 @@ -# 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__ = """ -Configuration for building zlib.lib / libzlib.a. -""" - -Import('env') - -if env.WantSystemLib('zlib'): - env.Append(ZLIB_LIB = ['z']) - Return() - -env = env.Clone() - -env.Append( - CPPPATH = ['$ZLIB_DIR'], - ZLIB_LIB = ['zlib'], -) - -if env.Bit('windows'): - env.Append( - CCFLAGS = [ - '/TC', - '/wd4800', - ], - ) - -minizip_filter = MSVSFilter('minizip', [ - 'contrib/minizip/ioapi.c', - 'contrib/minizip/ioapi.h', - 'contrib/minizip/iowin32.c', - 'contrib/minizip/iowin32.h', - 'contrib/minizip/unzip.c', - 'contrib/minizip/unzip.h' -]) - -input_files = ChromeFileList([ - minizip_filter, - - 'adler32.c', - 'compress.c', - 'crc32.c', - 'crc32.h', - 'deflate.c', - 'deflate.h', - 'gzio.c', - 'infback.c', - 'inffast.c', - 'inffast.h', - 'inffixed.h', - 'inflate.c', - 'inflate.h', - 'inftrees.c', - 'inftrees.h', - 'mozzconf.h', - 'trees.c', - 'trees.h', - 'uncompr.c', - 'zconf.h', - 'zlib.h', - 'zutil.c', - 'zutil.h', -]) - -if not env.Bit('windows'): - input_files.Remove( - 'contrib/minizip/iowin32.c', - 'contrib/minizip/iowin32.h', - ) - -if env.Bit('posix'): - env.Append( - CCFLAGS = [ - '-Wno-parentheses', - '-Wno-unused-variable', - ], - ) - -env.ChromeLibrary('zlib', input_files) - -p = env.ChromeMSVSProject('zlib.vcproj', - dest='$CHROME_SRC_DIR/third_party/zlib/zlib.vcproj', - guid='{8423AF0D-4B88-4EBF-94E1-E4D00D00E21C}', - keyword='Win32Proj', - files=input_files, - relative_path_prefix=r'./', - tools = [ - 'VCLibrarianTool', - 'VCCLCompilerTool', - ]) - -p.AddConfig('Debug|Win32', - ConfigurationType = '4', - InheritedPropertySheets = [ - '$(SolutionDir)../build/common.vsprops', - '$(SolutionDir)../build/debug.vsprops', - '$(SolutionDir)../build/external_code.vsprops', - './zlib.vsprops' - ]) - -p.AddConfig('Release|Win32', - ConfigurationType = '4', - InheritedPropertySheets = [ - '$(SolutionDir)../build/common.vsprops', - '$(SolutionDir)../build/release.vsprops', - '$(SolutionDir)../build/external_code.vsprops', - './zlib.vsprops' - ]) |