Support Python 3 in gn args on Mac
The gn args command failed to run with Python 3 on Mac because it uses incompatible syntax. Python 2 is no longer maintained and it is recommended we migrate to Python 3. - Use text mode when invoking child processes - Use print() with parenthesis. Bug: 1068191 Change-Id: I2b039d3638447f1b5e50b89c145a06aeeef8359c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2238988Reviewed-by:Sylvain Defresne <sdefresne@chromium.org> Reviewed-by:
Jamie Walch <jamiewalch@chromium.org> Commit-Queue: Emma Haruka Iwao <yuryu@chromium.org> Cr-Commit-Position: refs/heads/master@{#779511}
Showing
Please register or sign in to comment