chrome devtools build

 

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

posted @ 2024-10-26 11:26  张保维  阅读(3)  评论(0编辑  收藏  举报