mirror of
https://github.com/electron/electron.git
synced 2026-05-02 03:00:22 -04:00
* chore: cherry-pick b149a5c62d76 from angle * chore: cherry-pick 4073d491fb55 from chromium * chore: cherry-pick 0566b2f5f0d1 from skia * chore: cherry-pick 8c1ead5a699f from chromium * chore: cherry-pick 8b08fb7c9dce from chromium * chore: cherry-pick be87466afecb from chromium * chore: cherry-pick c215f8e6f049 from chromium * chore: cherry-pick 036e5e8f69be from v8 * chore: cherry-pick a6357144e7bf from chromium * chore: cherry-pick 3f9969421ad5 from skia * chore: cherry-pick ca8a943c247c from pdfium * chore: cherry-pick 07398289d921 from v8 * chore: cherry-pick 41bfbc009df8 from chromium * chore: cherry-pick 4002a66778d2 from chromium * chore: cherry-pick 23865499a86a from chromium * chore: cherry-pick 7c11e1188705 from dawn * chore: cherry-pick c81f01b469c4 from chromium * chore: cherry-pick 1b69067db7d2 from chromium * chore: cherry-pick d513cd2fe668 from chromium * chore: cherry-pick bb8d4c29dfdb from chromium * chore: cherry-pick 847b11ad2fa3 from chromium * chore: cherry-pick bce2e6728279 from pdfium * chore: cherry-pick eeb3e031eb89 from chromium * chore: cherry-pick a068030f5179 from v8 * chore: cherry-pick 4 changes from libaom and add new patch dirs to config.json * chore: update patches (e sync --3 resolved; drop dawn — no M146 upstream merge) * chore: update patches --------- Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Exporting node's patches to v8
$ cd third_party/electron_node
$ CURRENT_NODE_VERSION=vX.Y.Z # e.g. v10.11.0
# Find the last commit with the message "deps: update V8 to <some version>"
# This commit corresponds to node resetting V8 to its pristine upstream
# state at the stated version.
$ LAST_V8_UPDATE="$(git log --grep='^deps: update V8' --format='%H' -1 deps/v8)"
# This creates a patch file containing all changes in deps/v8 from
# $LAST_V8_UPDATE up to the current node version, formatted in a way that
# it will apply cleanly to the V8 repository (i.e. with `deps/v8`
# stripped off the path and excluding the v8/gypfiles directory, which
# isn't present in V8.
$ git format-patch \
--relative=deps/v8 \
$LAST_V8_UPDATE..$CURRENT_NODE_VERSION \
deps/v8 \
':(exclude)deps/v8/gypfiles' \
--stdout
When upgrading to a new version of node, make sure to match node's patches to
v8 by removing all the deps_* patches and re-exporting node's v8 patches
using the process above.