summaryrefslogtreecommitdiffhomepage
path: root/android
diff options
context:
space:
mode:
authorAlbin <albin@mullvad.net>2024-09-20 16:01:55 +0200
committerAlbin <albin@mullvad.net>2024-09-20 16:01:55 +0200
commita190a5e86a2454e5db98f3f84b43c65d5485628c (patch)
tree1c675a5f992abb0b9e7f17507402faa13db684f4 /android
parent6bf6a096609f8de451b20228be6f266ec3a396f7 (diff)
parent4c7b69b4a34ef63b18a86ff19f152e16b372c9e4 (diff)
downloadmullvadvpn-a190a5e86a2454e5db98f3f84b43c65d5485628c.tar.xz
mullvadvpn-a190a5e86a2454e5db98f3f84b43c65d5485628c.zip
Merge branch 'bump-android-container-to-7b4ffb683'
Diffstat (limited to 'android')
-rw-r--r--android/BuildInstructions.md2
-rw-r--r--android/docs/BuildInstructions.macos.md5
2 files changed, 7 insertions, 0 deletions
diff --git a/android/BuildInstructions.md b/android/BuildInstructions.md
index fdbea86715..39cf2ad771 100644
--- a/android/BuildInstructions.md
+++ b/android/BuildInstructions.md
@@ -128,6 +128,8 @@ Linux distro:
#### 5. Install and configure Rust toolchain
- Get the latest **stable** Rust toolchain via [rustup.rs](https://rustup.rs/).
+ Also install `cbindgen` which is required to build `wireguard-go-rs`:
+ `cargo install --force cbindgen`
- Configure Android cross-compilation targets and set up linker and archiver. This can be done by setting the following
environment variables:
diff --git a/android/docs/BuildInstructions.macos.md b/android/docs/BuildInstructions.macos.md
index 01546c570a..cf26a297d8 100644
--- a/android/docs/BuildInstructions.macos.md
+++ b/android/docs/BuildInstructions.macos.md
@@ -28,6 +28,11 @@ Finish the install of `rustup`:
rustup-init
```
+Install `cbindgen` which is required to build `wireguard-go-rs`:
+```bash
+cargo install --force cbindgen
+```
+
## 2. Install SDK Tools and Android NDK Toolchain
Open Android Studio -> Tools -> SDK Manager, and install `Android SDK Command-line Tools (latest)`.