mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
build-system: update Android builder docker container
This adjusts the docker setup to create a container with the correct NDK, SDK, tools, Qt version, etc, and updates the helper scripts that are needed in order to do that. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
3071ea06f0
commit
cb4ccea3c2
3 changed files with 58 additions and 53 deletions
|
@ -2,10 +2,19 @@
|
|||
|
||||
# Use this to re-create a docker container for building Android binaries
|
||||
|
||||
# Google makes it intentionally very hard to download the command line tools
|
||||
# the URL is constantly changing and the website requires you to click through
|
||||
# a license.
|
||||
# Today this URL works:
|
||||
if [ ! -f commandlinetools-linux-6858069_latest.zip ] ; then
|
||||
wget https://dl.google.com/android/repository/commandlinetools-linux-6858069_latest.zip
|
||||
fi
|
||||
# if this fails, go to https://developer.android.com/studio#cmdline-tools and click through
|
||||
# for yourself...
|
||||
|
||||
# copy the dependency script into this folder
|
||||
cp ../../../packaging/android/android-build-wrapper.sh .
|
||||
cp ../../../packaging/android/android-build-setup.sh .
|
||||
cp ../../../packaging/android/variables.sh .
|
||||
cp ../../../packaging/android/install-qt.sh .
|
||||
|
||||
# create the container (this takes a while)
|
||||
sudo docker build -t android-builder --squash .
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue