blob: 3e2ddd1b54e62efdf8fde16904dbfb3aa857ab08 [file] [log] [blame]
:: Copyright (c) 2011 The Native Client Authors. All rights reserved.
:: Use of this source code is governed by a BSD-style license that can be
:: found in the LICENSE file.
echo on
set GYP_MSVS_VERSION=2008
:: Blow away path for now if on the bots (to be more hermetic).
if %BUILDBOT_SLAVENAME% equ "" goto SkipPathReset
set PATH=
set PATH=%PATH%;c:\b\depot_tools;c:\b\depot_tools\python_bin
set PATH=%PATH%;c:\b\build_internal\tools
set PATH=%PATH%;e:\b\depot_tools;e:\b\depot_tools\python_bin
set PATH=%PATH%;e:\b\build_internal\tools
set PATH=%PATH%;C:\WINDOWS\system32;C:\WINDOWS\system32\WBEM
:SkipPathReset
:: Adding in both the 32-bit on 64-bit program files install location for both
:: MSVS2008 and MSVS2005 including the team tools.
set MSVS8=c:\Program Files\Microsoft Visual Studio 8.0
set MSVS8_X86=c:\Program Files (x86)\Microsoft Visual Studio 8.0
set MSVS9=c:\Program Files\Microsoft Visual Studio 9.0
set MSVS9_X86=c:\Program Files (x86)\Microsoft Visual Studio 9.0
if [%1] equ [32] goto :Set32
set VS90COMNTOOLS=%MSVS9_X86%\Common7\Tools\
set VS80COMNTOOLS=%MSVS8_X86%\Common7\Tools\
goto :SetEnd
:Set32
set VS90COMNTOOLS=%MSVS9%\Common7\Tools\
set VS80COMNTOOLS=%MSVS8%\Common7\Tools\
:SetEnd
set SCONS_MSCOMMON_DEBUG=-
set PATH=%PATH%;%MSVS9%\VC
set PATH=%PATH%;%MSVS9_X86%\VC
set PATH=%PATH%;%MSVS9%\Common7\Tools
set PATH=%PATH%;%MSVS9_X86%\Common7\Tools
set PATH=%PATH%;%MSVS9%\Team Tools\Performance Tools
set PATH=%PATH%;%MSVS9_X86%\Team Tools\Performance Tools
set PATH=%PATH%;%MSVS8%\VC
set PATH=%PATH%;%MSVS8_X86%\VC
set PATH=%PATH%;%MSVS8%\Common7\Tools
set PATH=%PATH%;%MSVS8_X86%\Common7\Tools
set PATH=%PATH%;%MSVS8%\Team Tools\Performance Tools
set PATH=%PATH%;%MSVS8_X86%\Team Tools\Performance Tools