其他分享
首页 > 其他分享> > 编译chromium 87 时用到的命令

编译chromium 87 时用到的命令

作者:互联网

配置git和cmd代理
set http_proxy=http://127.0.0.1:10809
set https_proxy=http://127.0.0.1:10809
git config --global http.proxy “127.0.0.1:10809”
git config --global https.proxy “127.0.0.1:10809”
set DEPOT_TOOLS_WIN_TOOLCHAIN = 0
set NO_AUTH_BOTO_CONFIG=c:\chromium\boto.cfg
set DEPOT_TOOLS_UPDATE = 0

取消git代理

git config --global --unset http.proxy
git config --global --unset https.proxy

cd c:/chromium

拉代码命令

fetch chromium
fetch --no-history chromium

git reset --hard 87.0.4272.0


// gclient sync -D --force --reset --with_branch_heads

git pull

gclient runhooks

gclient sync --nohooks

gclient runhooks

gn gen out\Default   --args="target_cpu=\"x86\"   target_os = \"win\"  is_official_build = true  chrome_pgo_phase = 0 is_debug = false proprietary_codecs = true ffmpeg_branding = \"Chrome\""

ninja -C out/Default mini_installer






标签:git,http,--,编译,set,proxy,chromium,87
来源: https://blog.csdn.net/elicscc/article/details/122034323