Reputation: 39
I need to get the source code of Chromium 88. However, officially proposed $ fetch chromium
in depot_tools
automatically downloads source files from the master branch and does not allow to choose a particular version. Is there a possibility to get (and successfully compile using depot_tools ninja
) the source code of Chromium 88, while Chromium 92 is the most recent build?
Upvotes: 3
Views: 2450
Reputation: 3371
The master branch of Chromium is not a stable version. Chromium versions are represented by tags. After fetching Chromium source code, you will have to follow the following steps:
From src
directory:
Fetch all the tags:
git fetch --tags
Checkout the version you want:
git checkout tags/88.0.4324.86
Pull third-party deps:
gclient sync
Now, you should be able to compile Chromium:
gn gen out\YourBuildFolder
ninja -C out\YourBuildFolder
I have posted more info here
Upvotes: 3
Reputation: 14859
That repo is mirrored in GitHub, where you can grab many branches and tags.
https://github.com/chromium/chromium
Once you clone the repo, you can checkout versions by tag (build number).
git checkout 92.0.4482.3
Upvotes: 1