-
Notifications
You must be signed in to change notification settings - Fork 720
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
Android Build Support #70
Conversation
BoringSSL Android build instruction: https://boringssl.googlesource.com/boringssl/+/HEAD/BUILDING.md Note that arm64 works only. How to build: https://mozilla.github.io/firefox-browser-architecture/experiments/2017-09-21-rust-on-android.html When you have installed toolchain by make_standalone_toolchain.py and updated ~/.cargo/config, you can run build as follows: ``` env PATH=<path of clang>:$PATH cargo build --target aarch64-linux-android ```
Only aarch64 is tested. Need to take a look on 32-bit arm and x86 as well. |
Updated with helper script and documentation. |
arm 32bit and x86 is able to build now - API level should be >=21 for building ring and openssl both. |
939ccdc
to
2071b80
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks, lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but added some minor suggestions to improve some wording.
Co-Authored-By: Alessandro Ghedini <alessandro@ghedini.me>
7f27e2a
to
9f9b1c6
Compare
Updated with suggestions. Also rebased #71 (iOS) to sync up with this branch. Please take a look as well. |
Fix for #58
BoringSSL Android build instruction:
https://boringssl.googlesource.com/boringssl/+/HEAD/BUILDING.md
Note that arm64 works only.
How to build:
https://mozilla.github.io/firefox-browser-architecture/experiments/2017-09-21-rust-on-android.html
When you have installed toolchain by make_standalone_toolchain.py
and updated ~/.cargo/config, you can run build as follows: