summaryrefslogtreecommitdiffstats
path: root/build
Commit message (Collapse)AuthorAgeFilesLines
* Parse /proc/cpuinfo to guess the number of available CPUs.evanm@google.com2008-08-131-0/+5
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@768 0039d316-1c4b-4281-b951-d872f2087c98
* Last changes to get Linux unit tests building:evanm@google.com2008-08-121-410/+0
| | | | | | | | Some minor SConscript changes. Removed the obsolete .linux file. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@758 0039d316-1c4b-4281-b951-d872f2087c98
* Make breakpad handler compile on Linux.mmoss@google.com2008-08-121-1/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@754 0039d316-1c4b-4281-b951-d872f2087c98
* Get rid of separate SConscript.main.linux:sgk@google.com2008-08-121-12/+17
| | | | | | | | | | | * Set -j default to %NUMBER_OF_PROCESSORS% + 1 only on Windows. * Initialize LOAD= modules up front, and let Linux override to the subset that are currently building. * Initialize Linux CCFLAGS, LINKFLAGS and LIBS in a separate if-clause (like we do for Windows). * Remove SCONSCRIPT_MAIN code in {base,chrome}/SConstruct in favor of just call ../build/SConscript.main. * Merge in evanm's changes to base/SConscript for separate lists of platform-neutral and platform-specific source files and test files. R=evanm,deanm git-svn-id: svn://svn.chromium.org/chrome/trunk/src@727 0039d316-1c4b-4281-b951-d872f2087c98
* SCons build updates:sgk@google.com2008-08-121-1/+1
| | | | | | | | | | | | | * Add base\file_util_linux.cc. * Add unit tests base\{idletimer,string_escape}_unittest.cc. * Add chrome\browser\views\hwnd_html_view.cc. * Add chrome\browser\tabs\tab_dragging_test.cc. * Add chrome\browser\views\bookmark_bar_view_test.cc * Add chrome\test\ui\view_event_test_base.cc. * Only define on Windows build of base: _Win32_WINNT=0x0600, WINVER=0x0600, _HAS_EXCEPTIONS=0. TBR: bradnelson git-svn-id: svn://svn.chromium.org/chrome/trunk/src@688 0039d316-1c4b-4281-b951-d872f2087c98
* User the "v8.exe" binary from the V8 SCons-based release build instead of ↵sgk@google.com2008-08-111-24/+11
| | | | | | | | the "v8_shell.exe" binary generated by the Visual Studio build. TBR: sgjesse,ager git-svn-id: svn://svn.chromium.org/chrome/trunk/src@670 0039d316-1c4b-4281-b951-d872f2087c98
* Add defines for the size of wchar_t to build_config.h. Use this in places ↵brettw@google.com2008-08-071-0/+10
| | | | | | | | | | where we currently have an OS-specific check. Remove all WIN32 ifdefs from base and replace them with proper defined(OS...). I also fixed random style bits when I encountered them. I made major style fixes to string16. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@524 0039d316-1c4b-4281-b951-d872f2087c98
* Allow third_party/libxslt to compile on Linux. Like libxml, this uses ↵mmoss@google.com2008-08-061-4/+3
| | | | | | pre-generated configure headers in linux/. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@470 0039d316-1c4b-4281-b951-d872f2087c98
* Allow third_party/libxml to compile on Linux. This uses static config.h and ↵mmoss@google.com2008-08-061-2/+2
| | | | | | xmlversion.h files generated by ./configure, which probably isn't ideal, but it's a start. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@441 0039d316-1c4b-4281-b951-d872f2087c98
* Reapply 382 since it wasn't the cause of the build breakage.maruel@google.com2008-08-051-1/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@395 0039d316-1c4b-4281-b951-d872f2087c98
* Revert revision 382 to see if it fixes the build.nsylvain@google.com2008-08-051-2/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@391 0039d316-1c4b-4281-b951-d872f2087c98
* M internal/release_impl_purify.vspropsniranjan@google.com2008-08-051-1/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@382 0039d316-1c4b-4281-b951-d872f2087c98
* Add process information (ARCH_CPU_*) to build_config.h.deanm@google.com2008-08-051-2/+28
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@371 0039d316-1c4b-4281-b951-d872f2087c98
* Fix line-ending property on some SCons files.evanm@google.com2008-08-042-176/+176
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@348 0039d316-1c4b-4281-b951-d872f2087c98
* Include debug information in Linux builds.evanm@google.com2008-08-041-2/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@347 0039d316-1c4b-4281-b951-d872f2087c98
* OS_WINDOWS conflicted with a macro in Windows' shlwapi.h, use OS_WINmmentovai@google.com2008-08-041-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@339 0039d316-1c4b-4281-b951-d872f2087c98
* Provide OS_ and COMPILER_ macros for OS and compiler differentiationmmentovai@google.com2008-08-041-0/+57
| | | | | | Review URL: http://chrome-reviews.prom.corp.google.com/1108 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@338 0039d316-1c4b-4281-b951-d872f2087c98
* Checking in the rest of the .lib changes, previous commit was only done from ↵sgk@google.com2008-08-043-15/+34
| | | | | | | | | chrome/ and only got those SConscript files. R=evanm,bradnelson git-svn-id: svn://svn.chromium.org/chrome/trunk/src@331 0039d316-1c4b-4281-b951-d872f2087c98
* Pull the block of common Windows system libraries that we link with ↵sgk@google.com2008-08-042-0/+46
| | | | | | | | everywhere into the base Windows environment. TBR: evanm,bradnelson git-svn-id: svn://svn.chromium.org/chrome/trunk/src@310 0039d316-1c4b-4281-b951-d872f2087c98
* Pass 32-bit linker flag.evanm@google.com2008-08-041-1/+2
| | | | | | TBR=deanm git-svn-id: svn://svn.chromium.org/chrome/trunk/src@309 0039d316-1c4b-4281-b951-d872f2087c98
* Convert submodules SConscript files to psuedo-builder calls.sgk@google.com2008-08-031-2/+2
| | | | | | | | TBR: evanm,bradnelson git-svn-id: svn://svn.chromium.org/chrome/trunk/src@304 0039d316-1c4b-4281-b951-d872f2087c98
* Add Chrome* pseudo-builders to the base construction environment to wrap the ↵sgk@google.com2008-08-032-0/+34
| | | | | | | | | | Command() and {Static,Shared}Library() builders calls. These provide a common place for us to abstact Windows/Mac/Linux differences in how we want these built. Added to both SConscript.main and SConscript.main.linux. TBR: evanm,bradnelson git-svn-id: svn://svn.chromium.org/chrome/trunk/src@301 0039d316-1c4b-4281-b951-d872f2087c98
* Merge a bunch of SConscript.main back into SConscript.main.linux. My goal ↵evanm@google.com2008-08-011-30/+300
| | | | | | | | | | 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: svn://svn.chromium.org/chrome/trunk/src@265 0039d316-1c4b-4281-b951-d872f2087c98
* SCons build:sgk@google.com2008-08-011-6/+6
| | | | | | | | | | | | * 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: svn://svn.chromium.org/chrome/trunk/src@261 0039d316-1c4b-4281-b951-d872f2087c98
* Steps towards isolating Windows-isms in the construction environment from ↵sgk@google.com2008-08-012-27/+49
| | | | | | | | | | | | 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: svn://svn.chromium.org/chrome/trunk/src@223 0039d316-1c4b-4281-b951-d872f2087c98
* Get SCons building Windows again without having to Import()/re-Export(): ↵sgk@google.com2008-07-311-4/+1
| | | | | | | | 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: svn://svn.chromium.org/chrome/trunk/src@202 0039d316-1c4b-4281-b951-d872f2087c98
* Initial commit to get a handful of third_party packages building properly ↵keunwoo@google.com2008-07-311-0/+96
| | | | | | | | | | | | | | | | 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: svn://svn.chromium.org/chrome/trunk/src@194 0039d316-1c4b-4281-b951-d872f2087c98
* Initial cleanups en route to coalescing the get-it-built cut-and-paste from ↵sgk@google.com2008-07-313-9/+10
| | | | | | | | | | | | | | | | | | 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
* Fix two issues with Visual Studio 2008.maruel@google.com2008-07-301-1/+1
| | | | | | BUG=1290595 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126 0039d316-1c4b-4281-b951-d872f2087c98
* Accommodate the change from ..\third_party\scons-0.98.3 to ↵sgk@google.com2008-07-281-1/+1
| | | | | | | | ..\third_party\scons in the recursive invocation of scons to build the necessary v8 targets. TBR: bradnelson,nsylvain git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42 0039d316-1c4b-4281-b951-d872f2087c98
* Add the build directory to the repository.initial.commit2008-07-2619-0/+881
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7 0039d316-1c4b-4281-b951-d872f2087c98