Commit bcc3d6df authored by Jon Turney's avatar Jon Turney Committed by Hugo Beauzée-Luyssen

Fix common.gypi to allow gyp to generate Makefiles on Windows

The MSVS_VERSION variable does not exist unless we are using the MSVS generator
parent 0f2aae4e
......@@ -206,9 +206,9 @@
# Whether to use multiple cores to compile with visual studio. This is
# optional because it sometimes causes corruption on VS 2005.
# It is on by default on VS 2008 and off on VS 2005.
['OS=="win"', {
['"<(GENERATOR)" == "msvs"', {
'conditions': [
['MSVS_VERSION=="2005"', {
[ 'MSVS_VERSION=="2005"', {
'msvs_multi_core_compile%': 0,
},{
'msvs_multi_core_compile%': 1,
......@@ -225,6 +225,10 @@
# Native Client loader for 64-bit Windows.
'NACL_WIN64',
],
},
{
# XXX: because value is used below...
'msvs_multi_core_compile%': 0,
}],
],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment