Fix check for WIN_CUSTOM_TOOLCHAIN (issue #1470).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1952 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt 2014-12-09 10:30:39 +00:00
parent 7eea6d3c18
commit 0fbc37a2fd
1 changed files with 1 additions and 2 deletions

View File

@ -54,8 +54,7 @@ if not 'DEPOT_TOOLS_WIN_TOOLCHAIN' in os.environ.keys():
# set GYP_MSVS_VERSION=<VS version>
# set CEF_VCVARS=<empty .bat file>
custom_toolchain = False
if 'WIN_CUSTOM_TOOLCHAIN' in os.environ.keys() and \
os.environ['WIN_CUSTOM_TOOLCHAIN'] == '1':
if bool(int(os.environ.get('WIN_CUSTOM_TOOLCHAIN', '0'))):
required_vars = [
'GYP_MSVS_VERSION',
'VS_ROOT',