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

Split notv builds into apks by arch

parent 1d26e340
No related branches found
No related tags found
No related merge requests found
Pipeline #480405 canceled with stages
in 1 minute and 39 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