From 052e4bb5823087ee1c7720bf33068583a3b86a02 Mon Sep 17 00:00:00 2001 From: Armin Novak Date: Wed, 25 Jan 2017 16:00:29 +0100 Subject: [PATCH] Added CCACHE support for android OpenH264 build. --- scripts/android-build-openh264.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scripts/android-build-openh264.sh b/scripts/android-build-openh264.sh index 78a08ab2c..e8ce674c8 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