參考資料
- Get the Code: Checkout, Build, Run & Submit - The Chromium Projects
- depot_tools_tutorial(7)
- Chromium Development Calendar and Release Info - The Chromium Projects
步驟
1. 從這裡找到最近的 stable version VERSION
2. 取得程式和安裝相依套件
$ git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git $ export PATH=$PATH:/path/to/depot_tools $ fetch --nohooks chromium $ fetch --nohooks blink $ cd src $ ./build/install-build-deps.sh $ git checkout VERSION # 可和 git tag 對照一下 $ git show VERSION # 取得 commit 編號 COMMIT $ (edit ../.gclient) # 設 "safesync_url" 為 COMMIT $ gclient sync --with_branch_heads # 沒有 --with_branch_heads 會出錯
3. 產生編譯所需的檔案和編譯
$ cd /path/to/chromium/src $ gclient runhooks $ ./build/gyp_chromium $ ninja -C out/Debug chrome
http://www.top10webhostingsites.net/hosting/plan/cheap-hosting
回覆刪除