docker: cerbero: Add Android cross toolchain

This runs the cross-android-universal bootstrap. Note that we remove the
Android NDK source as it is no longer needed during builds.
This commit is contained in:
Nicolas Dufresne 2018-12-17 21:38:06 -05:00
parent b289400a04
commit fb5e6c2595

View file

@ -25,8 +25,12 @@ RUN git clone https://gitlab.freedesktop.org/gstreamer/cerbero.git && \
./cerbero-uninstalled -c localconf.cbc -c config/cross-win64.cbc fetch-bootstrap && \
./cerbero-uninstalled -c localconf.cbc -c config/cross-win64.cbc fetch-package gstreamer-1.0 && \
./cerbero-uninstalled -c localconf.cbc -c config/cross-win64.cbc bootstrap -y --system-only && \
./cerbero-uninstalled -c localconf.cbc -c config/cross-android-universal.cbc fetch-bootstrap && \
./cerbero-uninstalled -c localconf.cbc -c config/cross-android-universal.cbc fetch-package gstreamer-1.0 && \
./cerbero-uninstalled -c localconf.cbc -c config/cross-android-universal.cbc bootstrap -y --system-only && \
cd .. && \
rm /cerbero/cerbero-sources/android-ndk-*.zip && \
rm /cerbero/cerbero-sources/mingw-w*.tar.xz && \
rm -rf /cerbero/cerbero-build/{dist,logs,sources} && \
rm -f /cerbero/cerbero-build/{linux,windows}*.cache && \
rm -f /cerbero/cerbero-build/{linux,windows,android}*.cache && \
dnf clean all