Fix Python 3 incompatibilities

After running gyptest.py and fixing issues found in Python 3,
I've modified some of the code to support both Python 2 and 3.
I've tested this using Python 3.7.3 and Python 2.7.15

Change-Id: I3f4a0f05821b76edcf5b8827a7931a629b799aa6
Reviewed-on: https://chromium-review.googlesource.com/c/external/gyp/+/1639564
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
7 files changed
tree: c67c12519b16af872f6cb1f938ca9dba40d60593
  1. .gitignore
  2. .travis.yml
  3. AUTHORS
  4. DEPS
  5. LICENSE
  6. OWNERS
  7. PRESUBMIT.py
  8. README.md
  9. buildbot/
  10. codereview.settings
  11. data/
  12. gyp
  13. gyp.bat
  14. gyp_main.py
  15. gyptest.py
  16. pylib/
  17. samples/
  18. setup.py
  19. test/
  20. tools/
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.