commit | 04aa89263eb5d8bd8162160d8c47ee21421c743b | [log] [tgz] |
---|---|---|
author | Yang Guo <yangguo@chromium.org> | Thu Feb 14 14:47:24 2019 |
committer | Yang Guo <yangguo@chromium.org> | Thu Feb 14 14:47:48 2019 |
tree | 4595951e16d7e4d497227dcac984445c2e8a54ac | |
parent | 2057e0884ee9006408d1636046ca14a12f969389 [diff] |
Add option to disable start up code cache TBR=machenbach@chromium.org Bug: v8:8772 Change-Id: Ia5a6599e221f5ba19cc41ab854e0e89faab0a986 Reviewed-on: https://chromium-review.googlesource.com/c/1472758 Reviewed-by: Yang Guo <yangguo@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
DEPS
.