[Android] buildsystem: Require Node 22 when building remote access main branch
Nicolas Pomepuy
git at videolan.org
Tue Nov 3 10:49:50 UTC 2026
vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Fri Oct 30 12:56:19 2026 +0100| [8d210caf06e1960f1df485e4b7670128d9f12408] | committer: Nicolas Pomepuy
buildsystem: Require Node 22 when building remote access main branch
Enforce Node 22 in buildsystem/compile-remoteaccess.sh only when the --main flag is passed.
> https://code.videolan.org/videolan/vlc-android/commit/8d210caf06e1960f1df485e4b7670128d9f12408
---
buildsystem/compile-remoteaccess.sh | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/buildsystem/compile-remoteaccess.sh b/buildsystem/compile-remoteaccess.sh
index 9016b12ea6..47763d4071 100755
--- a/buildsystem/compile-remoteaccess.sh
+++ b/buildsystem/compile-remoteaccess.sh
@@ -114,6 +114,13 @@ if [ "$INIT_ONLY" != 1 ]; then
diagnostic "Building the Remote Access project"
cd "$VLC_REMOTE_ACCESS_PATH"
+ if [ "$USE_MAIN" = 1 ]; then
+ NODE_VERSION=$(node -v 2>/dev/null | sed -E 's/^v([0-9]+).*/\1/')
+ if [ "$NODE_VERSION" != "22" ]; then
+ fail "Node 22 is required to build the remote access main branch (found Node v${NODE_VERSION:-unknown})."
+ fi
+ fi
+
npm install
npm run build-android
cd "$CURRENT_DIR"
More information about the Android
mailing list