We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca51ae9 commit ff84d79Copy full SHA for ff84d79
hooks/build_chromium_pre.sh
@@ -5,4 +5,10 @@
5
# vanadium_dir="${ROOT_DIR}/vanadium"
6
# git clone https://github.com/GrapheneOS/Vanadium.git "${vanadium_dir}"
7
# cd "${CHROMIUM_BUILD_DIR}/src"
8
-# git am --whitespace=nowarn ${vanadium_dir}/patches/*.patch
+# git am --whitespace=nowarn ${vanadium_dir}/patches/*.patch
9
+
10
+echo "applying bromite patches"
11
+cd "${CHROMIUM_BUILD_DIR}/src"
12
+rm -rf .git/rebase-apply/
13
+# Apply the patches in the given order
14
+while IFS= read -r line; do git am --whitespace=nowarn "${BROMITE_DIR}/build/patches/$line"; done < "${BROMITE_DIR}/build/bromite_patches_list.txt"
0 commit comments