summaryrefslogtreecommitdiffhomepage
path: root/android
diff options
context:
space:
mode:
authorKalle Lindström <karl.lindstrom@mullvad.net>2025-08-28 08:25:10 +0200
committerKalle Lindström <karl.lindstrom@mullvad.net>2025-08-28 08:25:10 +0200
commit9413cc18a5990dcad153a60b5ea5ac7762600e03 (patch)
tree695efbf76cd6f6dd8792643d3cf517b46a4c1873 /android
parent4c08174a9f1dca598292d074a048922e1dd41234 (diff)
downloadmullvadvpn-9413cc18a5990dcad153a60b5ea5ac7762600e03.tar.xz
mullvadvpn-9413cc18a5990dcad153a60b5ea5ac7762600e03.zip
Update Android build documentation
Diffstat (limited to 'android')
-rw-r--r--android/BuildInstructions.md8
-rw-r--r--android/docs/BuildInstructions.macos.md6
2 files changed, 9 insertions, 5 deletions
diff --git a/android/BuildInstructions.md b/android/BuildInstructions.md
index 399ed41ad6..0574adfffe 100644
--- a/android/BuildInstructions.md
+++ b/android/BuildInstructions.md
@@ -160,8 +160,12 @@ environment variables:
.scripts/setup-rust install-hook
```
-#### 6. Download wireguard-go-rs submodule
-Run the following command to download wireguard-go-rs submodule: `git submodule update --init wireguard-go-rs/libwg/wireguard-go`
+#### 6. Download the wireguard-go-rs and rust-android-gradle-plugin submodules
+Run the following command to download the required submodules:
+
+```bash
+git submodule update --init wireguard-go-rs/libwg/wireguard-go android/rust-android-gradle-plugin
+```
### Debug build
Run the following command to build a debug build:
diff --git a/android/docs/BuildInstructions.macos.md b/android/docs/BuildInstructions.macos.md
index 87208e7d0c..97d7bd96d7 100644
--- a/android/docs/BuildInstructions.macos.md
+++ b/android/docs/BuildInstructions.macos.md
@@ -63,11 +63,11 @@ export CARGO_TARGET_I686_LINUX_ANDROID_LINKER="$NDK_TOOLCHAIN_DIR/i686-linux-and
export CARGO_TARGET_X86_64_LINUX_ANDROID_LINKER="$NDK_TOOLCHAIN_DIR/x86_64-linux-android26-clang"
```
-## 3. Checkout wireguard-go-rs submodule
-wireguard-go-rs submodule need to be downloaded:
+## 3. Checkout the wireguard-go-rs and rust-android-gradle-plugin submodules
+wireguard-go-rs and rust-android-gradle-plugin submodules need to be downloaded:
```bash
-git submodule update --init wireguard-go-rs/libwg/wireguard-go
+git submodule update --init wireguard-go-rs/libwg/wireguard-go android/rust-android-gradle-plugin
```
## 4. Debug build