mirror of
https://github.com/shadps4-emu/ext-cryptopp.git
synced 2024-11-24 02:19:41 +00:00
105f78495c
Fix Environment setup for android to match the new unified headers. Adjust the Makefile accordingly. Updated the test scripts and travis to test these changes.
18 lines
564 B
Bash
Executable File
18 lines
564 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
# install android deps
|
|
sudo apt-get -qq update
|
|
sudo apt-get -qq install --no-install-recommends openjdk-8-jdk unzip
|
|
|
|
# android skd/ndk
|
|
curl -Lo /tmp/android-sdk.zip https://dl.google.com/android/repository/sdk-tools-linux-3859397.zip
|
|
mkdir $HOME/android
|
|
unzip -qq /tmp/android-sdk.zip -d $HOME/android/sdk/
|
|
rm -f /tmp/android-sdk.zip
|
|
echo y | $HOME/android/sdk/tools/bin/sdkmanager --update > /dev/null
|
|
for package in "ndk-bundle"; do
|
|
echo install android $package
|
|
echo y | $HOME/android/sdk/tools/bin/sdkmanager "$package" > /dev/null
|
|
done
|