标签:http 1080 Dept proxy https 使用 tools localhost
depot_tools
虚实之间 椭圆搞了半天,gclient无法更新。在google groups里找到vince的答案。
- 下载 depot_tools
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
2. 将depot_tools添加到环境变量path中
3. 配置代理
(1) Set Shadowsockes as global proxy mode;
(2) Set GIT proxy as following:
git config --global http.proxy http://localhost:1080
git config --global https.proxy http://localhost:1080
(3) Set Winhttp proxy as following:
c:\>netsh
netsh>winhttp
netsh winhttp>set proxy localhost:1080
(4) Set the http_proxy, https_proxy environment variables as following:
c:\>set http_proxy=http://localhost:1080
c:\>set https_proxy=http://localhost:1080
重点是https_prox=http:// 不是https://
4. 运行gclient
--
新建boto.cfg,输入内容
[Boto]
proxy=127.0.0.1
proxy_port=1080
cmd>set NO_AUTH_BOTO_CONFIG=E:\boto.cfg
下面直接编译bn\gn、ninja就没问题了。系统非unicode换成英文
编辑于 2020-04-01标签:http,1080,Dept,proxy,https,使用,tools,localhost 来源: https://www.cnblogs.com/managechina/p/15415518.html
本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享; 2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关; 3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关; 4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除; 5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。