0
点赞
收藏
分享

微信扫一扫

编译chromium 87 时用到的命令

guanguans 2022-01-04 阅读 42
gitgithub
配置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






举报

相关推荐

0 条评论