[Build] Make print_python_deps.py usable for Python 2 and Python 3 modules.
Previously print_python_deps.py only works for Python 2 target modules (specified with the --root switch). This CL makes the script detect the Python version of the target module (via shebang), and relaunch using the matching vpython version. Bug: 1054018 Change-Id: Iadf0df313fe098ee03c23b212dad928697be79f4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2106967 Commit-Queue: Samuel Huang <huangs@chromium.org> Reviewed-by:Andrew Grieve <agrieve@chromium.org> Cr-Commit-Position: refs/heads/master@{#751058}
Showing
Please register or sign in to comment