summaryrefslogtreecommitdiffstats
path: root/site_scons/site_tools/chromium_builders.py
diff options
context:
space:
mode:
authorsgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-09 20:35:47 +0000
committersgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-09 20:35:47 +0000
commit4f2321dbb2e034601fed172d222a90009e4674a0 (patch)
tree42e7055c9e1594806bc1a0324cf7994de1483cd5 /site_scons/site_tools/chromium_builders.py
parenta1a130f7da9191abecf15b3c27e2aa7ee1faacb3 (diff)
downloadchromium_src-4f2321dbb2e034601fed172d222a90009e4674a0.zip
chromium_src-4f2321dbb2e034601fed172d222a90009e4674a0.tar.gz
chromium_src-4f2321dbb2e034601fed172d222a90009e4674a0.tar.bz2
Generation of net .vcproj and .sln files.
Specific changes: * Add to MSVSProject() calls: GUID, input_files list, tools list (that are common to the individual configurations). * Add *.h files and MSVSFilter() hierarchies to input_files lists. * Switch to using the .Remove() method for instead of by-hand Python to remove things from input_files lists. * Use of precompiled header files still requires separate by-hand Configuration specifications. * Remove .dat files from the input file lists when compiling. * Extensive _Node_MSVS.py changes that set us up for deducing this information from parallel Debug and Release builds instead of configuring things by hand, basically by delaying evaluation of most of the strings, then introspecting on the command lines that will be used to generate the targets and translating compiler and linker options into Visual Studio settings. The result is (again) byte-for-byte identical .vcproj files, modulo removal of a ".\" current-directory prefix for a few RelativePath specifications. Review URL: http://codereview.chromium.org/17436 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7826 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'site_scons/site_tools/chromium_builders.py')
-rw-r--r--site_scons/site_tools/chromium_builders.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/site_scons/site_tools/chromium_builders.py b/site_scons/site_tools/chromium_builders.py
index 6088203..7ee8928 100644
--- a/site_scons/site_tools/chromium_builders.py
+++ b/site_scons/site_tools/chromium_builders.py
@@ -53,10 +53,12 @@ __builtin__.ChromeFileList = ChromeFileList
def compilable_files(sources):
if not hasattr(sources, 'entries'):
- return [x for x in sources if not str(x).endswith('.h')]
+ return [x for x in sources if not str(x).endswith('.h')
+ and not str(x).endswith('.dat')]
result = []
for top, folders, nonfolders in MSVS.FileListWalk(sources):
- result.extend([x for x in nonfolders if not str(x).endswith('.h')])
+ result.extend([x for x in nonfolders if not str(x).endswith('.h')
+ and not str(x).endswith('.dat')])
return result
def ChromeProgram(env, target, source, *args, **kw):