[Android] buildsystem: pass the libraires project dir with the full option name

Steve Lhomme git at videolan.org
Mon Jun 16 13:47:41 UTC 2025


vlc-android | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Thu Jun 12 13:58:37 2025 +0200| [6fbd94b7fe98da02f5e444cbfe539df159d490de] | committer: Duncan McNamara

buildsystem: pass the libraires project dir with the full option name

This is straightforward to read.

> https://code.videolan.org/videolan/vlc-android/commit/6fbd94b7fe98da02f5e444cbfe539df159d490de
---

 buildsystem/compile.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/buildsystem/compile.sh b/buildsystem/compile.sh
index b9bf2aebe1..60b35b4adf 100755
--- a/buildsystem/compile.sh
+++ b/buildsystem/compile.sh
@@ -383,11 +383,11 @@ if [ -n "$M2_REPO" ]; then
 fi
 
 if [ "$BUILD_LIBVLC" = 1 ];then
-    GRADLE_ABI=$GRADLE_ABI ./gradlew ${gradle_prop} -p ${VLC_LIBJNI_PATH}/libvlc $TARGET
+    GRADLE_ABI=$GRADLE_ABI ./gradlew ${gradle_prop} --project-dir ${VLC_LIBJNI_PATH}/libvlc $TARGET
     RUN=0
 elif [ "$BUILD_MEDIALIB" = 1 ]; then
     gradle_prop="$gradle_prop -PvlcLibVariant=$GRADLE_ABI"
-    ./gradlew ${gradle_prop} -p medialibrary $TARGET
+    ./gradlew ${gradle_prop} --project-dir medialibrary $TARGET
     RUN=0
 else
     ./gradlew ${gradle_prop} $TARGET



More information about the Android mailing list