summaryrefslogtreecommitdiffhomepage
path: root/build-apk.sh
AgeCommit message (Collapse)AuthorFilesLines
2025-01-08Add gradle rust pluginJonatan Rhodin1-151/+0
2024-12-12Remove machines file except on WindowsDavid Lönnhager1-3/+0
2024-12-03Publish stagemole flavor in build scriptAlbin1-7/+27
2024-11-12Use maybenotv2 on iOS, remove maybenotv1Emīls1-1/+1
2024-10-30Add back maybenot_machines version 1Joakim Hulthe1-1/+1
2024-09-20Clean up actions and workflows from cbindgenAlbin1-8/+0
2024-09-06Install cbindgen in build script and workflowAlbin1-0/+8
Temporary fix to address maybenot.h (checked in) sometimes needing to be re-generated due to how `make` looks at last-modifications while git neither stores nor consistently sets modification metadata on file checkout. NOTE: The version should match the one used in the checked in maybenot.h file.
2024-09-06Add daita grpc and uiAlbin1-0/+3
2024-08-15Refactor lockfile script and gradle tasksAlbin1-1/+2
2024-06-26Remove `--no-docker` flag in `build-apk.sh`Markus Pettersson1-6/+0
Align `build-apk.sh` with `build.sh`
2024-02-02Properly pass arguments to Cargo in `build-apk.sh`Markus Pettersson1-6/+6
The `build-apk.sh` script broke in b6e0545e1b5ae2fbcb6655bd4d28739cf9f943d6 due to quoting a variable containing a string with space seperated arguments. While it is best practice to quote variables to prevent word splitting, word splitting was the behavior that we wanted in this particular case. This commit fixes this issue by building an array of arguments instead, which when expanded will pass along the arguments to `cargo build` properly as multiple strings. The script now works, and `shellcheck` is happy!
2024-02-02Fix `shellcheck` lints of our various bash scriptsSebastian Holmin1-3/+3
The following lints have been fixed: SC2046,SC2086,SC2068,SC2148,SC2007,SC2004,SC2006, SC2164,SC2145,SC1091,SC2034,SC2155.
2023-11-27Only build devmole and stagemole builds when api-override supportedAlbin1-2/+4
2023-11-20Publish play apkAlbin1-1/+1
This commit changes so that the play apk is built and published in addition to the previously published bundle. This change primarily simplifies getting ahold of builds for testing.
2023-11-16Remove release flag for apk builds with --dev-build flagJonatan Rhodin1-0/+1
2023-11-07Allow api override for non-release tag buildsAlbin1-1/+2
2023-10-23Build stage and dev builds in build scriptAlbin1-8/+8
This commit adds stagemole and devmole builds in the android builds script. This includes both bundles and apks.
2023-09-21Use new gradle tasks in the build scriptAlbin1-18/+6
2023-03-14Bump NDK version to r25cAlbin1-5/+1
2023-01-20Move dist-assets/relays.json to build/relays.jsonLinus Färnstrand1-1/+1
2022-12-08Change Android signing keystore pathAlbin1-1/+1
Changes the keystore and keystore property file path to make it easier to use for containerized builds, especially in terms of mounting. New path: android/app/credentials/{app-keys.jks,keystore.properties} As the storeFile property is relative to the app build gradle files it's now set by the gradle script rather than reading the property.
2022-11-28Set android build daemon stripping conditionallyAlbin1-4/+6
The default behavior is to strip, but this can be set using either the environment variable `SKIP_STRIPPING=yes` or by running the build script with the skip stripping flag: `./build-apk.sh --skip-stripping`
2022-11-28Conditionally compile some API override fieldsDavid Lönnhager1-1/+1
2022-10-20Print version feedback in Android build scriptAlbin1-2/+5
2022-10-10Make Android fetch versionName and versionCode from mullvad-versionLinus Färnstrand1-18/+2
2022-09-01Use CARGO_TARGET_DIR env variableEmīls Piņķis1-4/+5
Using the environment variable in build-apk.sh allows one to use arbitrary target directories. This helps with separate android target directories for android build containers.
2022-09-01Don't strip daemon shared object in development buildsEmīls Piņķis1-1/+6
To help with debugging panics in the dameon, the dev builds shouldn't strip the debug symbols from the shared object. However, doing this blows up the gradle build so it's memory limit needs to be bumped too.
2022-03-01Remove API address rotationDavid Lönnhager1-2/+0
2022-01-05Migrade gradle scripts to kotlin/ktsAlbin1-1/+1
2021-12-30Make build-apk.sh use cargo run directly to get relay list etcLinus Färnstrand1-2/+4
2021-12-30Remove `+stable` from cargo args. Build with default toolchainLinus Färnstrand1-2/+2
2021-12-16Split Android project and app moduleAlbin1-5/+5
The purpose of this is to: * Comply better with the default Android project structure (see https://developer.android.com/studio/build). * Avoid conflicts between project and app dependencies and plugins.
2021-05-27Add `--no-docker` option to `build-apk.sh` scriptJanito Vaqueiro Ferreira Filho1-0/+2
Which will then call `wireguard/libwg/build-android.sh` with the `--no-docker` flag set.
2021-05-27Use existing `$ARCHITECTURES` env. var.Janito Vaqueiro Ferreira Filho1-3/+1
Set the default to be all platforms, but allow it to be overriden when building for a sub-set of the supported architectures.
2021-03-22Manually strip `libmullvad_jni.so`Janito Vaqueiro Ferreira Filho1-1/+9
2021-03-22Adjust build.sh and build-apk.sh to call version-metadata correctlyLinus Färnstrand1-2/+2
2020-11-23Fetch latest `api-ip-address.txt` file for AndroidJanito Vaqueiro Ferreira Filho1-0/+1
2020-09-08Allow build[-apk].sh to work even when release tag does not existLinus Färnstrand1-1/+1
2020-09-08Update build-apk.sh to handle release tags betterLinus Färnstrand1-3/+5
2020-06-09Fix updated file name of the generated bundleJanito Vaqueiro Ferreira Filho1-1/+1
2020-05-19Add flag to only configure Android versionJanito Vaqueiro Ferreira Filho1-2/+2
2020-05-19Don't use Docker for F-Droid buildJanito Vaqueiro Ferreira Filho1-1/+3
2020-05-19Detect gradle command to use for buildingJanito Vaqueiro Ferreira Filho1-3/+16
2020-05-19Add separate build type for F-Droid APKJanito Vaqueiro Ferreira Filho1-3/+12
2020-05-19Replace usage of `node` to get the product versionJanito Vaqueiro Ferreira Filho1-1/+1
2020-05-13Don't copy non-existant OpenSSL binaries for Android buildsLinus Färnstrand1-1/+0
2020-05-13Don't source env.sh for AndroidLinus Färnstrand1-1/+0
2020-03-30Update script to build Android App BundleJanito Vaqueiro Ferreira Filho1-11/+28
2020-03-19Fix usage of `version-metadata.sh` scriptJanito Vaqueiro Ferreira Filho1-2/+2
2020-02-13Fetch relay list when building Android APKJanito Vaqueiro Ferreira Filho1-0/+2