diff options
| author | sgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-07-31 07:25:19 +0000 |
|---|---|---|
| committer | sgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-07-31 07:25:19 +0000 |
| commit | 55329d53c0322b66da982bccf0dc2a28c7c7fc8c (patch) | |
| tree | 19550e26a26066035e41c036b21c415918b772d2 /chrome/browser/SConscript | |
| parent | 1920e823284826c00ba11adb1ff3ccb7fba2f0f5 (diff) | |
| download | chromium_src-55329d53c0322b66da982bccf0dc2a28c7c7fc8c.zip chromium_src-55329d53c0322b66da982bccf0dc2a28c7c7fc8c.tar.gz chromium_src-55329d53c0322b66da982bccf0dc2a28c7c7fc8c.tar.bz2 | |
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
Diffstat (limited to 'chrome/browser/SConscript')
| -rw-r--r-- | chrome/browser/SConscript | 59 |
1 files changed, 18 insertions, 41 deletions
diff --git a/chrome/browser/SConscript b/chrome/browser/SConscript index df7e536..ad48d53 100644 --- a/chrome/browser/SConscript +++ b/chrome/browser/SConscript @@ -32,27 +32,15 @@ Import('env') env = env.Clone()
-
-#/Yu"precompiled_wtl.h"
-#/Fp"C:\src\trunk\chrome\Debug\obj\browser\precompiled_wtl.pch"
-#/Fo"C:\src\trunk\chrome\Debug\obj\browser\\"
-#/Fd"C:\src\trunk\chrome\Debug\obj\browser\vc80.pdb"
-#/W3
-#/WX
-#/FI "precompiled_wtl.h"
-
env.Prepend(
CPPPATH = [
- env.Dir('../app/resources'),
- env.Dir('$OBJ_ROOT/google_update'),
- env.Dir('#/tools/build/win'),
- env.Dir('#/..'),
+ '$CHROME_DIR/app/resources',
+ #'$OBJ_ROOT/google_update',
+ '#/tools/build/win',
+ '#/..',
],
CPPDEFINES = [
'U_STATIC_IMPLEMENTATION',
- 'CERT_CHAIN_PARA_HAS_EXTRA_FIELDS',
- 'WIN32_LEAN_AND_MEAN',
-
'USE_HUNSPELL',
'HUNSPELL_CHROME_CLIENT',
'LIBXML_STATIC',
@@ -61,39 +49,29 @@ env.Prepend( ],
CCFLAGS = [
'/TP',
-
- '/Wp64',
-
- '/wd4503',
- '/wd4819',
],
)
env.Append(
CPPPATH = [
'$GTEST_DIR/include',
- #/I "../chrome/Debug/webkit"
- #/I "../third_party/webkit/out"
- env.Dir("#../google_update"),
- env.Dir("#../chrome/third_party/hunspell/src/hunspell"),
- env.Dir("#../chrome/third_party/wtl/include"),
- env.Dir("#../third_party/npapi"),
+ '$GOOGLE_UPDATE_DIR',
+ '$CHROME_DIR/third_party/hunspell/src/hunspell',
+ '$CHROME_DIR/third_party/wtl/include',
+ '$NPAPI_DIR',
'$LIBXML_DIR/scons/include',
'$LIBXML_DIR/include',
- env.Dir("#../third_party/icu38/public/common"),
- env.Dir("#../third_party/icu38/public/i18n"),
-
- env.Dir("#../chrome/app"),
-
- env.Dir("#../webkit/build/localized_strings"),
-
- env.Dir("#../third_party/zlib"),
- env.Dir("#../skia/include"),
- env.Dir("#../skia/include/corecg"),
- env.Dir("#../skia/platform"),
- env.Dir("#../third_party/libpng"),
- env.Dir("#../breakpad/src"),
+ '$ICU38_DIR/public/common',
+ '$ICU38_DIR/public/i18n',
+ '$CHROME_DIR/app',
+ '$WEBKIT_DIR/build/localized_strings',
+ '$ZLIB_DIR',
+ '$SKIA_DIR/include',
+ '$SKIA_DIR/include/corecg',
+ '$SKIA_DIR/platform',
+ '$LIBPNG_DIR',
+ '$BREAKPAD_DIR/src',
],
)
@@ -400,5 +378,4 @@ input_files = [ env.StaticLibrary('browser', input_files)
-
SConscript('debugger/SConscript', exports=['env'])
|
