1, git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
2,將depot_tools的目錄加到系統環境變數中
set http_proxy=127.0.0.1:埠號 set https_proxy=127.0.0.1:埠
$env:http_proxy="127.0.0.1:埠號" $env:https_proxy="127.0.0.1:埠號"
3,gclient
4 mkdir devtools
cd devtools
fetch devtools-frontend
4,
cd devtools-frontend
gclient sync
gn gen out/Default
autoninja -C out/Default
from:https://blog.csdn.net/sdpyly/article/details/127720079