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 GYP_MSVS_VERSION=<VS version>
|
||||||
# set CEF_VCVARS=<empty .bat file>
|
# set CEF_VCVARS=<empty .bat file>
|
||||||
custom_toolchain = False
|
custom_toolchain = False
|
||||||
if 'WIN_CUSTOM_TOOLCHAIN' in os.environ.keys() and \
|
if bool(int(os.environ.get('WIN_CUSTOM_TOOLCHAIN', '0'))):
|
||||||
os.environ['WIN_CUSTOM_TOOLCHAIN'] == '1':
|
|
||||||
required_vars = [
|
required_vars = [
|
||||||
'GYP_MSVS_VERSION',
|
'GYP_MSVS_VERSION',
|
||||||
'VS_ROOT',
|
'VS_ROOT',
|
||||||
|
|
Loading…
Reference in New Issue