[Android] buildsystem: allow passing all medialibrary configuration options as flags

Steve Lhomme git at videolan.org
Tue Jun 24 09:00:29 UTC 2025


vlc-android | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Fri Jun 13 07:16:07 2025 +0200| [639d63516b1c70ccc5ac8951b3e8f4dc77575230] | committer: Steve Lhomme

buildsystem: allow passing all medialibrary configuration options as flags

> https://code.videolan.org/videolan/vlc-android/commit/639d63516b1c70ccc5ac8951b3e8f4dc77575230
---

 buildsystem/compile-medialibrary.sh | 4 ++++
 buildsystem/compile.sh              | 1 +
 2 files changed, 5 insertions(+)

diff --git a/buildsystem/compile-medialibrary.sh b/buildsystem/compile-medialibrary.sh
index a2e7812b9f..255467d237 100755
--- a/buildsystem/compile-medialibrary.sh
+++ b/buildsystem/compile-medialibrary.sh
@@ -13,6 +13,7 @@ while [ $# -gt 0 ]; do
   help | --help)
     echo "Use -a to set the ARCH"
     echo "Use --release to build in release mode"
+    echo "Use --reset to reset code from git"
     exit 1
     ;;
   a | -a)
@@ -22,6 +23,9 @@ while [ $# -gt 0 ]; do
   release | --release)
     RELEASE=1
     ;;
+  reset | --reset)
+    RESET=1
+    ;;
   esac
   shift
 done
diff --git a/buildsystem/compile.sh b/buildsystem/compile.sh
index 7dde91d3cf..75c190a13e 100755
--- a/buildsystem/compile.sh
+++ b/buildsystem/compile.sh
@@ -32,6 +32,7 @@ while [ $# -gt 0 ]; do
             echo "  X86:     x86, x86_64"
             echo "Use --release to build in release mode"
             echo "Use --signrelease to build in release mode and sign apk, see vlc-android/build.gradle"
+            echo "Use --reset to reset code from git"
             echo "Use -s to set your keystore file and -p for the password"
             echo "Use -c to get a ChromeOS build"
             echo "Use -l to build only LibVLC"



More information about the Android mailing list