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

libvpx integration

This commit is contained in:
Anton Afanasyeu
2026-05-18 17:05:47 +02:00
parent 1dbfc996c2
commit bbf64d30b9
18 changed files with 636 additions and 37 deletions

View File

@@ -6,7 +6,7 @@
#
# Prerequisites:
# git submodule update --init third-party/libvpx
# Android NDK (ndk.dir in local.properties or ANDROID_NDK_HOME)
# Android NDK (auto-detected via scripts/android-ndk.sh)
#
# Usage:
# ./scripts/build-native-codecs.sh arm64-v8a
@@ -27,12 +27,12 @@ if [[ ! -d "$VPX_SRC_REAL" ]]; then
exit 1
fi
# shellcheck source=android_find_latest_ndk.sh
source "$ROOT/android_find_latest_ndk.sh"
if ! NDK="$(android_find_ndk_root "$ROOT")"; then
# shellcheck source=android-ndk.sh
source "$ROOT/scripts/android-ndk.sh"
if ! NDK="$(androidcast_find_ndk_root "$ROOT")"; then
exit 1
fi
NDK_HOST_BIN="$(android_ndk_host_prebuilt_bin "$NDK")"
NDK_HOST_BIN="$(androidcast_ndk_host_bin "$NDK")"
if [[ ! -d "$NDK_HOST_BIN" ]]; then
echo "ERROR: NDK host toolchain bin not found under $NDK"
exit 1