What is the latest stable version of Chromium source?

997 views
Skip to first unread message

gowtham raj

unread,
Apr 11, 2019, 11:26:43 AM4/11/19
to Chromium-dev
Hi Everyone,

What is the latest stable version of chromium source?

How to checkout and build the latest stable version of chromium source through command prompt?


I have already checking out master branch by following this above link. But its fetching master by default. Please tell us the steps of building the latest stable chromium source.

Regards,
Gowthamraj K

arthurs...@chromium.org

unread,
Apr 11, 2019, 11:42:26 AM4/11/19
to Chromium-dev
Hi gowtham@,

For each versions, the master branch is forked into a release branch. You can check it out using:
gclient sync --with_branch_heads
git fetch
git checkout branch-heads/3729  # M74 version for instance.


There is a table in https://www.chromium.org/developers/how-tos/drover giving you the branch number for each versions.

Christian Biesinger

unread,
Apr 11, 2019, 11:57:22 AM4/11/19
to arthurs...@chromium.org, Chromium-dev
After checking out the branch, do remember to run "gclient sync
--with_branch_heads"

Christian
> --
> --
> Chromium Developers mailing list: chromi...@chromium.org
> View archives, change email options, or unsubscribe:
> http://groups.google.com/a/chromium.org/group/chromium-dev
> ---
> You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
> To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/0d406f3c-fb4e-4651-999e-50ba6fd9dac9%40chromium.org.

Torne (Richard Coles)

unread,
Apr 11, 2019, 11:58:17 AM4/11/19
to arthurs...@chromium.org, Chromium-dev
If you just want to build a stable version and aren't intending to develop it and submit changes then you probably want to look at https://omahaproxy.appspot.com to see what the latest stable release for your platform is and check out that tag, rather than using a branch head.

--

gowtham raj

unread,
Apr 12, 2019, 1:45:54 AM4/12/19
to Chromium-dev, arthurs...@chromium.org
Hi @Torne,

Thanks for your reply,
I need to checkout the stable version 73.0.3683.103, 
Now i checkout the master source by using this below command ,  

fetch --nohooks --no-history chromium 
gclient sync
 

Then how to fetch the stable version from master?  Please help me to do this.

Regards, 
Gowtham K

Greg Thompson

unread,
Apr 12, 2019, 2:16:18 AM4/12/19
to gowthamra...@gmail.com, Chromium-dev, arthurs...@chromium.org

gowtham raj

unread,
Apr 12, 2019, 5:10:37 AM4/12/19
to Chromium-dev
Hi arthurs@,

Thanks for your reply,
In this table https://www.chromium.org/developers/how-tos/drover , latest stable of win64 is "refs/branch-heads/3683",  i need to checkout #M73 version.
Here the final version is 73.0.3683.103, so please check the below command for checking out specific tag version.

fetch --nohooks --no-history chromium
gclient sync --with_branch_heads
git fetch
git checkout branch-heads/3683

After the checkout, 
Build command  : gn gen --args="is_debug=false target_cpu=\"x86\"" out\\Default
Run command:    autoninja -C out\Default chrome

Thanks in Advance,
Gowtham 

Christian Biesinger

unread,
Apr 12, 2019, 10:02:03 AM4/12/19
to gowthamra...@gmail.com, Chromium-dev
I don't think you can use --no-history if you want to checkout branches/tags

Also, if you want to check out a specific version, you can "git
checkout 73.0.3683.103"

Finally, you will want to do this git checkout *before* gclient sync
--with_branch_heads

Christian
> --
> --
> Chromium Developers mailing list: chromi...@chromium.org
> View archives, change email options, or unsubscribe:
> http://groups.google.com/a/chromium.org/group/chromium-dev
> ---
> You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
> To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/91cde230-765f-4fa9-ae89-113a9122606b%40chromium.org.

gowtham raj

unread,
Apr 15, 2019, 1:53:07 AM4/15/19
to Chromium-dev, gowthamra...@gmail.com
Hi @Christian,

I have cloned the specific version by using this command, git clone -b "73.0.3683.103," https://chromium.googlesource.com/chromium/src.git 
And synced the related projects, "gclient sync --with_branch_heads

When i build the source in Release mode, the build was completed successfully but few assemblies and files are not generated, like ( chrome_child.dll,chrome.dll, v8_context_snapshot etc).

I used this command for build :

gn gen --args="is_debug=false target_cpu=\"x86\"" out\\MyBuild
autoninja -C out\MyBuild chrome


Please help us to do this.

Regards,
Gowtham 

Christian Biesinger

unread,
Apr 15, 2019, 12:35:08 PM4/15/19
to gowthamra...@gmail.com, Chromium-dev
That should have worked -- you are saying there were no errors from
the autoninja command? The last line was something like "[30000/30000]
LINK chrome"?


Christian

On Mon, Apr 15, 2019 at 12:53 AM gowtham raj
> To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/2cec2ff5-c597-4b19-8dd5-a127831232d2%40chromium.org.

Shailan Patel

unread,
May 1, 2019, 3:33:29 AM5/1/19
to Chromium-dev, gowthamra...@gmail.com
git clone -b "34.0.1847.131" https://chromium.googlesource.com/chromium/src.git

i ran the above command and it just fetches the same number of files as 



So it doesnt look like its actually an older build's source code, why is this?


Please see the logs:



Microsoft Windows [Version 10.0.14393]
(c) 2016 Microsoft Corporation. All rights reserved.

D:\chromium-oldbuild>git clone -b "34.0.1847.131" https://chromium.googlesource.com/chromium/src.git
Cloning into 'src'...
remote: Sending approximately 15.43 GiB ...
remote: Counting objects: 176785, done
remote: Finding sources: 100% (189/189)
Receiving objects:   2% (338920/12320397), 157.48 MiB | 11.08 MiB/s




Microsoft Windows [Version 10.0.14393]
(c) 2016 Microsoft Corporation. All rights reserved.

D:\oldbuild>git clone -b "73.0.3683.103" https://chromium.googlesource.com/chromium/src.git
Cloning into 'src'...
remote: Sending approximately 15.44 GiB ...
remote: Counting objects: 176785, done
remote: Finding sources: 100% (189/189)
fatal: index-pack failed(369612/12320397), 165.40 MiB | 11.39 MiB/s
Terminate batch job (Y/N)? y

D:\oldbuild>


As you can see both contain 12320397 files

Torne (Richard Coles)

unread,
May 1, 2019, 11:06:37 AM5/1/19
to shail...@gmail.com, Chromium-dev, gowthamra...@gmail.com
Git downloads the entire history of the repository by default, no matter which version you ask for. So, you have *all* versions, after either command, which is why it's the same size.

Also, note that you can't usefully clone the main repository by itself - you need to use fetch/gclient/etc as documented on our "getting the source" pages to get a working checkout, since we have several dozen different repositories that must be managed by a higher level tool.

Reply all
Reply to author
Forward
0 new messages