Skip to content
Snippets Groups Projects
Commit be9b8d15 authored by Nicolas Pomepuy's avatar Nicolas Pomepuy
Browse files

Split notv builds into apks by arch

parent fc4a1c5d
No related branches found
No related tags found
1 merge request!1913No tv for stores with unacceptable demands 👀
Pipeline #480408 passed with stages
in 9 minutes and 6 seconds
......@@ -101,7 +101,7 @@ android {
gradle.startParameter.taskNames.find {
// Enable split for release builds in different build flavors
// (assemblePaidRelease, assembleFreeRelease, etc.).
if (it.toLowerCase() ==~ /assemble.*Release/.toLowerCase()) {
if (it.toLowerCase() ==~ /assemble.*Release/.toLowerCase() || it.toLowerCase() ==~ /assembleNoTv/.toLowerCase()) {
isReleaseBuild = true
return true // break
}
......
......@@ -345,10 +345,10 @@ if [ "$TEST" = 1 ]; then
BUILDTYPE="Debug"
elif [ "$SIGNED_RELEASE" = 1 ]; then
BUILDTYPE="signedRelease"
elif [ "$RELEASE" = 1 ]; then
BUILDTYPE="Release"
elif [ "$NO_TV" = 1 ]; then
BUILDTYPE="NoTv"
elif [ "$RELEASE" = 1 ]; then
BUILDTYPE="Release"
fi
if [ "$FORCE_VLC_4" = 1 ]; then
......@@ -375,6 +375,10 @@ else
TARGET="bundle${BUILDTYPE}"
GRADLE_VLC_SRC_DIRS="$GRADLE_VLC_SRC_DIRS" CLI="" GRADLE_ABI=$GRADLE_ABI ./gradlew ${gradle_prop} -Dmaven.repo.local=$M2_REPO $TARGET
fi
if [ "$BUILDTYPE" = "NoTv" -a "$ACTION" = "assemble" ]; then
TARGET="bundle${BUILDTYPE}"
GRADLE_VLC_SRC_DIRS="$GRADLE_VLC_SRC_DIRS" CLI="" GRADLE_ABI=$GRADLE_ABI ./gradlew ${gradle_prop} -Dmaven.repo.local=$M2_REPO $TARGET
fi
if [ "$TEST" = 1 ]; then
TARGET="application:vlc-android:install${BUILDTYPE}AndroidTest"
GRADLE_VLC_SRC_DIRS="$GRADLE_VLC_SRC_DIRS" CLI="" GRADLE_ABI=$GRADLE_ABI ./gradlew ${gradle_prop} -Dmaven.repo.local=$M2_REPO $TARGET
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment