Development around libVLC • Re: How can I build abi type all on 3.5.4 version



Hello, Rémi Denis-Courmont.
Thank you so much for your prompt reply.
Source Repository : git clone -b 3.5.4 https://code.videolan.org/videolan/vlc-android.git. or https://code.videolan.org/videolan/vlc- … _type=tags
if [ “$ANDROID_ABI” = “armeabi-v7a” -o “$ANDROID_ABI” = “arm” ]; then
ANDROID_ABI=”armeabi-v7a”
GRADLE_ABI=”ARMv7″
elif [ “$ANDROID_ABI” = “arm64-v8a” -o “$ANDROID_ABI” = “arm64” ]; then
ANDROID_ABI=”arm64-v8a”
GRADLE_ABI=”ARMv8″
elif [ “$ANDROID_ABI” = “x86” ]; then
GRADLE_ABI=”x86″
elif [ “$ANDROID_ABI” = “x86_64” ]; then
GRADLE_ABI=”x86_64″
else
diagnostic “Invalid arch specified: ‘$ANDROID_ABI’.”
diagnostic “Try –help for more information”
exit 1
fi

But, 3.4.3 version is included “all” option.

if [ “$ANDROID_ABI” = “armeabi-v7a” -o “$ANDROID_ABI” = “arm” ]; then
ANDROID_ABI=”armeabi-v7a”
GRADLE_ABI=”ARMv7″
elif [ “$ANDROID_ABI” = “arm64-v8a” -o “$ANDROID_ABI” = “arm64” ]; then
ANDROID_ABI=”arm64-v8a”
GRADLE_ABI=”ARMv8″
elif [ “$ANDROID_ABI” = “x86” ]; then
GRADLE_ABI=”x86″
elif [ “$ANDROID_ABI” = “x86_64” ]; then
GRADLE_ABI=”x86_64″
elif [ “$ANDROID_ABI” = “all” ]; then
GRADLE_ABI=”all”
else
diagnostic “Invalid arch specified: ‘$ANDROID_ABI’.”
diagnostic “Try –help for more information”
exit 1
fi

And, README.md file is included the multi ABI.
#### Build

`buildsystem/compile.sh -l -a <ABI>`

ABI can be `arm`, `arm64`, `x86`, `x86_64` or `all` for a multi-abis build

You can do a library release build with `-r` argument
================================================================================================================
Is there any way to build the libvlc-all-release.aar file?
I would like to build one aar file containing all architectures.
For example,
https://mvnrepository.com/artifact/org. … libvlc-all

Statistics: Posted by humbler — 28 May 2024 02:59