GYP generate a bad end-of-line marker when used under Windows. Instead of CRLF, GYP generate CRCRLF (Double carriage return).
I see that thru libuv project which make use of GYP to generate MSVC2010 solution (vcbuild.bat invokes GYP). See https://github.com/libuv/libuv/issues/2299
Regards,
François Piette