我不想构建master分支。相反,我想构建一个特定的标签,其最新的稳定版本与我的桌面Chrome相同。
这可能是获取Chromium源代码的最快方法。假设59.0.3071.115
是Chromium的版本,你想建立。您运行此命令:
git fetch https://chromium.googlesource.com/chromium/src.git +refs/tags/59.0.3071.115:chromium_59.0.3071.115
如果您不想获取历史记录(更快地获取Chromium源代码):
git fetch https://chromium.googlesource.com/chromium/src.git +refs/tags/59.0.3071.115:chromium_59.0.3071.115 --depth 1
然后运行此命令以提取第三方依赖项:
gclient sync --with_branch_heads
不要忘记附加--with_branch_heads
,因为我们已经使用特定标记。
最后,运行以下命令:
gclient runhooks
你可以从这个页面找到Chromium最新稳定版本:https://www.chromium.org/developers/calendar截至目前73.0.3683.103
是Chromium最新稳定版本
现在,您应该能够构建Chromium。如果有效,请告诉我