简体   繁体   English

如何使用gclient从Git下载Chromium的较旧分支?

[英]How to download an older branch of Chromium from Git using gclient?

I need to build an older version that still supports NPAPI to run the Java Plugin but I can't seem to find the correct syntax to pull it, here's my .glient which pulls the latest revision: 我需要构建一个仍旧支持NPAPI的旧版本来运行Java插件,但是我似乎找不到正确的语法来提取它,这是我的.glient提取了最新版本:

solutions = [
  {
    "managed": False,
    "name": "src",
    "url": "https://chromium.googlesource.com/chromium/src.git",
    "custom_deps": {},
    "deps_file": ".DEPS.git",
    "safesync_url": "",
  },
]

And to sync I would use: 要同步,我将使用:

gclient sync

There's a specific page on chromium.org that explains how to check out the source of a specific release. chromium.org上有一个特定页面,页面说明了如何检查特定版本的来源。 You should follow the instructions there. 您应该按照那里的说明进行操作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM