Skip to content

Commit a190a5e

Browse files
committed
Merge branch 'bump-android-container-to-7b4ffb683'
2 parents 6bf6a09 + 4c7b69b commit a190a5e

File tree

6 files changed

+8
-17
lines changed

6 files changed

+8
-17
lines changed

.github/workflows/android-app.yml

-2
Original file line numberDiff line numberDiff line change
@@ -206,8 +206,6 @@ jobs:
206206
RUSTFLAGS: --deny warnings
207207
BUILD_TYPE: debug
208208
run: |
209-
# Temporary fix to address maybenot.h build issues.
210-
cargo install --force cbindgen --version "0.26.0"
211209
ARCHITECTURES="${{ matrix.abi }}"
212210
UNSTRIPPED_LIB_PATH="$CARGO_TARGET_DIR/${{ matrix.target }}/$BUILD_TYPE/libmullvad_jni.so"
213211
STRIPPED_LIB_PATH="./android/app/build/extraJni/${{ matrix.abi }}/libmullvad_jni.so"

.github/workflows/rust-unused-dependencies.yml

-6
Original file line numberDiff line numberDiff line change
@@ -81,12 +81,6 @@ jobs:
8181
git config --global --add safe.directory '*'
8282
git submodule update --init --recursive --depth=1 wireguard-go-rs
8383
84-
- name: Install cbindgen
85-
run: |
86-
# Temporary fix to address maybenot.h build issues.
87-
# Remove this step when cbindgen has been added to the build container.
88-
cargo install --force cbindgen --version "0.26.0"
89-
9084
- name: Install nightly Rust toolchain
9185
run: |
9286
rustup default $RUST_NIGHTLY_TOOLCHAIN

android/BuildInstructions.md

+2
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,8 @@ Linux distro:
128128
#### 5. Install and configure Rust toolchain
129129

130130
- Get the latest **stable** Rust toolchain via [rustup.rs](https://rustup.rs/).
131+
Also install `cbindgen` which is required to build `wireguard-go-rs`:
132+
`cargo install --force cbindgen`
131133

132134
- Configure Android cross-compilation targets and set up linker and archiver. This can be done by setting the following
133135
environment variables:

android/docs/BuildInstructions.macos.md

+5
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ Finish the install of `rustup`:
2828
rustup-init
2929
```
3030

31+
Install `cbindgen` which is required to build `wireguard-go-rs`:
32+
```bash
33+
cargo install --force cbindgen
34+
```
35+
3136
## 2. Install SDK Tools and Android NDK Toolchain
3237
Open Android Studio -> Tools -> SDK Manager, and install `Android SDK Command-line Tools (latest)`.
3338

build-apk.sh

-8
Original file line numberDiff line numberDiff line change
@@ -77,14 +77,6 @@ mkdir -p "app/build/extraAssets"
7777
mkdir -p "app/build/extraJni"
7878
popd
7979

80-
# Temporary fix to address maybenot.h (checked in) sometimes needing to be
81-
# re-generated due to how `make` looks at last-modifications while git neither
82-
# stores nor consistently sets modification metadata on file checkout.
83-
#
84-
# NOTE: The version should match the one used in the checked in
85-
# maybenot.h file.
86-
cargo install --force cbindgen --version "0.26.0"
87-
8880
for ARCHITECTURE in ${ARCHITECTURES:-aarch64 armv7 x86_64 i686}; do
8981
case "$ARCHITECTURE" in
9082
"x86_64")

building/android-container-image.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ghcr.io/mullvad/mullvadvpn-app-build-android:63e6d7303
1+
ghcr.io/mullvad/mullvadvpn-app-build-android:7b4ffb683

0 commit comments

Comments
 (0)