1
0
mirror of git://f0xx.org/android_cast synced 2026-07-29 05:17:39 +03:00

libvpx build opts exp

This commit is contained in:
Anton Afanasyeu
2026-05-18 14:43:14 +02:00
parent 7a07d6de1e
commit f547770288

View File

@@ -12,7 +12,7 @@
# Note: libvpx Makefiles do not support spaces in paths (SRC_PATH_BARE). If the repo
# path contains spaces, this script builds under /tmp and copies libvpx.a back.
#
set -euo pipefail
#set -euo pipefail
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
ABI="${1:-arm64-v8a}"
@@ -93,7 +93,19 @@ if [[ ! -f Makefile ]]; then
--enable-vp9 \
--enable-static \
--disable-shared \
--extra-cflags="-fPIC -O2"
--extra-cflags="-fPIC -O2" \
--enable-multi-res-encoding \
--enable-vp9-temporal-denoising \
--enable-onthefly-bitpacking \
--enable-error-concealment \
--enable-realtime-only \
--enable-postproc \
--enable-vp9-postproc \
--enable-multithread \
--enable-spatial-resampling \
--disable-debug-libs \
--disable-docs \
--enable-external-build
fi
make -j"$(nproc)" libvpx.a
cp -f libvpx.a "$OUT/libvpx.a"