From ec4212cce1139bfff4d91d4dd75b29f03a53ed2c Mon Sep 17 00:00:00 2001 From: Jeremy Apthorp Date: Mon, 19 Nov 2018 11:53:28 -0800 Subject: [PATCH] docs: add troubleshooting section for win toolchain prompt (#15761) --- docs/development/build-instructions-gn.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/development/build-instructions-gn.md b/docs/development/build-instructions-gn.md index 1ad1f2ce4870..46289a678142 100644 --- a/docs/development/build-instructions-gn.md +++ b/docs/development/build-instructions-gn.md @@ -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).