[Android] buildsystem: compile.sh: Always clone VLC source if missing
Hugo Beauzée-Luyssen
git at videolan.org
Thu Jan 6 13:11:10 UTC 2022
vlc-android | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Fri Dec 10 13:53:21 2021 +0100| [fc9df14a9a043bbb07f0c17e78c74006d48a0ec6] | committer: Nicolas Pomepuy
buildsystem: compile.sh: Always clone VLC source if missing
> https://code.videolan.org/videolan/vlc-android/commit/fc9df14a9a043bbb07f0c17e78c74006d48a0ec6
---
buildsystem/compile.sh | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/buildsystem/compile.sh b/buildsystem/compile.sh
index ac02786dc..7fe5c0fdb 100755
--- a/buildsystem/compile.sh
+++ b/buildsystem/compile.sh
@@ -277,9 +277,6 @@ if [ ! -d "gradle/wrapper" ]; then
rm -rf gradle-${GRADLE_VERSION}-bin.zip
fi
-if [ "$GRADLE_SETUP" = 1 ]; then
- exit 0
-fi
####################
# Fetch VLC source #
####################
@@ -321,6 +318,12 @@ else
cd ..
fi
+# Always clone VLC when using --init since we'll need to package some files
+# during the final assembly (lua/hrtfs/..)
+if [ "$GRADLE_SETUP" = 1 ]; then
+ exit 0
+fi
+
############
# Make VLC #
############
More information about the Android
mailing list