Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add android support #1

Merged
merged 3 commits into from
Oct 28, 2024
Merged

Conversation

theoparis
Copy link
Contributor

@theoparis theoparis commented Oct 28, 2024

This is a WIP PR that adds Android support. An apk can be built and tested with cargo-apk via cargo apk build, provided that you have an Android SDK/NDK installation.
I also switched fontconfig for font-kit, which has better platform support using MultiSource. font-kit fails to compile with the latest nightly rust due to pathfinder_simd, so I have added a temporary patch using my fork to Cargo.toml.

Unfortunately It does seem like cargo-apk is deprecated. The alternative, xbuild, requires rustup and a bunch of other prebuilt binaries... See rust-mobile/cargo-apk#66

@mizz1e
Copy link
Collaborator

mizz1e commented Oct 28, 2024

very epic

@mizz1e mizz1e marked this pull request as ready for review October 28, 2024 07:57
@mizz1e mizz1e merged commit 4746989 into cult-of-mari:master Oct 28, 2024
@theoparis theoparis deleted the theoparis/android branch October 28, 2024 08:07
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