android: support cross-compiling by moluopro · Pull Request #63061 · nodejs/node · GitHub
Skip to content

android: support cross-compiling - #63061

Open
moluopro wants to merge 16 commits into
nodejs:mainfrom
moluopro:main
Open

moluopro wants to merge 16 commits into
nodejs:mainfrom
moluopro:main

Conversation

@moluopro

@moluopro moluopro commented May 1, 2026 •

Copy link
Copy Markdown
Contributor

Changes

  • Support Android cross-compilation.
  • Document Android static archive output.

I’ve tested it on my local device, and it compiles successfully.

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@nodejs-github-bot nodejs-github-bot added build Issues and PRs related to Node.js builds or CI infrastructure. dependencies PRs that add, update, or configure Node.js dependencies. doc Issues and PRs related to Node.js documentation. gyp Issues and PRs related to GYP and .gyp or .gypi build files. libuv Issues and PRs related to the libuv dependency or the uv binding. meta Issues and PRs related to the general management of the project. needs-ci PRs that need a full CI run. tools Issues and PRs related to the tools directory. v8 engine Issues and PRs related to the V8 dependency. zlib Issues and PRs related to the zlib module and its compression dependencies. labels May 1, 2026
Comment thread .github/workflows/test-android.yml Outdated
@anonrig

anonrig commented May 1, 2026

Copy link
Copy Markdown
Member

cc @nodejs/build

@codecov

codecov Bot commented May 1, 2026 •

Copy link
Copy Markdown

moluopro added 15 commits July 2, 2026 04:08
Signed-off-by: moluopro <moluopro@qq.com>
Signed-off-by: moluopro <moluopro@qq.com>
Signed-off-by: moluopro <moluopro@qq.com>
Signed-off-by: moluopro <moluopro@qq.com>
Signed-off-by: moluopro <moluopro@qq.com>
Signed-off-by: moluopro <moluopro@qq.com>
Signed-off-by: moluopro <moluopro@qq.com>
Signed-off-by: moluopro <moluopro@qq.com>
Signed-off-by: moluopro <moluopro@qq.com>
Signed-off-by: moluopro <moluopro@qq.com>
Signed-off-by: moluopro <moluopro@qq.com>
Signed-off-by: moluopro <moluopro@qq.com>
Signed-off-by: moluopro <moluopro@qq.com>
Signed-off-by: moluopro <moluopro@qq.com>
The Android make generator needs Darwin-specific host archive and link
commands when cross-compiling on macOS.

Keep the default Android make command template unchanged and select
the Darwin host variant only while generating Android Makefiles on
macOS.

Signed-off-by: moluopro <moluopro@qq.com>
Signed-off-by: moluopro <moluopro@qq.com>
@moluopro
moluopro requested a review from anonrig July 2, 2026 05:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Issues and PRs related to Node.js builds or CI infrastructure. dependencies PRs that add, update, or configure Node.js dependencies. doc Issues and PRs related to Node.js documentation. gyp Issues and PRs related to GYP and .gyp or .gypi build files. libuv Issues and PRs related to the libuv dependency or the uv binding. meta Issues and PRs related to the general management of the project. needs-ci PRs that need a full CI run. tools Issues and PRs related to the tools directory. v8 engine Issues and PRs related to the V8 dependency. zlib Issues and PRs related to the zlib module and its compression dependencies.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants