Browse Source

nodejs: print messages to stdout instead of Android log

master
Leonid Plyushch 5 years ago
parent
commit
715f7e597d
  1. 1
      packages/nodejs/build.sh
  2. 12
      packages/nodejs/deps-v8-BUILD.gn.patch

1
packages/nodejs/build.sh

@ -2,6 +2,7 @@ TERMUX_PKG_HOMEPAGE=https://nodejs.org/
TERMUX_PKG_DESCRIPTION="Platform built on Chrome's JavaScript runtime for easily building fast, scalable network applications"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_VERSION=14.0.0
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://nodejs.org/dist/v${TERMUX_PKG_VERSION}/node-v${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_SHA256=6e220129f1d3101695ce63af59f353bd915bafbd61fb954010c6e59cf550c764
# Note that we do not use a shared libuv to avoid an issue with the Android

12
packages/nodejs/deps-v8-BUILD.gn.patch

@ -0,0 +1,12 @@
diff -uNr node-v14.0.0/deps/v8/BUILD.gn node-v14.0.0.mod/deps/v8/BUILD.gn
--- node-v14.0.0/deps/v8/BUILD.gn 2020-04-21 14:38:50.000000000 +0300
+++ node-v14.0.0.mod/deps/v8/BUILD.gn 2020-05-06 13:58:58.867691869 +0300
@@ -28,7 +28,7 @@
declare_args() {
# Print to stdout on Android.
- v8_android_log_stdout = false
+ v8_android_log_stdout = true
# Dynamically set an additional dependency from v8/custom_deps.
v8_custom_deps = ""
Loading…
Cancel
Save