Skip to content

Commit

Permalink
Rename build-apk.sh to build.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Rawa committed Dec 19, 2024
1 parent bccd766 commit c0bed1d
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions android/BuildInstructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,15 +162,15 @@ Run the following command to download wireguard-go-rs submodule: `git submodule
### Debug build
Run the following command to build a debug build:
```bash
../android/build-apk.sh --dev-build
../android/build.sh --dev-build
```

### Release build
1. Configure a signing key by following [these instructions](#configure-signing-key).
2. Move, copy or symlink the directory from step 1 to [./credentials/](./credentials/) (`<repository>/android/credentials/`).
3. Run the following command to build:
```bash
../android/build-apk.sh --app-bundle
../android/build.sh --app-bundle
```

## Configure signing key
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion android/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# -v $GRADLE_CACHE_VOLUME_NAME:/root/.gradle:Z \
# -v $ANDROID_CREDENTIALS_DIR:/build/android/credentials:Z \
# -v /path/to/repository_root:/build:Z \
# mullvadvpn-app-build-android ./build-apk.sh --dev-build
# mullvadvpn-app-build-android ./android/build.sh --dev-build
#
# See the base image Dockerfile in the repository root (../../Dockerfile)
# for more information.
Expand Down
2 changes: 1 addition & 1 deletion android/docs/BuildInstructions.macos.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ git submodule update --init --recursive --depth=1 wireguard-go-rs
Run the build script in the root of the project to assemble all the native libraries and the app:

```bash
./android/build-apk.sh --dev-build
./android/build.sh --dev-build
```

Once the build is complete you should receive a message looking similar to this:
Expand Down
4 changes: 2 additions & 2 deletions android/docs/DebugInstructions.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## Debugging the native libraries in Android Studio with LLDB

1. Make sure the native libraries have been built with debug symbols. If using the `build-apk.sh`
script, run `SKIP_STRIPPING=yes ../build-apk.sh --dev-build`.
1. Make sure the native libraries have been built with debug symbols. If using the `android/build.sh`
script, run `SKIP_STRIPPING=yes ./android/build.sh --dev-build`.
2. In Android Studio, go to `Run -> Edit configurations...`
3. Make sure the `app` configuration is selected.
4. In the `Debugger` tab, select `Dual (Java + Native)`
Expand Down
2 changes: 1 addition & 1 deletion building/containerized-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ case $platform in
shift 1
;;
android)
build_command=("./android/build-apk.sh")
build_command=("./android/build.sh")
shift 1
;;
*)
Expand Down

0 comments on commit c0bed1d

Please sign in to comment.