Skip to content

Fix android linking in CI - #804

Open
jschwe wants to merge 2 commits into
servo:mainfrom
jschwe:android-linking
Open

Fix android linking in CI#804
jschwe wants to merge 2 commits into
servo:mainfrom
jschwe:android-linking

Conversation

@jschwe

@jschwe jschwe commented Aug 24, 2026

Copy link
Copy Markdown
Member
  • Adjust the script to support macos
  • Exit early if missing --target
  • Use cross-compile wrappers
  • Set the linker, so we can link tests

Testing: This adds linking the unit-tests for android to CI

jschwe added 2 commits August 24, 2026 19:46
Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
- Adjust the script to support macos
- Exit early if missing --target
- Use cross-compile wrappers
- Set the linker, so we can link tests

Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
@jschwe
jschwe marked this pull request as ready for review August 24, 2026 18:54
@jschwe

jschwe commented Aug 24, 2026

Copy link
Copy Markdown
Member Author

Okay, cherry-picked onto the 153 branch the tests still build and link, so thats good (only tested with the 28 NDK though).

Comment thread android-build

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't this be replaced by cargo-ndk?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes it would be. I don't think I'll have time for working on a cargo-ndk PR in the close future though (it might just work, but chances are it doesn't)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants