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

Unified Diff: third_party/zlib/zlib.scons

Issue 16447: Initial subset of .vcproj file generation, covering generation of:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/scons/scons-local/SCons/Node/FS.py ('k') | webkit/webkit_sln.scons » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/zlib/zlib.scons
===================================================================
--- third_party/zlib/zlib.scons (revision 7407)
+++ third_party/zlib/zlib.scons (working copy)
@@ -26,22 +26,61 @@
],
)
-input_files = [
+input_files = ChromeFileList([
'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',
+])
env.ChromeStaticLibrary('zlib', input_files)
-env.ChromeMSVSProject('$ZLIB_DIR/zlib.vcproj',
- guid='{8423AF0D-4B88-4EBF-94E1-E4D00D00E21C}')
+p = env.ChromeMSVSProject('zlib.vcproj',
+ guid='{8423AF0D-4B88-4EBF-94E1-E4D00D00E21C}',
+ 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',
+ ])
+
+p.AddConfig('Release|Win32',
+ ConfigurationType = '4',
+ InheritedPropertySheets = [
+ '$(SolutionDir)../build/common.vsprops',
+ '$(SolutionDir)../build/release.vsprops',
+ '$(SolutionDir)../build/external_code.vsprops',
+ ])
+
+env.AlwaysBuild(p)
+
+i = env.Command('$CHROME_SRC_DIR/third_party/zlib/zlib.vcproj', p,
+ Copy('$TARGET', '$SOURCE'))
+Alias('msvs', i)
« no previous file with comments | « third_party/scons/scons-local/SCons/Node/FS.py ('k') | webkit/webkit_sln.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698