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
echo "Use -s to set your keystore file and -p for the password"
echo "Use -t to get an AndroidTv build"
echo "Use -c to get a ChromeOS build"
echo "Use -l to build only LibVLC"
exit 0
;;
a|-a)
......@@ -37,6 +38,10 @@ while [ $# -gt 0 ]; do
PASSWORD_KEYSTORE=$2
shift
;;
-l)
BUILD_LIBVLC=1
shift
;;
run)
RUN=1
;;
......@@ -194,9 +199,14 @@ else
GRADLE_ABI="ARMv7"
fi
TARGET="assemble${PLATFORM}${GRADLE_ABI}${BUILDTYPE}"
PASSWORD_KEYSTORE="$PASSWORD_KEYSTORE" ./gradlew $TARGET
if [ "$BUILD_LIBVLC" = 1 ];then
./gradlew -p libvlc assemble${BUILDTYPE}
RUN=0
CHROME_OS=0
else
TARGET="assemble${PLATFORM}${GRADLE_ABI}${BUILDTYPE}"
PASSWORD_KEYSTORE="$PASSWORD_KEYSTORE" ./gradlew $TARGET
fi
#######
# 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