From 0647cb311e4b5e25dbdcdf227bc7a455cc6dce2d Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Mon, 1 Apr 2019 19:41:32 +0200 Subject: build script and patches --- deps/README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 deps/README.md (limited to 'deps/README.md') diff --git a/deps/README.md b/deps/README.md new file mode 100644 index 00000000..3325702b --- /dev/null +++ b/deps/README.md @@ -0,0 +1,14 @@ +Building node for Android isn't officially supported, so there are some difficulties: + +* Node tries to build v8 via gyp, but the gyp build is broken for cross-compiling to Android. + Also, the V8 team doesn't maintain the gyp build files anymore. Only the gn build (gn is Chromium's build + tool) works. +* The --build-v8-with-gn option for node is also broken. + + +We build node with the --without-bundled-v8 option. This is necessary since we +manually have to compile the bundled v8. + + +Resources: +* https://v8.dev/docs/cross-compile-arm -- cgit v1.2.3