| commit | c580d5585bc1db1fcf0d907a920136e556cf5bb2 | [log] [tgz] |
|---|---|---|
| author | pthier <pthier@chromium.org> | Thu Aug 28 13:08:09 2025 |
| committer | Node-ci LUCI CQ <node-ci-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Aug 28 13:53:35 2025 |
| tree | f5d6e33d5cd855d12a76cdd2692012794d2c99f4 | |
| parent | bfb2bfc2fab6c5c6721f660b788dab3b9a0f93a5 [diff] |
Update node - Update node to node-ci-2025-08-20 - Update all other deps to latest version (except depot_tools, which caused issues. On other bots we use the system depot_tools instead of the project specific third_party/ one, so we don't have issues there. We will change node-ci to also use the system depot_tools). Change-Id: I91333744d9f208e0393f95b5f79ec4e71abbd124 Reviewed-on: https://chromium-review.googlesource.com/c/v8/node-ci/+/6871413 Auto-Submit: Patrick Thier <pthier@chromium.org> Reviewed-by: Victor Gomes <victorgomes@chromium.org> Commit-Queue: Victor Gomes <victorgomes@chromium.org>
This project is a set of dependency and build configurations to build Node.js with GN.
V8 was originally built with SCons. Following Chromium, it made the switch to GYP, completing around 2012. That was when Node.js started its success story. However, again following Chromium, V8 made the switch to GN, completing in 2016. So far, Node.js has hesitated in adopting GN. One of the reasons is its now established native modules ecosystem that relies on GYP for build configuration.
Electron, having both Chromium and Node.js as its dependencies, adopted GN. Many files in this repository have been derived from the Electron project, with appropriate changes to avoid the need for forking files, to implement a standalone build, or to fix test failures.
Some reading material:
Get depot_tools first.
mkdir node-ci cd node-ci fetch node-ci
Alternatively, you can
mkdir node-ci cd node-ci git clone https://chromium.googlesource.com/v8/node-ci gclient config https://chromium.googlesource.com/v8/node-ci --unmanaged
cd node-ci make deps make node
JOBS=4 make test
For more advanced build options, check out tools/gn-gen.py --help.
To update a dependency, e.g. V8 or Node.js, use gclient to update DEPS.
gclient setdep --var=v8_revision=<updated-git-hash>
To apply changes, e.g. for local testing, use git:
cd v8 git remote add local-v8 <path-to-v8-checkout>/.git git fetch local-v8 git checkout local-v8/<your-branch>
DEPS.