title: WebRTC not building for Windows
body: <p>Whenever I try build WebRTC for Windows, I get this error when running gclient runhooks:</p>
  
  <pre><code>    ________ running 'C:\path\to\depot_tools\python276_bin\python.exe src/build
  /landmines.py' in 'C:\path\to\webrtc\src\chromium' Please follow the instructions
  at http://www.chromium.org/developers/how-tos/bui ld-instructions-windows
  Traceback (most recent call last):
  File "src/build/landmines.py", line 215, in &lt;module&gt; 
      sys.exit(main())
  File "src/build/landmines.py", line 202, in main
      gyp_environment.SetEnvironment()
  File "C:\path\to\webrtc\src\chromium\src\build\gyp_environment.py", line 33, in
  SetEnvironment
      vs_toolchain.SetEnvironmentAndGetRuntimeDllDirs()
  File "C:\path\to\webrtc\src\chromium\src\build\vs_toolchain.py", line 34, in
  SetEnvironmentAndGetRuntimeDllDirs
      Update()
  File "C:\path\to\webrtc\src\chromium\src\build\vs_toolchain.py", line 179, in
  Update
      subprocess.check_call(get_toolchain_args)
  File "C:\path\to\depot_tools\python276_bin\lib\subprocess.py", line 540, in
  check_call
      raise CalledProcessError(retcode, cmd)
  subprocess.CalledProcessError: Command '['C:\\path\\to\\depot_tools\\python276_bin\\python.exe',
  'C:\\path\\to\\depot_tools\\win_toolchain\\get_toolchain_if_necessary.py', '--output-json',
  'C:\\path\\to\\webrtc\\src\\chromium\\src\\build\\win_toolchain.json', 
  'ee7d718ec60c2dc5d255bbe325909c2021a7efef']' returned non-zero exit status 1
  Error: Command C:\path\to\depot_tools\python276_bin\python.exe src/build/landmines.py returned non-zero exit status 1 in C:\path\to\webrtc\src\chromium
  Hook ''C:\path\to\depot_tools\python276_bin\python.exe' src/build/landmines.py' took 68.55 secs
  Error: Command C:\path\to\depot_tools\python276_bin\python.exe - u src/sync_chromium.py --target-revision 271c6cca48a6cef32c0f3add3b17b700707deec 5 returned non-zero exit status 2 in C:\path\to\webrtc
  Hook ''C:\path\to\depot_tools\python276_bin\python.exe' -u src/sync_chromium.py --target-revision 271c6cca48a6cef32c0f3add3b17b700707deec5' took 3842.34 secs
  </code></pre>
  
  <p>I'm using 64-bit Windows 7 with VS 2013 installed. I've already tried setting the following variables:</p>
  
  <blockquote>
    <p>GYP_DEFINES='windows_sdk_path="C:\path\to\windows\sdk" platform=win
    component=shared_library' <br>
        DEPOT_TOOLS_WIN_TOOLCHAIN=0 <br>
        GYP_GENERATORS=msvs <br>
        GYP_MSVS_VERSION=2013 <br></p>
  </blockquote>
  
  <p>Attempting to build chromium also gives the same error. Fetching with nohooks works fine, it's just when I try gclient sync or runhooks that the error occurs. I've also tried building with ninja, and that fails as well. I've got all SDKs and such all up to date. Any help with this would be greatly appreciated.</p>