summaryrefslogtreecommitdiffstats
path: root/site_scons
Commit message (Collapse)AuthorAgeFilesLines
* Fix use of LOAD= with WantSystemLib() (we could blow up if a variablesgk@google.com2008-11-212-0/+116
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | hadn't been added to the config) and extend use of LOAD= into submodules: * Add a ChromeLoadSConscriptModules() method that encapsulates the conditional logic, and makes things more readable by specifying component names as keyword arguments, not hard-coding the logic as a series of if-tests. * Put the ChromeLoadSConscriptModules() logic in a Tool module in site_scons/site_tools, so it doesn't clutter up build/SConscript.main directly. * Move env.WantSystemLib() calls into the individual *.scons files, so we call them each time (or not, based one LOAD=) and the config itself just returns if the system library is requested and we don't need to build anything locally. * Move the settings where a library name changes based on whether or not the system lib is being used into the using_*.scons files, so they're available to clients independently of whether or not the component's *.scons configuration is loaded. * While here: rename the affected third_party SConscript files: third_party/libjpeg/SConscript => third_party/libjpeg/libjpeg.scons third_party/libxml/SConscript => third_party/libxml/libxml.scons third_party/libxslt/SConscript => third_party/libxslt/libxslt.scons * While here: move the Chrome{Program,SharedLibrary}() etc. builder definitions from build/SConscript.main to a new too Ad the ChromeLoadSConscriptModules() logic in a Tool module, to remove more clutter from build/SConscript.main. Review URL: http://codereview.chromium.org/11430 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5820 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes for Visual Studio solution + project file generation:sgk@google.com2008-11-141-1/+1
| | | | | | | | | | | | * Fix the grit tool so it works with Repository() directories (and tap gspencer to upstream the changes). * Fix the evaluation of $PRE_EVALUATE_DIRS, which was interfering with sucking up the source files for listing in the .vcproj files. * Set AlwaysBuild() on the project files so they're always evaluated for up-to-dateness when 'all_solutions' is the target. Review URL: http://codereview.chromium.org/10725 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5440 0039d316-1c4b-4281-b951-d872f2087c98
* Adding in new solution builder pattern.bradnelson@chromium.org2008-11-081-15/+21
| | | | | | Review URL: http://codereview.chromium.org/10231 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5047 0039d316-1c4b-4281-b951-d872f2087c98
* Bringing in sct changes.bradnelson@google.com2008-11-073-73/+603
| | | | | | Review URL: http://codereview.chromium.org/10210 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5008 0039d316-1c4b-4281-b951-d872f2087c98
* Missed a file in 9468.bradnelson@chromium.org2008-11-061-1/+1
| | | | | | | | | | Will submit this TBR. Propogating fix from mainline sct. Review URL: http://codereview.chromium.org/9663 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4927 0039d316-1c4b-4281-b951-d872f2087c98
* Unrollback the Scons changes, they weren't the cause of the problem.brettw@google.com2008-11-052-2/+9
| | | | | | Review URL: http://codereview.chromium.org/9184 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4783 0039d316-1c4b-4281-b951-d872f2087c98
* Rollback r4734 to see if it fixes the crashing I experience when starting ↵brettw@google.com2008-11-052-9/+2
| | | | | | | | chrome, as well as the 1MB regression in chrome.dll size. Review URL: http://codereview.chromium.org/8226 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4781 0039d316-1c4b-4281-b951-d872f2087c98
* Adding better project generation (source and build targets).bradnelson@chromium.org2008-11-052-2/+9
| | | | | | | | | Adding fix to targets_msvs to work with chrome hammer.bat in depot_tools. Review URL: http://codereview.chromium.org/9149 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4734 0039d316-1c4b-4281-b951-d872f2087c98
* Adding in new software construction toolkit version.bradnelson@google.com2008-11-0413-244/+1299
| | | | | | Review URL: http://codereview.chromium.org/9094 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4566 0039d316-1c4b-4281-b951-d872f2087c98
* Adding visual studio solution files.bradnelson@chromium.org2008-11-041-14/+13
| | | | | | | | | Sandbox is currently having a problem with this so it is disabled. Fixed a few stray items. Review URL: http://codereview.chromium.org/9259 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4525 0039d316-1c4b-4281-b951-d872f2087c98
* Fixing handling of absolute paths in site_init.py to handle windows correctly.bradnelson@chromium.org2008-10-291-1/+2
| | | | | | Review URL: http://codereview.chromium.org/8897 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4180 0039d316-1c4b-4281-b951-d872f2087c98
* Forgot this file in CL 4153.bradnelson@google.com2008-10-291-1/+8
| | | | | | | It does weird things on buildbot without it. Review URL: http://codereview.chromium.org/8886 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4157 0039d316-1c4b-4281-b951-d872f2087c98
* Pulling in latest software construction toolkit.bradnelson@google.com2008-10-2315-106/+560
| | | | | | Review URL: http://codereview.chromium.org/8117 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3861 0039d316-1c4b-4281-b951-d872f2087c98
* Dropping in software construction toolkit.bradnelson@chromium.org2008-10-0926-0/+3967
Review URL: http://codereview.chromium.org/6329 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3145 0039d316-1c4b-4281-b951-d872f2087c98