mirror of
https://chromium.googlesource.com/chromium/tools/depot_tools.git
synced 2026-01-11 18:51:29 +00:00
depot_tools: Bootstrap Python 3 on Linux/Mac
This will make it possible for developers to execute depot_tools scripts using Python 3 in a known environment. Bug: 1002153 Change-Id: I5ff492a49d227c1b5876f49adba020f51a575bdd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1762664 Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org> Reviewed-by: Dirk Pranke <dpranke@chromium.org> Reviewed-by: Andrii Shyshkalov <tandrii@google.com>
This commit is contained in:
@@ -118,10 +118,7 @@ if [ "X$DEPOT_TOOLS_UPDATE" != "X0" ]; then
|
||||
cd - > /dev/null
|
||||
fi
|
||||
|
||||
# Sync CIPD and CIPD client tools.
|
||||
source "$base_dir/cipd_bin_setup.sh"
|
||||
cipd_bin_setup
|
||||
|
||||
find "$base_dir" | grep -i ".*\.pyc" | xargs rm -f;
|
||||
# Ensure depot_tools is bootstrapped
|
||||
$base_dir/ensure_bootstrap
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user