Skip to content

Commit

Permalink
Merge pull request #4746 from talregev/TalR/createNDKFolder_less_quiter
Browse files Browse the repository at this point in the history
[CI] Make createNDKFolder less quite
  • Loading branch information
AenBleidd authored May 18, 2022
2 parents c4c47de + 003e6f2 commit df1458f
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions android/ndk_common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,22 @@ export NDK_ARMV6_ROOT=$BUILD_DIR/android-ndk-r${NDK_ARMV6_VERSION}

createNDKFolder()
{
ndk_filename=android-ndk-r${NDK_VERSION}-linux-x86_64.zip
rm -rf "$BUILD_DIR/android-ndk-r${NDK_VERSION}"
wget -c --no-verbose -O /tmp/ndk_${NDK_VERSION}.zip https://dl.google.com/android/repository/android-ndk-r${NDK_VERSION}-linux-x86_64.zip
unzip -qq /tmp/ndk_${NDK_VERSION}.zip -d $BUILD_DIR
echo Downloading $ndk_filename
wget -c --no-verbose -O /tmp/$ndk_filename https://dl.google.com/android/repository/$ndk_filename
echo Extracting $ndk_filename
unzip -qq /tmp/$ndk_filename -d $BUILD_DIR
echo Finished extracting of $ndk_filename
}

createNDKARMV6Folder()
{
ndk_filename="android-ndk-r${NDK_ARMV6_VERSION}-linux-x86_64.zip"
rm -rf "$BUILD_DIR/android-ndk-r${NDK_ARMV6_VERSION}"
wget -c --no-verbose -O /tmp/ndk_armv6_${NDK_ARMV6_VERSION}.zip https://dl.google.com/android/repository/android-ndk-r${NDK_ARMV6_VERSION}-linux-x86_64.zip
unzip -qq /tmp/ndk_armv6_${NDK_ARMV6_VERSION}.zip -d $BUILD_DIR
echo Downloading $ndk_filename
wget -c --no-verbose -O /tmp/$ndk_filename https://dl.google.com/android/repository/$ndk_filename
echo Extracting $ndk_filename
unzip -qq /tmp/$ndk_filename -d $BUILD_DIR
echo Finished extracting of $ndk_filename
}

0 comments on commit df1458f

Please sign in to comment.