Batch file/python script to add current toolchain to environment

When doing compiler bug reductions or other types of compiler analysis
it is often helpful to reproduce the exact depot_tools toolchain
environment that ninja uses. This looks at GYP_MSVS_VERSION,
DEPOT_TOOLS_WIN_TOOLCHAIN, and the hash from vs_toolchain.py to set
the same environment that ninja will use to build. You can then
re-execute the commands printed by "ninja -v -d keeprsp ..." with
custom modifications such as removing /showIncludes and adding /P.

Add /x64 if you are doing 64-bit builds - bitness must match.

FOR/usebackq technique suggested by scottmg@.

R=scottmg@chromium.org

Review-Url: https://codereview.chromium.org/2776573004
Cr-Original-Commit-Position: refs/heads/master@{#459949}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: fdd07ea026067567c64c8afa4346f7331a1f6923
2 files changed