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:
parent
7eea6d3c18
commit
0fbc37a2fd
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue