From: Armin Novak Date: Wed, 25 Jan 2017 15:00:29 +0000 (+0100) Subject: Added CCACHE support for android OpenH264 build. X-Git-Tag: 2.0.0-beta1+android10~62^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=052e4bb5823087ee1c7720bf33068583a3b86a02;p=platform%2Fupstream%2Ffreerdp.git Added CCACHE support for android OpenH264 build. --- diff --git a/scripts/android-build-openh264.sh b/scripts/android-build-openh264.sh index 78a08ab..e8ce674 100755 --- a/scripts/android-build-openh264.sh +++ b/scripts/android-build-openh264.sh @@ -11,6 +11,12 @@ function build { PATH=$ANDROID_NDK:$PATH MAKE="make PATH=$PATH OS=android NDKROOT=$ANDROID_NDK TARGET=android-$2 NDKLEVEL=$2 ARCH=$1 -j libraries" common_run git clean -xdf + common_run export QUIET_AR="$CCACHE " + common_run export QUIET_ASM="$CCACHE " + common_run export QUIET_CC="$CCACHE " + common_run export QUIET_CCAR="$CCACHE " + common_run export QUIET_CXX="$CCACHE " + common_run $MAKE # Install creates a non optimal directory layout, fix that common_run $MAKE PREFIX=$BUILD_SRC/libs/$1 install