summaryrefslogtreecommitdiffstats
path: root/o3d
diff options
context:
space:
mode:
authorgman@google.com <gman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-03 09:10:42 +0000
committergman@google.com <gman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-03 09:10:42 +0000
commitf2d123339dfad1fb043fc0150122901759c27803 (patch)
tree86bfea7f3db1ad7dd281862ffd96580ab5f73d59 /o3d
parentca4ba53a1a64e566d806e940554aa208084a08e6 (diff)
downloadchromium_src-f2d123339dfad1fb043fc0150122901759c27803.zip
chromium_src-f2d123339dfad1fb043fc0150122901759c27803.tar.gz
chromium_src-f2d123339dfad1fb043fc0150122901759c27803.tar.bz2
Switch gypbuild to use devenv instead of msbuild.
devenv is significantly faster. For an up to date build (ie, a build that shouldn't build anything) devenv is 2.5x faster. Review URL: http://codereview.chromium.org/340038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30806 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'o3d')
-rwxr-xr-xo3d/gypbuild.py12
1 files changed, 9 insertions, 3 deletions
diff --git a/o3d/gypbuild.py b/o3d/gypbuild.py
index b42e43a3..a8de01c 100755
--- a/o3d/gypbuild.py
+++ b/o3d/gypbuild.py
@@ -150,7 +150,7 @@ class GypBuilder(object):
def CleanTargets(self, targets, options):
"""Cleans the targets."""
solution = self.GetSolutionPath()
- self.Execute(['devenv.exe',
+ self.Execute(['devenv.com',
solution,
'/clean',
options.version])
@@ -163,9 +163,15 @@ class GypBuilder(object):
"or turn off UAC.\nAfter switching to admin run "
"'gclient runhooks --force'")
self.CheckVisualStudioVersionVsSolution(solution)
- self.Execute(['msbuild',
+ self.Execute(['devenv.com',
solution,
- '/p:Configuration=%s' % options.version])
+ '/build',
+ options.version])
+ # TODO(gman): Should I check for devenv and if it does not exist
+ # use msbuild? Msbuild is significantly slower than devenv.
+ #self.Execute(['msbuild',
+ # solution,
+ # '/p:Configuration=%s' % options.version])
class LinuxBuilder(Builder):
"""Class for building on Linux."""