mirror of
git://f0xx.org/android_cast
synced 2026-07-29 05:17:39 +03:00
libvpx integration
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user