improve Chromium sync instructions

This commit is contained in:
Daniel Micay 2020-11-11 18:39:13 -05:00
parent 1a8bb04a8c
commit 880d6477ab

View File

@ -764,12 +764,14 @@ git checkout $CORRECT_BRANCH_OR_TAG</pre>
<p>Sync to the latest stable release for Android (replace $VERSION with the correct <p>Sync to the latest stable release for Android (replace $VERSION with the correct
value):</p> value):</p>
<pre>gclient sync -D --with_branch_heads --with_tags -r $VERSION --jobs 32</pre> <pre>cd src
git fetch --tags
git checkout $VERSION
gclient sync -D --with_branch_heads --with_tags --jobs 32</pre>
<p>Apply the GrapheneOS patches on top of the tagged release:</p> <p>Apply the GrapheneOS patches on top of the tagged release:</p>
<pre>cd src <pre>git am --whitespace=nowarn ../patches/*.patch</pre>
git am --whitespace=nowarn ../patches/*.patch</pre>
<p>Then, configure the build in the <code>src</code> directory:</p> <p>Then, configure the build in the <code>src</code> directory:</p>