0

Add some details for Windows depot_tools setup instructions

Change-Id: I277ef036cd011e206a1cdf83a8bd62c09bdbe661
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3497490
Auto-Submit: Eric Waldman <waldman@google.com>
Reviewed-by: Sebastien Lalancette <seblalancette@chromium.org>
Commit-Queue: Sebastien Lalancette <seblalancette@chromium.org>
Commit-Queue: Eric Waldman <waldman@google.com>
Cr-Commit-Position: refs/heads/main@{#976787}
This commit is contained in:
Eric Waldman
2022-03-02 20:33:00 +00:00
committed by Chromium LUCI CQ
parent ca0c876f0b
commit c469ba7bb2

@ -66,7 +66,7 @@ to install the Debugging Tools.
## Install `depot_tools`
Download the [depot_tools bundle](https://storage.googleapis.com/chrome-infra/depot_tools.zip)
and extract it somewhere.
and extract it somewhere (eg: C:\src\depot_tools).
*** note
**Warning:** **DO NOT** use drag-n-drop or copy-n-paste extract from Explorer,
@ -76,7 +76,9 @@ context menu though.
***
Add depot_tools to the start of your PATH (must be ahead of any installs of
Python). Assuming you unzipped the bundle to C:\src\depot_tools, open:
Python. Note that environment variable names are case insensitive).
Assuming you unzipped the bundle to C:\src\depot_tools, open:
Control Panel → System and Security → System → Advanced system settings
@ -85,8 +87,11 @@ put `C:\src\depot_tools` at the front (or at least in front of any directory
that might already have a copy of Python or Git).
If you don't have Administrator access, you can add a user-level PATH
environment variable and put `C:\src\depot_tools` at the front, but
if your system PATH has a Python in it, you will be out of luck.
environment variable by opening:
Control Panel → System and Security → System → Search for "Edit environment variables for your account"
Add `C:\src\depot_tools` at the front. Note: If your system PATH has a Python in it, you will be out of luck.
Also, add a DEPOT_TOOLS_WIN_TOOLCHAIN system variable in the same way, and set
it to 0. This tells depot_tools to use your locally installed version of Visual