配置git和cmd代理
set http_proxy=http:
set https_proxy=http:
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
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