How to fetch chromium codes on windows with proxy.

If you can access googlesource without proxy, please refer to:
https://chromium.googlesource.com/chromium/src/+/master/docs/windows_build_instructions.md#Install


If we have to use proxy, we will encounter connect error when try to do gclient command.

From a cmd.exe shell, run the command gclient (without arguments). On first run, gclient will install all the Windows-specific bits needed to work with the code, including msysgit and python.

First you have to find a proxy that can access googlesource.
Second, let's set up proxy for the shell.
>netsh
netsh>winhttp
netsh winhttp>set proxy xxx.xxx.xxx.xxx:xxx "<local>"
netsh winhttp>exit
>set http_proxy=xxx.xxx.xxx.xxx:xxx
>set https_proxy=xxx.xxx.xxx.xxx:xxx


 Ok. let's do gclient.

Now you can use "fetch chromium" command to checkout source codes.



No comments:

Post a Comment

fixed: embedded-redis: Unable to run on macOS Sonoma

Issue you might see below error while trying to run embedded-redis for your testing on your macOS after you upgrade to Sonoma. java.la...