2020-04-28 16:48:59 +00:00
|
|
|
#!/bin/sh
|
2024-07-01 12:57:18 +00:00
|
|
|
# Copyright 2018-2020, 2022, 2024 Collabora, Ltd. and the Monado contributors
|
2020-10-30 22:31:46 +00:00
|
|
|
# SPDX-License-Identifier: BSL-1.0
|
2022-01-20 23:49:11 +00:00
|
|
|
|
2024-07-01 12:57:18 +00:00
|
|
|
##
|
|
|
|
#######################################################
|
|
|
|
# GENERATED - DO NOT EDIT #
|
|
|
|
# see .gitlab-ci/install-ndk.sh.jinja instead #
|
|
|
|
#######################################################
|
|
|
|
##
|
|
|
|
|
|
|
|
# Partially inspired by https://about.gitlab.com/blog/2018/10/24/setting-up-gitlab-ci-for-android-projects/
|
|
|
|
|
|
|
|
VERSION=r26d
|
|
|
|
FN=android-ndk-${VERSION}-linux.zip
|
2020-04-28 16:48:59 +00:00
|
|
|
wget https://dl.google.com/android/repository/$FN
|
|
|
|
unzip $FN -d /opt
|
|
|
|
mv /opt/android-ndk-${VERSION} /opt/android-ndk
|