From f6fa504383cf94eee74b9d7271dc8d1c5100b4a6 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Tue, 16 Aug 2022 09:57:39 -0400 Subject: [PATCH] reorder Vanadium build guide gclient sync needs to be run after applying patches since our patches currently changes the dependencies. --- static/build.html | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/static/build.html b/static/build.html index c0a963c8..6b73d8ee 100644 --- a/static/build.html +++ b/static/build.html @@ -844,13 +844,16 @@ git checkout $CORRECT_BRANCH_OR_TAG
cd src
 git fetch --tags
-git checkout $VERSION
-gclient sync -D --with_branch_heads --with_tags --jobs 32
+git checkout $VERSION

Apply the GrapheneOS patches on top of the tagged release:

git am --whitespace=nowarn --keep-non-patch ../patches/*.patch
+

Sync submodules and obtain build dependencies:

+ +
gclient sync -D --with_branch_heads --with_tags --jobs 32
+

Then, configure the build in the src directory:

gn args out/Default