Граф коммитов

4359 Коммитов

Автор SHA1 Сообщение Дата
evanm@google.com 96d8921952 Merge a bunch of SConscript.main back into SConscript.main.linux. My goal is to track .main as close as possible to minimize divergence.
Using this (and the split SConstruct that keunwoo already wrote) you can build third_party by:
  scons Hammer/third_party
and you can attempt to build base, though there's still a lot of work to be done.

git-svn-id: http://src.chromium.org/svn/trunk/src/build@265 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2008-08-01 22:00:31 +00:00
sgk@google.com 8644fc3565 SCons build:
* Add base\object{,_watcher}.cc.
* Add chrome\browser\bookmark_{codec,storage}.cc.
* Add chrome\views\frame\browser_window_factory.cc.
* Split of app\main.cc into app\chrome_{dll,exe}_main.cc, with added CPPDEFINES for {BROWSER,RENDERER,PLUGIN}_DLL.
* Move $CSCRIPT, $PLATFORMSDK* and $VISUAL_STUDIO variables to the win32-specific construction environment.
* Remove unnecessary comments.
TBR: bradnelson

git-svn-id: http://src.chromium.org/svn/trunk/src/build@261 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2008-08-01 21:45:48 +00:00
sgk@google.com 2b84924b9b Steps towards isolating Windows-isms in the construction environment from Linux/Posix/Mac-isms, and fixes:
* Only put Windows settings on the construction environment when PLATFORM == 'win32', and provide a PLATFORM == 'posix' block for necessary settings there.
* Don't hard-code C:/ as the location of Microsoft Visual Studio 8, so we can find memset.obj even on buildbot systems that have it installed on D:.
* Work around how SCons 0.98.3 fails to handle environment variables imported from Visual Studio that use | to separate diferent architecture types in the (e.g.) PATH.  (This is fixed in 0.98.4, after which we can remove the workaround.)
* Deep copy the environment we use to build v8_shell.exe so objects therein can't pollute other environments.
TBR: evanm,bradnelson

git-svn-id: http://src.chromium.org/svn/trunk/src/build@223 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2008-08-01 04:12:25 +00:00
sgk@google.com 7819c1248e Get SCons building Windows again without having to Import()/re-Export(): use the $PLATFORM construction variable supplied in the construction environment instead of passing around our own PLATFORM variable in Python.
R=keunwoo,evanm

git-svn-id: http://src.chromium.org/svn/trunk/src/build@202 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2008-07-31 21:32:20 +00:00
keunwoo@google.com af82317f10 Initial commit to get a handful of third_party packages building properly under Linux. Uses some temporary shims to detect platform and omit processing of some stuff that doesn't seem to work for me.
As previously discussed, I'm just doing whatever's expedient to getting *something* building under Linux, since we decided with the current state of Chrome head (with the upcoming freeze and release branch) it would be too disruptive to try to land all the latest site_scons in Chrome's copy.  The main thing to note is the SConscript.main.linux file which uses

  #/../third_party/*

instead of

  #/$BUILD_ROOT/third_party/*

and then uses variant_dir in the env.SConscript() call at the bottom to explicitly emit output into Hammer/third_party/*.  If either of these hacks is absent, scons under Linux simply concludes that all targets are up to date (there's nothing to build).  Explanations for this behavior or alternative workarounds are welcome.  Alternatively we could just commit this as-is and let someone with more knowledge of SCons internals try to debug it under Linux.

git-svn-id: http://src.chromium.org/svn/trunk/src/build@194 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2008-07-31 20:21:49 +00:00
sgk@google.com d1c14385ab 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: http://src.chromium.org/svn/trunk/src/build@174 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2008-07-31 07:25:19 +00:00
maruel@google.com b890f6bc3e Fix two issues with Visual Studio 2008.
BUG=1290595

git-svn-id: http://src.chromium.org/svn/trunk/src/build@126 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2008-07-30 18:31:40 +00:00
sgk@google.com 7e5d0f4fa1 Accommodate the change from ..\third_party\scons-0.98.3 to ..\third_party\scons in the recursive invocation of scons to build the necessary v8 targets.
TBR: bradnelson,nsylvain

git-svn-id: http://src.chromium.org/svn/trunk/src/build@42 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2008-07-28 20:13:34 +00:00
initial.commit a94d40f912 Add the build directory to the repository.
git-svn-id: http://src.chromium.org/svn/trunk/src/build@7 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2008-07-26 20:52:30 +00:00