summaryrefslogtreecommitdiffstats
path: root/third_party/libxml
diff options
context:
space:
mode:
authorsgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-27 00:35:08 +0000
committersgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-27 00:35:08 +0000
commita08682513accd76f09e46283ca9850e47eb04516 (patch)
treef66c620a986bc88c96b8ce1098bb3763ac4fe5de /third_party/libxml
parenta2eb164258e813b983663b21167d4a57b8b54da0 (diff)
downloadchromium_src-a08682513accd76f09e46283ca9850e47eb04516.zip
chromium_src-a08682513accd76f09e46283ca9850e47eb04516.tar.gz
chromium_src-a08682513accd76f09e46283ca9850e47eb04516.tar.bz2
Generation of .vcproj files for remaining third_party components.
Updates the .vcproj files themselves for stylistic consistency with the rest. Affected .vcproj files: * No change (byte-for-byte identical): third_party\libxml\build\libxml.vcproj third_party\bsdiff\bsdiff.vcproj third_party\sqlite\sqlite.vcproj * Add empty <ToolFiles>, <References> and <Globals> sections: third_party\libxslt\build\libxslt.vcproj third_party\bspatch\bspatch.vcproj third_party\bzip2\bzip2.vcproj third_party\lzma\7z_C.vcproj third_party\modp_b64\modp_b64.vcproj third_party\libjpeg\libjpeg.vcproj * Add explicit RootNamspace attribute: third_party\bzip2\bzip2.vcproj * Reorder DisableSpecificWarnings and PreprocessorDefinitions attributes in VCCLCompilerTool: third_party\bzip2\bzip2.vcproj Review URL: http://codereview.chromium.org/18785 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8688 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/libxml')
-rw-r--r--third_party/libxml/libxml.scons108
1 files changed, 99 insertions, 9 deletions
diff --git a/third_party/libxml/libxml.scons b/third_party/libxml/libxml.scons
index 438e3fd..63329f7 100644
--- a/third_party/libxml/libxml.scons
+++ b/third_party/libxml/libxml.scons
@@ -67,13 +67,72 @@ elif env.Bit('linux'):
env['CCFLAGS'].remove('-Werror')
-input_files = [
+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',
@@ -82,6 +141,7 @@ input_files = [
'HTMLparser.c',
'HTMLtree.c',
'legacy.c',
+ 'libxml.h',
'list.c',
'nanoftp.c',
'nanohttp.c',
@@ -111,19 +171,49 @@ input_files = [
'xmlwriter.c',
'xpath.c',
'xpointer.c',
-]
+])
env.ChromeLibrary('libxml', input_files)
-env.ChromeMSVSProject('$LIBXML_DIR/build/libxml.vcproj',
- dependencies = [
- '$LIBXML_DIR/build/libxml_config.vcproj',
- ],
- guid='{F9810DE8-CBC3-4605-A7B1-ECA2D5292FD7}')
+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')
-env.ChromeMSVSProject('$LIBXML_DIR/build/libxml_config.vcproj',
- guid='{31D88CBF-DC28-47A8-8838-BF81D528EE74}')
+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 = [