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