To check from which revision a certain build is released, 輸入:chromium 版本如(51.0.2685.0)
chromium source refs?: 包含各個(gè)tag的chromium鏈接
chromium old versions:截止到2017-04-29最新版本為51.0.2685.0
chromium old versions: 這個(gè)更全面
目前沒(méi)有找到如何找出老版本的stable的某版本,如果誰(shuí)知道,麻煩留言告訴我。
準(zhǔn)備工作參考鏈接:https://chromium.googlesource.com/chromium/src/+/master/docs/windows_build_instructions.md#Install
搭配環(huán)境參考鏈接:http://blog.sina.com.cn/s/blog_62fa6fd00102wluv.html
步驟:
System requirements
A 64-bit Intel machine with at least 8GB of RAM. More than 16GB is highly recommended.
At least 100GB of free disk space on an NTFS-formatted hard drive. FAT32 will not work, as some of the Git packfiles are larger than 4GB.
Visual Studio 2015 Update 3, see below (no other version is supported).
Windows 7 or newer.
1、depot_tools,下載下來(lái)解壓 C:\src\depot_tools
2、設(shè)置環(huán)境變量:
?2.1、打開(kāi)環(huán)境變量設(shè)置界面?
Control Panel → System and Security → System → Advanced system settings
添加C:\src\depot_tools設(shè)置到Path里,貼到最前面
2.2、創(chuàng)建工程目錄文件夾:mkdir chromium&&cd chromium
搭配環(huán)境:
獲取編碼(VPN 8G流量):fetch --no-history chromium
得到 tag 名:git fetch origin tag 51.0.2685.0
切到自定義分支:git checkout -b 51sgg
同步分支代碼:gclient sync --with_branch_heads --jobs 16
生成配置文件:gn args out/Release_x32/
編譯:ninja -C out/Release_x32 chrome
args文件百度云盤鏈接:http://pan.baidu.com/s/1cAKnfg 密碼:vumz
發(fā)現(xiàn)編譯后,編譯出來(lái)的竟然是最新的60版本,實(shí)在不明白google這套怎么玩的,官網(wǎng)忽悠人,而且60版本的x86環(huán)境 gn args 報(bào)錯(cuò)。
gclient sync --with_branch_heads --jobs 16這個(gè)步驟會(huì)將代碼更新到最新的版本
為了規(guī)避google的chrome v53版本的bug:賽門鐵克ssl證書驗(yàn)證不過(guò)
經(jīng)過(guò)驗(yàn)證chrome 53版本該bug復(fù)現(xiàn),chrome 54以后都沒(méi)有問(wèn)題
chromium 53, 54, 56都有該問(wèn)題,57的沒(méi)有驗(yàn)證
chromium 52以前的版本沒(méi)有該問(wèn)題(經(jīng)過(guò)驗(yàn)證通過(guò))
chromium 51編輯環(huán)境不能搭建成功,在gclient sync --with_branch_heads總報(bào)錯(cuò),要么報(bào)deps tree錯(cuò)誤,要么要其他問(wèn)題,這一點(diǎn)google做的真的很差。
現(xiàn)在準(zhǔn)備找一個(gè)52版本stable的進(jìn)行開(kāi)發(fā),目前不知道如何得到chromium 老版本的stable的某個(gè)版本號(hào),只能谷歌搜出來(lái)52.0.2743.82。
57版本stable,等52試過(guò)后,環(huán)境如果還不行的話,則嘗試該版本
在Checkout & Sync 52.0.2743.82 - "fatal: reference is not a tree",總報(bào)這樣的錯(cuò)誤,51版本的時(shí)候也有這個(gè)問(wèn)題,經(jīng)過(guò)搜索,在Google Group里搜到了這個(gè)問(wèn)題,可能是fetch --no-history chromium引起的,If you fetch with no history than you can't easily checkout older releases that require the history. 看來(lái)正確的流程應(yīng)該是fetch chromium,不能用--no-history
經(jīng)過(guò)驗(yàn)證chromium 57沒(méi)有賽門鐵克ssl證書問(wèn)題
chromium 39以后版本的分支和穩(wěn)定版本的編譯安裝(windows版本),根據(jù)這個(gè)流程走了可以正常走通,cheers!
因?yàn)間mail的緣故 Gmail將不再支援Chrome 53以前版本,Windows XP、Vista受牽連,當(dāng)?shù)卿沢mail,我們的瀏覽器會(huì)被報(bào)不再受支持的chrome版本。
Chrome 55可減少占用一半內(nèi)存,現(xiàn)在需要將編譯57版本,搜出來(lái)57.0.2987.98?是穩(wěn)定版本,準(zhǔn)備編譯這個(gè)版本。