Commit 86a23e8a authored by Thomas Guillem's avatar Thomas Guillem

add an option to only build LibVLC

parent 22a4e01b
...@@ -17,6 +17,7 @@ while [ $# -gt 0 ]; do ...@@ -17,6 +17,7 @@ while [ $# -gt 0 ]; do
echo "Use -s to set your keystore file and -p for the password" echo "Use -s to set your keystore file and -p for the password"
echo "Use -t to get an AndroidTv build" echo "Use -t to get an AndroidTv build"
echo "Use -c to get a ChromeOS build" echo "Use -c to get a ChromeOS build"
echo "Use -l to build only LibVLC"
exit 0 exit 0
;; ;;
a|-a) a|-a)
...@@ -37,6 +38,10 @@ while [ $# -gt 0 ]; do ...@@ -37,6 +38,10 @@ while [ $# -gt 0 ]; do
PASSWORD_KEYSTORE=$2 PASSWORD_KEYSTORE=$2
shift shift
;; ;;
-l)
BUILD_LIBVLC=1
shift
;;
run) run)
RUN=1 RUN=1
;; ;;
...@@ -194,9 +199,14 @@ else ...@@ -194,9 +199,14 @@ else
GRADLE_ABI="ARMv7" GRADLE_ABI="ARMv7"
fi fi
TARGET="assemble${PLATFORM}${GRADLE_ABI}${BUILDTYPE}" if [ "$BUILD_LIBVLC" = 1 ];then
./gradlew -p libvlc assemble${BUILDTYPE}
PASSWORD_KEYSTORE="$PASSWORD_KEYSTORE" ./gradlew $TARGET RUN=0
CHROME_OS=0
else
TARGET="assemble${PLATFORM}${GRADLE_ABI}${BUILDTYPE}"
PASSWORD_KEYSTORE="$PASSWORD_KEYSTORE" ./gradlew $TARGET
fi
####### #######
# RUN # # RUN #
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment