find_depot_tools: put DEPS'd depot_tools first
Update find_depot_tools to put the pinned depot_tools from the DEPS file
first on the sys.path.
If a user/bot has depot_tools on their path already (likely pointing to
a global, auto-updated-to-master version), the scripts will still want
to find the pinned version, in case APIs change.
Bug: 773182
Change-Id: I26a55a5a463462911cd3324ed8c31dc9685144c0
Reviewed-on: https://chromium-review.googlesource.com/710315
Reviewed-by: Daniel Jacques <dnj@chromium.org>
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Commit-Queue: Mike Bjorge <mbjorge@chromium.org>
Cr-Commit-Position: refs/heads/master@{#507779}
CrOS-Libchrome-Original-Commit: 5064a49489a271975179a5341025ec2dafc9d8fd
1 file changed