Page 1 of 1

Build a CEF version with specific version of chromium

PostPosted: Mon Oct 21, 2019 3:34 am
by tgayet
Hi guys,

i was using the spotify (http://opensource.spotify.com/cefbuilds/index.html) build but now i need to rebuild a custom version.

Each version is associated by a couple of version (CEF + Chromium).

Ex :
    CEF 77.1.18+g8e8d602+chromium-77.0.3865.120
    CEF 77.1.14+g4fb61d2+chromium-77.0.3865.120

By using the official wiki i have followed all instructions (https://bitbucket.org/chromiumembedded/ ... QuickStart) but i am looking for the right location where i can specify the CEF and the chromium version.

In the ~/code/chromium_git/chromium/src i have well found the chromium version among the official tags (eg : 77.0.3865.120) but i cannot found the cef version (no tag in chromium_git/cef ??).

I have seen in the update.sh script that a parameter was used (--branch=%cef_branch%) ; is it the way to specify the CEF version ? if so how to find it ? Waht is the best way to find the couple of versions CEF / Chromium 'cos not all couple can be use : only a specific version of cef can work with chromium.

I have read the following document from the official wiki (https://bitbucket.org/chromiumembedded/ ... ndBuilding) but i cannot found the detail of the association of a CEF/Chromium version, only branches (branch 3904 : Chromium 78 / cef 78).

Thanks in advance of your reply.

Feel free to reach me if you need more details.

BR

Thierry

Re: Build a CEF version with specific version of chromium

PostPosted: Mon Oct 21, 2019 4:13 am
by Czarek
Chromium version is specified in CHROMIUM_BUILD_COMPATIBILITY.txt file in CEF repository. It will be different depending on which branch / commit you checkout. You can also specify CEF and Chromium versions using --checkout and --chromium-checkout switches passed to automate-git.py. Type --help switch to see all options and their descriptions.

Re: Build a CEF version with specific version of chromium

PostPosted: Mon Oct 21, 2019 4:32 am
by tgayet
yes thanks but i have ever read that.

is it normal that that cef git repo doesn't have any TAG ?

The spotify build seem to declare a short git sha1 (Eg: 77.1.18+g8e8d602) but i cannot found them on the CEF git repo .

BR
Thierry

Re: Build a CEF version with specific version of chromium

PostPosted: Mon Oct 21, 2019 4:45 am
by Czarek
"gXXXX" is commit hash (cut the "g"). You can find commits here: https://bitbucket.org/chromiumembedded/cef/commits/all
For CEF version numbering see: https://bitbucket.org/chromiumembedded/ ... ber-format