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

Unified Diff: third_party/libpng/libpng.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 | « testing/SConscript.gtest ('k') | third_party/scons/scons-local/SCons/Node/FS.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/libpng/libpng.scons
===================================================================
--- third_party/libpng/libpng.scons (revision 7407)
+++ third_party/libpng/libpng.scons (working copy)
@@ -39,27 +39,62 @@
],
)
-input_files = [
+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',
- 'pngwtran.c',
- 'pngwrite.c',
- 'pngwio.c',
- 'pngvcrd.c',
- 'pngtrans.c',
- 'pngset.c',
- 'pngrutil.c',
- 'pngrtran.c',
- 'pngrio.c',
- 'pngread.c',
- 'pngpread.c',
- 'pngmem.c',
- 'pngget.c',
- 'pnggccrd.c',
- 'pngerror.c',
-]
+])
env.ChromeStaticLibrary('libpng', input_files)
-env.ChromeMSVSProject('$LIBPNG_DIR/libpng.vcproj',
- guid='{C564F145-9172-42C3-BFCB-6014CA97DBCD}')
+p = env.ChromeMSVSProject('libpng.vcproj',
+ guid='{C564F145-9172-42C3-BFCB-6014CA97DBCD}',
+ 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',
+ ])
+
+env.AlwaysBuild(p)
+
+i = env.Command('$CHROME_SRC_DIR/third_party/libpng/libpng.vcproj', p,
+ Copy('$TARGET', '$SOURCE'))
+Alias('msvs', i)
« no previous file with comments | « testing/SConscript.gtest ('k') | third_party/scons/scons-local/SCons/Node/FS.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698