[vlc-devel] [PATCH 0/6] Fix LibVLC 4 build for Android
ajanni at videolabs.io
Fri Nov 22 16:07:58 CET 2019
The following patchset is fixing some issues depending on the
environment, which arouse when building LibVLC 4 for Android on my
machine and MacOSX machines for example.
It fixes CMake toolchain to include the correct flags, and ensure we
have NEON optimization enabled for cmake contribs like soxr and aom.
I've tested the patches against all the Android architecture, but given
the compilation time it took, I cannot ensure I don't messed up
something in the process. However they all applied and compiled
atomically without build failure in my tests.
The final result is correctly building on every platform on the Gitlab
CI from ePirat repository.
Feel free to signal things that are unclear in the commit messages.
Alexandre Janniaux (6):
contrib: soxr: don't enforce CMAKE_SYSTEM_NAME on android
contrib: aom: cleanup build directory
contrib: aom: conditionnaly enable NEON and set AS_EXECUTABLE
contrib: aom: support android in the build
contrib: main: export ANDROID_API in CFLAGS
contrib: toolchain.cmake: enforce variables for android
contrib/src/aom/aom-cmake-android.patch | 51 +++++++++++++++++++++++++
contrib/src/aom/rules.mak | 15 +++++++-
contrib/src/main.mak | 30 +++++++++++++++
contrib/src/soxr/rules.mak | 3 ++
4 files changed, 98 insertions(+), 1 deletion(-)
create mode 100644 contrib/src/aom/aom-cmake-android.patch
More information about the vlc-devel