I want to build the latest stable version of Chromium (62.0.3202.84
at the time of writing, see OmahaProxy).
The build instructions work just fine for the current development version.
From this question, the Brave wiki and some other sources, the instructions to fetch and build a specific version seem to be pretty clear :
git fetch origin 62.0.3202.84
git checkout -b my_stable_branch FETCH_HEAD
# hooks and dependencies if needed, commits, compilation...
However, this does not seem to work for me. When I create a branch for FETCH_HEAD
, a quick git log
shows that I have the latest commits from master
.
What am I misunderstanding ?
EDIT:
If I do the steps from Asesh's answer from master
, it runs “successfully” but I still end up building master
instead of what I want.
If I first create a branch from a specific tag (as specified in the Chromium documentation), like 62.0.3202.84
, or even if I just check it out without branching, gclient sync --with_branch_heads
fails giving me the following error :
Error: Command 'git checkout --quiet 6e4c388c0117fe408b66fbede91081fb1018c5fe' returned non-zero exit status 128 in /path/to/chromium/src/media/cdm/api
fatal: reference is not a tree: 6e4c388c0117fe408b66fbede91081fb1018c5fe