mirror of
https://github.com/webmproject/libwebp.git
synced 2025-07-13 06:24:27 +02:00
Jenkins scripts port: android compilation
Port script from https://build.webmproject.org/jenkins/job/libwebp__compile_android/ Change-Id: I4b3f7f15990b5c92971ec5faccc82dca815f92d2 Bug: b:185520507 Change-Id: Ic07f8191db7726e459ee56c04bf6e3776b30b1f7
This commit is contained in:
@ -47,3 +47,13 @@ make_build_dir() {
|
||||
rm -rf "${build_dir}"
|
||||
mkdir -p "${build_dir}"
|
||||
}
|
||||
|
||||
#######################################
|
||||
# Setup ccache for toolchain.
|
||||
#######################################
|
||||
setup_ccache() {
|
||||
if [[ -x "$(command -v ccache)" ]]; then
|
||||
export CCACHE_CPP2=yes
|
||||
export PATH="/usr/lib/ccache:${PATH}"
|
||||
fi
|
||||
}
|
||||
|
Reference in New Issue
Block a user