win: pull gyp for gn generation

and #if out some code that causes "unreachable code" warning on windows.

TBR=jam@chromium.org
BUG=

Review URL: https://codereview.chromium.org/694253003