Skip to content

Commit 9909f8b

Browse files
author
Andras Fekete
committed
Bypass installation of tools
1 parent 5056824 commit 9909f8b

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

IDE/Android/build.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33
set -e
44
WORKSPACE=$(pwd)
55

6-
DEBIAN_FRONTEND=noninteractive apt update && apt install -y git make autoconf libtool android-tools-adb unzip wget
6+
AUTO_INSTALL_TOOLS=${AUTO_INSTALL_TOOLS:-true}
7+
if [ "${AUTO_INSTALL_TOOLS}" == "true" ]; then
8+
DEBIAN_FRONTEND=noninteractive apt update && apt install -y git make autoconf libtool android-tools-adb unzip wget
9+
fi
710

811
# https://developer.android.com/ndk/downloads/
912
export ANDROID_NDK_ROOT=${WORKSPACE}/android-ndk-r26b

0 commit comments

Comments
 (0)