MSVSVersion.py: add support for VS2019 and VS2022

Add definitions for VS2019 and VS2022, use some additional environment
variables set by VS command prompt or vcvars*.bat scripts when looking
for VS installation path.

Bug: 227327945
Change-Id: I2b735c0d272312aacea6227ad53e61b4deaad7e7
Reviewed-on: https://chromium-review.googlesource.com/c/external/gyp/+/3557380
Reviewed-by: Mark Mentovai <mark@chromium.org>
2 files changed
tree: 24c53b036cd21eee6b8cdffa98e20553ec59e296
  1. buildbot/
  2. data/
  3. pylib/
  4. samples/
  5. test/
  6. tools/
  7. .gitignore
  8. AUTHORS
  9. codereview.settings
  10. DEPS
  11. gyp
  12. gyp.bat
  13. gyp_main.py
  14. gyptest.py
  15. LICENSE
  16. OWNERS
  17. PRESUBMIT.py
  18. README.md
  19. setup.py
README.md

GYP can Generate Your Projects.

Documents are available at gyp.gsrc.io, or you can check out md-pages branch to read those documents offline.