use vendored libyuv from dependencies (#37512)

* vendor libyuv from dependencies

* relock libyuv to latest vendor branch

* install cmake in macOS setup when missing

* lock

* unused?

* rm that

* no yuv for the larch
This commit is contained in:
Adeeb Shihadeh
2026-03-01 10:46:26 -08:00
committed by GitHub
parent 041606de4c
commit f9b5d1e9e5
36 changed files with 38 additions and 5330 deletions

View File

@@ -6,7 +6,7 @@
#include <utility>
#include "common/util.h"
#include "third_party/libyuv/include/libyuv.h"
#include "libyuv.h"
#include "tools/replay/py_downloader.h"
#include "tools/replay/util.h"
#include "system/hardware/hw.h"

View File

@@ -113,12 +113,24 @@ function install_python_deps() {
source .venv/bin/activate
}
function install_macos_deps() {
if ! command -v brew > /dev/null 2>&1; then
echo "homebrew not found, skipping macOS system dependency install"
return 0
fi
if ! command -v cmake > /dev/null 2>&1; then
brew install cmake
fi
}
# --- Main ---
if [[ "$OSTYPE" == "linux-gnu"* ]]; then
install_ubuntu_deps
echo "[ ] installed system dependencies t=$SECONDS"
elif [[ "$OSTYPE" == "darwin"* ]]; then
install_macos_deps
if [[ $SHELL == "/bin/zsh" ]]; then
RC_FILE="$HOME/.zshrc"
elif [[ $SHELL == "/bin/bash" ]]; then