docs: add troubleshooting section for win toolchain prompt (#15761)

This commit is contained in:
Jeremy Apthorp 2018-11-19 11:53:28 -08:00 committed by GitHub
parent a45d5960d7
commit ec4212cce1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -249,3 +249,9 @@ to 0. More information: https://stackoverflow.com/a/9935126
If `gclient sync` is interrupted while using the git cache, it will leave
the cache locked. To remove the lock, pass the `--break_repo_locks` argument to
`gclient sync`.
### I'm being asked for a username/password for chromium-internal.googlesource.com
If you see a prompt for `Username for 'https://chrome-internal.googlesource.com':` when running `gclient sync` on Windows, it's probably because the `DEPOT_TOOLS_WIN_TOOLCHAIN` environment variable is not set to 0. Open `Control Panel``System and Security``System``Advanced system settings` and add a system variable
`DEPOT_TOOLS_WIN_TOOLCHAIN` with value `0`. This tells `depot_tools` to use
your locally installed version of Visual Studio (by default, `depot_tools` will
try to download a Google-internal version that only Googlers have access to).