msvs_emulation.py: avoid string-int/float comparisons

This silently does a wrong thing on python2 (compares *type names*
instead of values, see "Objects of different types" note on
https://docs.python.org/2/library/stdtypes.html#comparisons), and throws
TypeError on python3.

Bug: 227327945
Change-Id: I70c831151f1eafde87b01a34b9d192785840ea3b
Reviewed-on: https://chromium-review.googlesource.com/c/external/gyp/+/3557379
Reviewed-by: Mark Mentovai <mark@chromium.org>
1 file changed
tree: aca381f5d630ece3e9bf1f9399b36904ce7b84d3
  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.