From 55329d53c0322b66da982bccf0dc2a28c7c7fc8c Mon Sep 17 00:00:00 2001 From: "sgk@google.com" Date: Thu, 31 Jul 2008 07:25:19 +0000 Subject: Initial cleanups en route to coalescing the get-it-built cut-and-paste from various SConscripts into readable and maintainable shape. To wit: * Put the near-universal settings of /DCERT_CHAIN_PARA_HAS_EXTRA_FIELDS, /DWIN32_LEAN_AND_MEAN, /wd4503 and /wd4819 in the base construction environment. * Sort various unsorted source file lists. * Fix indentation and quoting for consistency in a couple SConscript files that escaped previous dragnets. * Eliminate two left-over uses of Split() for input file lists. * Give the devenv invocation to build v8_shell.exe the full path to the relevant .vcproj file. * Add /nologo to the base LINKFLAGS setting. * Remove various CPPPATH and other settings that have been hanging around commented out from the Visual Studio build (in case we needed them, which we evidently don't). * Get rid of unnecessary env.File() and env.Dir() calls in various settings (esp. CPPPATH) and source file lists. * Add copyright notice to an overlooked SConscript file. * Clean up version.bat invocation. TBR: bradnelson git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174 0039d316-1c4b-4281-b951-d872f2087c98 --- build/SConscript.main | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'build/SConscript.main') diff --git a/build/SConscript.main b/build/SConscript.main index 3290b12..741afdc 100644 --- a/build/SConscript.main +++ b/build/SConscript.main @@ -126,6 +126,8 @@ env = Environment( ], CCFLAGS = [ + '/nologo', + '/Od', # no optimization '/RTC1', @@ -137,8 +139,10 @@ env = Environment( '/Z7', - '/nologo', '/errorReport:prompt', + + '/wd4503', + '/wd4819', ], CPPDEFINES = [ @@ -158,6 +162,9 @@ env = Environment( 'NOMINMAX', '_UNICODE', 'UNICODE', + + 'CERT_CHAIN_PARA_HAS_EXTRA_FIELDS', + 'WIN32_LEAN_AND_MEAN', ], CPPPATH = [ @@ -173,6 +180,7 @@ env = Environment( ], LINKFLAGS = [ + '/nologo', '/DEBUG', ], ) -- cgit v1.1