mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-16 12:10:29 +03:00
all: add NDK r12b and set it as default
This commit is contained in:
parent
0f708f367c
commit
82d09560c6
9 changed files with 23 additions and 8 deletions
|
|
@ -2,6 +2,7 @@ sdk_path = "/home/vagrant/android-sdk"
|
|||
ndk_paths = {
|
||||
'r9b': "/home/vagrant/android-ndk/r9b",
|
||||
'r10e': "/home/vagrant/android-ndk/r10e",
|
||||
'r12b': "/home/vagrant/android-ndk/r12b",
|
||||
}
|
||||
java_paths = {
|
||||
'8': "/usr/lib/jvm/java-8-openjdk-i386",
|
||||
|
|
|
|||
|
|
@ -30,5 +30,15 @@ if [ ! -e $NDK_BASE/r10e ]; then
|
|||
mv android-ndk-r10e r10e
|
||||
fi
|
||||
|
||||
if [ ! -e $NDK_BASE/r12b ]; then
|
||||
if [ `uname -m` == 'x86_64' ] ; then
|
||||
SUFFIX='_64'
|
||||
else
|
||||
SUFFIX=''
|
||||
fi
|
||||
7zr x /vagrant/cache/android-ndk-r12b-linux-x86$SUFFIX.bin > /dev/null
|
||||
mv android-ndk-r12b r12b
|
||||
fi
|
||||
|
||||
chmod -R a+rX $NDK_BASE/
|
||||
find $NDK_BASE/ -type f -executable -print0 | xargs -0 chmod a+x
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue